mirror of
https://github.com/luxfi/uni-v3-subgraph.git
synced 2026-10-30 15:14:19 +00:00
main
Two thousand and twenty-one packages carried more than one spec across this estate — eslint alone in a hundred and four forms — and a package resolved twice is two copies at run time, which is how react-hook-form came to report "two different types with this name" from files nobody had edited. None do now. The number lives in the catalog: a manifest names the package, the workspace names the version. Where a manifest cannot reach a catalog it still carries the one version, because the table is the source either way. Co-authored-by: Hanzo Dev <[email protected]>
Uniswap V3 Subgraph
Subgraph Endpoint
Synced at: https://graph.lux.network/subgraphs/name/lux/uniswap-v3?selected=playground
Pending Changes at same URL
Running Unit Tests
- Install Docker if you don't have it already
- Install postgres:
brew install postgresql yarn run build:dockeryarn run test
Adding New Chains
- Create a new subgraph config in
src/utils/chains.ts. This will require adding a new<NETWORK_NAME>_NETWORK_NAMEconst for the corresponding network. - Add a new entry in
networks.jsonfor 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. - 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>
Languages
TypeScript
99.9%
Dockerfile
0.1%