Hi! I wanted to share a related proposal, adding functionality to graph-cli
:
- Add an easy
networks.json
standard for updating the contract addresses & network for a subgraph as part ofgraph build
- e.g. during local development, or when deploying the same subgraph to multiple networks
- Let developers
graph add
dataSources to a subgraph programmatically (based on deployed contracts), in the same way they can currently usegraph init
More detailed write up:
These interfaces will be useful for development of a Hardhat graph plugin. Feedback welcome!