-
Install dependencies
yarn install -
Build a v2 subgraph
yarn build --network <network>
Note: Deployments will fail if there are uncommitted changes in the subgraph. Please commit your changes before deploying.
see the how to add doc for instructions
Much of the implementation was inspired by Uniswap v3 Subgraph.