yarn deploy-<network>
command:<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.yaml
file corresponding to your network:<DESIRED_NETWORK>
by one of the available networks (see package.json).build
command, which will generate the types and compile the subgraph:graph-node/docker/docker-compose.yml
to make the ethereum
field 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 data
directory: remember to delete it if you want to start again.govern-core
package.manifest
folder 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.yaml
file, which moustache will take as template, and create the actual subgraph.yaml
file needed for deployment.Executed
Frozen
Granted
Revoked
ETHDeposited
Configured
Frozen
Granted
Scheduled
Executed
Challenged
Vetoed
Resolved
Revoked
Ruled
Registered
SetMetadata