https://github.com/Uniswap/v2-subgraph
Uniswap V2 subgraph ๐
https://github.com/Uniswap/v2-subgraph
Last synced: 2 days ago
JSON representation
Uniswap V2 subgraph ๐
- Host: GitHub
- URL: https://github.com/Uniswap/v2-subgraph
- Owner: Uniswap
- License: gpl-3.0
- Created: 2020-01-28T18:48:44.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-24T19:57:41.000Z (16 days ago)
- Last Synced: 2025-04-24T20:24:46.389Z (16 days ago)
- Language: TypeScript
- Homepage: https://thegraph.com/explorer/subgraph/uniswap/uniswap-v2
- Size: 746 KB
- Stars: 422
- Watchers: 22
- Forks: 779
- Open Issues: 67
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-uniswap - Uniswap V2 Subgraph
- best-of-crypto - GitHub - 54% open ยท โฑ๏ธ 23.04.2024): (Automated Market Maker (AMM))
README
# Uniswap V2 and V2-Tokens Subgraph
## Development
1. Install dependencies
`yarn install`2. Build a v2 subgraph
`yarn build --network --subgraph-type v2`3. Deploy a v2 subgraph
`yarn build --network --subgraph-type v2 --deploy`4. Build a v2-tokens subgraph
`yarn build --network --subgraph-type v2-tokens`5. Deploy a v2-tokens subgraph
`yarn build --network --subgraph-type v2-tokens --deploy`Note: Deployments will fail if there are uncommitted changes in the subgraph. Please commit your changes before deploying.