Hardhat graph plugin

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 of graph 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 use graph init

More detailed write up:

These interfaces will be useful for development of a Hardhat graph plugin. Feedback welcome!

2 Likes