Integrate Nibiru Chain with subgraph support via SubQuery or TheGraph #2066
Labels
ecosytem-tools
Tooling or infrastructure with clear demand from applications or end users of Nibiru
S-triage
Status: This issue is waiting on initial triage. More Info: https://tinyurl.com/25uty9w5
Purpose
Use a subgraph provider to enable developers to index Nibiru data on the EVM and
create their own subgraphs. This depends on the Ethereum JSON-RPC interface that
Nibiru implements.
2024-10-31-subquery-nibiru-video.mp4
Activity Log and Task List
Nibiru's public testnet.
SubQuery Resources
Background Context
Initially, when this GitHub issue was created, we were evaluating the tradeoffs
between SubQuery and TheGraph:
Note that we decided to use SubQuery. I'll leave the notes for the integration
with the TheGraph here for later reference.
[Scope / Tasks for The Graph]
Verify Nibiru's JSON-RPC implementation supports required methods:
Reach out to The Graph team to discuss official support and potential inclusion in their documentation. Our team is already connected on Telegram, so we can contact them pretty easily.
Set up a local Graph Node environment:
Create and deploy a test subgraph:
Verify indexing and querying:
Document the integration process and any Nibiru-specific considerations
Other Notes on TheGraph integration
Note: While a Firehose integration offers performance benefits, it's not required for EVM chains. We can start with the JSON-RPC integration and consider Firehose as a future enhancement.
The text was updated successfully, but these errors were encountered: