<GRAPH_KEY>: The Graph key (this is only needed when deploying on The Graph).
<THEGRAPH_USERNAME>: username of your subgraph (usually your GitHub username).
<SUBGRAPH_NAME>: name of the subgraph.
<DESIRED_NETWORK>: one of the available networks (see package.json).
subgraph.yamlfile corresponding to your network:
<DESIRED_NETWORK>by one of the available networks (see package.json).
buildcommand, which will generate the types and compile the subgraph:
graph-node/docker/docker-compose.ymlto make the
ethereumfield point to the Ethereum node of your choice. Make sure this node is connected to the same Ethereum network than the one expected by your subgraph.
packages/govern-subgraph), and create the subgraph on your local node:
docker-compose down. It will also create a
datadirectory: remember to delete it if you want to start again.
manifestfolder contains both the data needed for filling the addresses for these environments (located inside the
data) folder, and the templates needed for auto-filling the actual structure for the yaml files that define the contract entities. These all get funneled into the
subgraph.template.yamlfile, which moustache will take as template, and create the actual
subgraph.yamlfile needed for deployment.