CI/CD / render (push) Waiting to run
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 AI <[email protected]>
94 lines
2.4 KiB
YAML
94 lines
2.4 KiB
YAML
# chains.yaml — the config the running explorer actually uses on Spark.
|
|
#
|
|
# This is luxfi/explorer, ONE Go binary serving every chain from a per-chain
|
|
# SQLite file and branding per chain, so explorer.lux.network and
|
|
# explorer.zoo.network are the same origin. It is NOT the Next.js frontend
|
|
# configured in k8s/lux-explorer/configmap-chains.yaml — that is the older
|
|
# DO-era stack, and its RPC URLs still carry the dead /v1/chain/<id>/rpc form.
|
|
#
|
|
# RPC endpoints are /v1/chain/<alias>/rpc against the local luxd fleet.
|
|
# Paths below are Spark-local; the file is tracked so the running explorer is
|
|
# reproducible rather than surviving only in an untracked build directory.
|
|
#
|
|
# Note the explorer does NOT expand ${VAR:-default}; a literal URL is required
|
|
# or the chain is silently skipped at startup ("rpc required for chain").
|
|
data_dir: /home/z/lux-build/explorer/data
|
|
http_addr: :8090
|
|
|
|
brand_default:
|
|
name: Lux Explorer
|
|
coin: LUX
|
|
accent_color: "#5cf"
|
|
icon_url: /icon.svg
|
|
logo_url: /logo.svg
|
|
|
|
networks:
|
|
- label: Mainnet
|
|
domain: explorer.lux.network
|
|
chain_id: 96369
|
|
- label: Testnet
|
|
domain: testnet.explorer.lux.network
|
|
chain_id: 96368
|
|
|
|
chains:
|
|
- slug: cchain
|
|
name: Lux C-Chain
|
|
chain_id: 96369
|
|
type: evm
|
|
rpc: http://127.0.0.1:9630/v1/chain/c/rpc
|
|
coin: LUX
|
|
enabled: true
|
|
default: true
|
|
indexer: { poll_interval: 10s }
|
|
graph:
|
|
enabled: true
|
|
subgraphs:
|
|
- { name: amm, schema: amm, enabled: true }
|
|
brand:
|
|
name: Lux C-Chain
|
|
coin: LUX
|
|
accent_color: "#5cf"
|
|
|
|
- slug: cchain-testnet
|
|
name: Lux C-Chain Testnet
|
|
chain_id: 96368
|
|
type: evm
|
|
rpc: http://127.0.0.1:9640/v1/chain/c/rpc
|
|
coin: LUX
|
|
enabled: true
|
|
indexer: { poll_interval: 30s }
|
|
brand:
|
|
name: Lux C-Chain Testnet
|
|
coin: LUX
|
|
accent_color: "#5cf"
|
|
|
|
- slug: zoo
|
|
name: Zoo
|
|
chain_id: 200200
|
|
type: evm
|
|
rpc: http://127.0.0.1:9650/v1/chain/c/rpc
|
|
coin: ZOO
|
|
enabled: true
|
|
indexer: { poll_interval: 10s }
|
|
graph:
|
|
enabled: true
|
|
subgraphs:
|
|
- { name: amm, schema: amm, enabled: true }
|
|
brand:
|
|
name: Zoo
|
|
coin: ZOO
|
|
accent_color: "#7c3aed"
|
|
|
|
- slug: zoo-testnet
|
|
name: Zoo Testnet
|
|
chain_id: 200201
|
|
type: evm
|
|
rpc: http://127.0.0.1:9660/v1/chain/c/rpc
|
|
coin: ZOO
|
|
enabled: true
|
|
indexer: { poll_interval: 30s }
|
|
brand:
|
|
name: Zoo Testnet
|
|
coin: ZOO
|
|
accent_color: "#7c3aed"
|