mirror of
https://github.com/luxfi/explore.git
synced 2026-07-27 03:13:50 +00:00
chainId reconciliation (registry = live chains = genesis LP-018 map, one way): - Pars mainnet 7070 -> 494949 (live api.pars.network eth_chainId=0x78d65, net_version=494949); Pars testnet 7071 -> 494950, devnet 7072 -> 494951 (matches genesis configs/lp182_chain_id_map.go 4949xx scheme). - Lux devnet 96370 -> 96367 (live api.lux-dev.network reports 96367). - chainRegistry.spec.ts now asserts Pars 494949 (was stale-7070 assert). - Also fixed: configmap-mainnet Pars NETWORK_ID, configmap-testnet Pars NETWORK_ID, branded_build.sh, tools/send_test_txs.py, well-known/explore.json (regenerated from the fixed registry). RPC /ext/bc/<alias>/rpc -> /v1/bc/C/rpc (gateway canonical; each sovereign L1 serves its own C-Chain at /v1/bc/C/rpc). Verified returning blocks before switch: Lux/Zoo/Hanzo/Pars mainnet + Lux testnet. Kept on /ext (their /v1 not up yet): Lux devnet, brand testnets, local-node compose/test-tool URLs. P-chain proxy now dials /v1/bc/P. useChainHeights + luxnet/instance no longer strip /ext/bc/C/rpc; they use the env RPC URL / origin directly so C-chain height + luxnet SDK work under /v1. Co-authored-by: Hanzo Dev <dev@hanzo.ai>
41 lines
1.2 KiB
Bash
41 lines
1.2 KiB
Bash
# Lux Explorer — default brand.
|
|
# `pnpm build` with no NEXT_PUBLIC_BRAND override produces a Lux-branded site.
|
|
|
|
NEXT_PUBLIC_BRAND=lux
|
|
|
|
# Network
|
|
NEXT_PUBLIC_NETWORK_NAME=Lux Network
|
|
NEXT_PUBLIC_NETWORK_SHORT_NAME=LUX
|
|
NEXT_PUBLIC_NETWORK_ID=96369
|
|
NEXT_PUBLIC_NETWORK_CURRENCY_NAME=LUX
|
|
NEXT_PUBLIC_NETWORK_CURRENCY_SYMBOL=LUX
|
|
NEXT_PUBLIC_NETWORK_CURRENCY_DECIMALS=18
|
|
NEXT_PUBLIC_NETWORK_RPC_URL=https://api.lux.network/v1/bc/C/rpc
|
|
|
|
# API
|
|
NEXT_PUBLIC_API_HOST=api-explore.lux.network
|
|
NEXT_PUBLIC_API_PROTOCOL=https
|
|
NEXT_PUBLIC_API_BASE_PATH=/
|
|
NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL=wss
|
|
|
|
# App
|
|
NEXT_PUBLIC_APP_HOST=explore.lux.network
|
|
NEXT_PUBLIC_APP_PROTOCOL=https
|
|
NEXT_PUBLIC_IS_TESTNET=false
|
|
|
|
# Branding
|
|
NEXT_PUBLIC_NETWORK_ORG_NAME=Lux Industries Inc.
|
|
NEXT_PUBLIC_NETWORK_WEBSITE_URL=https://lux.network
|
|
NEXT_PUBLIC_NETWORK_DESCRIPTION=High-performance blockchain for decentralized applications.
|
|
NEXT_PUBLIC_NETWORK_GITHUB_URL=https://github.com/luxfi
|
|
NEXT_PUBLIC_NETWORK_TWITTER_URL=https://x.com/luxdefi
|
|
NEXT_PUBLIC_NETWORK_DISCORD_URL=https://discord.gg/luxnetwork
|
|
|
|
# Auth (IAM)
|
|
NEXT_PUBLIC_ACCOUNT_AUTH_PROVIDER=oidc
|
|
NEXT_PUBLIC_OIDC_SERVER_URL=https://lux.id
|
|
NEXT_PUBLIC_OIDC_CLIENT_ID=lux-explore-client-id
|
|
|
|
# Theme
|
|
NEXT_PUBLIC_COLOR_THEME_DEFAULT=dark
|