The Graph is an indexing protocol for organizing blockchain data and making it easily accessible with GraphQL.
Findora Graph
Findora Network has hosted a Graph Node server to empower developers to build dApps on the Findora chain. Subgraphs can be deployed and updated using a pull request here (see below for instructions).
Graph node is an opensource Rust implementation that indexes the blockchain to deterministically update a datastore that can be queried via the GraphQL endpoint.
Check out the Graph Node Getting Started Guide for detailed instructions and more context.
How to create and test your subgraph locally
This example will walk you through the steps to create a new subgraph and test it on a local node on your machine.
$ cp -r FindoraNetwork <github-handle> && cd $_
## Edit `authors.json`
#
# Those PRs edit the directory contents but not in the author's list (authors.json) wouldn't be accepted!
$ mv example-subgraph <subgraph-name> && cd $_
## Edit subgraph settings in `subgraph.yaml`
#
# * dataSources.name must rename to your directory name to avoid naming collision
## Edit your graph relations in `schema.graphql` and mapping scripts.