zeekayandHanzo Dev 991fbb3053 fix(manifest): network is lux, not a foreign white-label name
getSubgraphConfig() keys off dataSource.network() and only knows
'lux' (chainId 96369) — with any other value the Factory handler
throws "Unsupported network" on the first PoolCreated and the
deployment never indexes a single pool. The Lux config (V3 factory
0x80bBc7C4…, WLUX, LUSD/USDC/USDT stablecoins, the WLUX/LUSD price
pool) has been correct in chains.ts all along; only the manifest's
network label was wrong, so this subgraph could never run.

Also drops a white-label brand name that must never appear in a
luxfi repo.

Deployed as luxfi/amm-v3 on graph-node in lux-mainnet; indexes 27
live V3 pools with $3.0M TVL.

Co-authored-by: Hanzo Dev <dev@hanzo.ai>
2026-07-26 18:59:33 -07:00
2026-06-28 20:54:06 -07:00
2024-03-27 15:50:31 -04:00
2026-03-03 10:32:42 -08:00
2024-11-22 12:25:27 +00:00
2020-04-23 13:38:27 -04:00
2024-11-07 10:44:12 +00:00
2026-03-12 16:14:36 -07:00
2024-11-22 12:25:27 +00:00
2026-06-28 20:54:07 -07:00

uni-v3-subgraph

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

  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>
S
Description
Subgraph for Uniswap V3
Readme GPL-3.0
3.1 MiB
Languages
TypeScript 99.9%
Dockerfile 0.1%