Skip to content

Uniswap/v3-subgraph

Repository files navigation

Uniswap V3 and V3-Tokens Subgraph

Development

  1. Install dependencies yarn install

  2. Build a v3 subgraph yarn build --network <network> --subgraph-type v3

  3. Deploy a v3 subgraph yarn build --network <network> --subgraph-type v3 --deploy

  4. Build a v3-tokens subgraph yarn build --network <network> --subgraph-type v3-tokens

  5. 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.