An example Subgraph initially forked from The Graph example subgraph. Created by PureStake to monitor the Chainbridge bridges on Moonbeam.
Install the node dependencies using yarn
:
yarn
Create the TS types for The Graph (requires the artifacts
folder):
yarn codegen
Follow the TheGraph official documentation using the graph-cli
.
For more information see The Graph docs on https://thegraph.com/docs/. Or the Moonbeam docs on https://docs.moonbeam.network/.