Subgraph to track status of grants' on both Mainnet and Ropsten networks.
Live versions:
- Copy
.envrc.example
to.envrc
. - Set your The Graph
ACCESS_TOKEN
. - Set network environment variables:
Ropsten:
NETWORK="ropsten"
GRAPH_PATH="milkyklim/keep-network-ropsten"
Mainnet:
NETWORK="mainnet"
GRAPH_PATH="milkyklim/keep-network"
yarn
– install dependenciesyarn prepare:network
- generatesubgraph.yaml
for specific networkyarn codegen
– generate codeyarn create
– allocate subgraph name in Graph Nodeyarn deploy
- deploy supgraph to Graph Nodeyarn publish-graph
– run all steps in one command