To be moved in Gnoverse
This is the code present in https://github.com/gnolang/gno/pull/4577/files.
This folder contains self‑contained example snippets referenced in the docs/resources/indexing-gno.md guide. They illustrate how to:
- Start and interact with the official
tx-indexer(GraphQL + JSON-RPC) - Query
BankMsgSend(GNOT transfer) transactions via GraphQL - Parse transaction JSON into typed Go structs (idiomatic
json.Unmarshalusage) - Sort and display largest transfers
- Subscribe to real‑time transactions over GraphQL WebSocket
- Expose a minimal HTTP stats endpoint
- Persist transactions with SQLite (demo persistence layer)
Use these snippets as a learning aid or a starting point for building dashboards, analytics pipelines, or monitoring tools on top of Gno.land.
- Main guide:
docs/resources/indexing-gno.md - Upstream project: https://github.com/gnolang/tx-indexer