- Install packages with
yarn
- Update contract details in the
config
folder - Authenticate with
yarn graph auth https://api.thegraph.com/deploy/ <access-token>
- Deploy with
yarn deploy:<network>
Note: For the networks whose subgraph deployed to Alchemy (which is currently Base), step 3 above should be skipped, and it will be necessary to create a .env file with the following content, to authenticate access to that subgraph:
BASE_DEPLOY_KEY=<access-token>
You can copy the .env.example file and replace the placeholder with the actual access token.