Skip to content

mitosis-org/v3-subgraph

This branch is 6 commits behind Uniswap/v3-subgraph:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1394f59 · Jul 11, 2024
May 29, 2024
Jun 3, 2020
Mar 27, 2024
Jul 11, 2024
Jun 21, 2024
May 29, 2024
May 29, 2024
May 29, 2024
May 29, 2024
Apr 23, 2020
Jun 21, 2024
Jul 11, 2024
May 29, 2024
Jun 21, 2024
Jul 11, 2024
Apr 2, 2024
May 29, 2024

Repository files navigation

Uniswap V3 Subgraph

Subgraph Endpoint

Synced at: https://thegraph.com/hosted-service/subgraph/ianlapham/uniswap-v3-subgraph?selected=playground

Pending Changes at same URL

Running Unit Tests

  1. Install Docker if you don't have it already
  2. Install postgres: brew install postgresql
  3. yarn run build:docker
  4. yarn run test

Adding New Chains

  1. Create a new subgraph config in src/utils/chains.ts. This will require adding a new <NETWORK_NAME>_NETWORK_NAME const for the corresponding network.
  2. Add a new entry in networks.json for the new chain. The network name should be derived from the CLI Name in The Graph's supported networks documenation. The factory address can be derived from Uniswap's deployments documentation.
  3. To deploy to Alchemy, run the following command:
yarn run deploy:alchemy --
  <SUBGRAPH_NAME>
  --version-label <VERSION_LABEL>
  --deploy-key <DEPLOYMENT_KEY>
  --network <NETWORK_NAME>

About

Subgraph for Uniswap V3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.0%
  • Other 1.0%