SDKs

Chifra serve provides an API interface to the chifra command line. As part of this functionality, we’ve written two SDKs for Python and TypeScript to make using the API easier. We welcome contributions for other SDKs.

The GoLang SDK is different. Unlike the other SDKs, the GoLang SDK does not require you to run the API server. This has very significant performance implications because there is no serialization of the data. In the server case, the code must read the data from the RPC (or the local binary cache), turn it into a JSON string, and send it to the TypeScript or Python SDK.

In the GoLang SDK, the data is in memory ready for use directly from disc. No strinification. This makes the GoLang SDK as fast as it can possbily be.

The two API-releated SDKs are the TypeScript SDK and the Python SDK.

The GoLang SDKs is here GoLang SDK.

Here’s the SDKs repo.

Edit this page on GitHub