Subgraph for Decentralized Grants
$ yarn
git clone https://github.com/graphprotocol/graph-node/ cd graph-node/docker ./setup.sh docker-compose up
- Determine the contract address and update it in
subgraph.yaml - Generate the types
$ yarn codegen - Allocate the subgraph name in the Graph Node
$ yarn create-local - Deploy the subgraph to local graph node
$ yarn deploy-local