-
Install dependencies
yarn install
-
Build a v2 subgraph
yarn build --network <network> --subgraph-type v2
-
Deploy a v2 subgraph
yarn build --network <network> --subgraph-type v2 --deploy
-
Build a v2-tokens subgraph
yarn build --network <network> --subgraph-type v2-tokens
-
Deploy a v2-tokens subgraph
yarn build --network <network> --subgraph-type v2-tokens --deploy
Note: Deployments will fail if there are uncommitted changes in the subgraph. Please commit your changes before deploying.