mirror of
https://github.com/luxfi/indexer.git
synced 2026-09-24 00:25:37 +00:00
The primary-network chains answer to either case; one spelling beats two. /v1/chain/c/rpc, /v1/chain/p, /v1/chain/x across the estate. Co-authored-by: Hanzo Dev <[email protected]>
43 lines
1.4 KiB
YAML
43 lines
1.4 KiB
YAML
# Lux EVM Chains Indexer Configuration
|
|
# Runs all 5 Lux mainnet EVM chains in a single process.
|
|
# Each chain gets its own explorer API on a dedicated port.
|
|
# All chains share one PostgreSQL database with table prefixes.
|
|
|
|
database_url: "${DATABASE_URL:-postgres://indexer:[email protected]:5432/indexer?sslmode=disable}"
|
|
|
|
chains:
|
|
- slug: cchain
|
|
name: "Lux C-Chain"
|
|
chain_id: 96369
|
|
port: 4000
|
|
rpc: "${CCHAIN_RPC:-http://luxd-headless.lux-mainnet.svc:9630/v1/chain/c/rpc}"
|
|
enabled: true
|
|
|
|
- slug: zoo
|
|
name: "Zoo"
|
|
chain_id: 200200
|
|
port: 5000
|
|
rpc: "${ZOO_RPC:-http://luxd-headless.lux-mainnet.svc:9630/v1/chain/2m7XTBQ1knXzpTd5tD5mKhBoBGfYzLjgWCy4UPBZFrJwJi9PDn/rpc}"
|
|
enabled: true
|
|
|
|
- slug: hanzo
|
|
name: "Hanzo"
|
|
chain_id: 36963
|
|
port: 5100
|
|
rpc: "${HANZO_RPC:-http://luxd-headless.lux-mainnet.svc:9630/v1/chain/2qGPCad983bniHe6MxKYcHqhGnATAYnY78TiDVSmjGFfmUpoAq/rpc}"
|
|
enabled: true
|
|
|
|
- slug: spc
|
|
name: "SPC"
|
|
chain_id: 36911
|
|
port: 5200
|
|
rpc: "${SPC_RPC:-http://luxd-headless.lux-mainnet.svc:9630/v1/chain/2GWgFPEeVAoivJdbBfJrmY2DDtn8TCSV7R7diwqVbMDhPkSiYn/rpc}"
|
|
enabled: true
|
|
|
|
- slug: pars
|
|
name: "Pars"
|
|
chain_id: 494949
|
|
port: 5300
|
|
rpc: "${PARS_RPC:-http://luxd-headless.lux-mainnet.svc:9630/v1/chain/2ouFvjHhVc3qX3wJNBMERvrE9fHBPf3dQd6n1fyxNyhwi52YhY/rpc}"
|
|
enabled: true
|