Summary
dApps often interact with off-chain services (usually indexers) to retrieve historic chain state. This utility class will serve as foundation for building those query clients.
Goals
- Provide basic functionalities for conveniently create query clients for services do not support protobuf.
- Will be extended by Hydrogen and Insights clients.
- Primary problem this wrapper should solve is how to easily add query endpoints and register types.
Non-goals
- Create elaborate http handlers like axios, we can use a library for that.
Tasks
Create fetch client factory:
Create clients:
References
Previous iterations of query clients:
Summary
dApps often interact with off-chain services (usually indexers) to retrieve historic chain state. This utility class will serve as foundation for building those query clients.
Goals
Non-goals
Tasks
Create fetch client factory:
@demex-sdk/coreREADME.mdCreate clients:
References
Previous iterations of query clients: