docker-compose up -d
yarn
yarn codegen
yarn build
yarn create-local
yarn deploy-local
git clone https://github.com/graphprotocol/graph-node
docker-compose up -d
- Spin up local node
cargo run -p graph-node --release -- \ --postgres-url postgresql:https://graph-node:let-me-in@localhost:5432/graph-node \ --ethereum-rpc matic:full:https://polygon-mainnet.infura.io/v3/{key} \ --ipfs 127.0.0.1:5001
- yarn deploy:fork
Ref: https://thegraph.com/docs/en/cookbook/subgraph-debug-forking/
yarn auth
and paste your token.yarn deploy