metaDAOproject/futarchy-sdk

Indexer implementation of FutarchyClient interface

Closed this issue · 3 comments

Implement this interface https://github.com/metaDAOproject/futarchy-ts/blob/main/lib/client/client.ts
such that it gets data from indexer. Also, does the interface need extra methods for orderbook and trade history?

I recommend extension of the RPC API implementation

See #23 as well as we'd like to subscribe and receive updated information on change.

@R-K-H do we want to mark this as done since the frontend is currently using the indexer implementation in staging? It just uses a lot of RPC still underneath, but those should be new tasks I think.

Okay so yes, but let's stub out another ticket specifically addressing the remaining functions #43 I've added this for now, but will review with ya'll to update it.