๐๏ธ MANTRA DAO subgraph ๐'
npm install -g @graphprotocol/graph-cli
graph init
// You can specify chain / contract address and it will pull its ABI into the repo
yarn codegen
graph deploy \
--debug
--node https://api.thegraph.com/deploy/
--ipfs https://api.thegraph.com/ipfs/
--access-token
/
Note:
To speed up syncing, you can specify a block height in subgraph.yaml