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