wshbair / uniswap-v3-subgraph

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uniswap V3 Staker Subgraph

Subgraph to be used by the UNI V3 Staker Frontend.

Examples

Deployment

  1. Create a new subgraph at https://thegraph.com/explorer/subgraph/create. You might want to create an additional one for other testnets e.g. rinkeby
  2. Update package.json and Makefile to match the created subgraphs.
  3. Ran yarn to install node packages.
  4. Deploy e.g. to mainent with make mainnet
  5. Visit the subgraphs and verify no errors in indexing.

Commands

npm run deploy-local npm run deploy graph create --node http://localhost:8020/ wshbair/uniswap-v3-subgraph yarn codegen

TODO

  • Fix fetchTokenTotalSupply function in token.ts

About

License:MIT License


Languages

Language:TypeScript 99.9%Language:Makefile 0.1%