Files
explore/deploy/k8s/explore-fe/configmap-mainnet.yaml
T
zeekayandHanzo Dev e471fb7641 explore v1.1.4: native all-chains wallet-connect, login/menu fixes, correct chain manifest
- wallet: brandFamilyChains derives sibling networks (Lux mainnet/testnet/devnet)
  from the multi-tenant chain registry so connect/add presents EVERY registered
  network for the brand, not just the env chain; dedupe by id.
- login/menu: useProvider queryFn returns null (react-query v5 forbids undefined)
  + callers switched from '= {}' destructure default to '?? {}' so a null result
  no longer crashes the wallet hooks (the busted-menu root cause).
- manifest: fix Pars chainId 7070 -> 494949 (regression) and drop the forbidden
  'Subnet' term from sovereign L1 network names (-> '<Brand> Network').
- Validators page + /api/pchain proxy present; rebuild makes the live 5-validator
  view visible on explore.lux.network.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-08 11:44:04 -07:00

77 lines
3.1 KiB
YAML

---
# Per-env runtime config for Blockscout FE. Loaded into the pod via
# Deployment `envFrom: configMapRef:`. Blockscout's `make_envs_script.sh`
# at container start renders /assets/envs.js from process env, so any
# change here requires a rollout-restart, NOT an image rebuild.
#
# Brand identity (NETWORK_NAME, OIDC client ID, colors, currency) lives in
# the image itself (ghcr.io/{org}/explore:vX.Y.Z); env-specific knobs
# (NETWORK_ID, IS_TESTNET, *_HOST, RPC_URL) live here.
apiVersion: v1
kind: ConfigMap
metadata:
name: explore-env-lux
namespace: lux-mainnet
labels: {app: explore-fe, brand: lux, network: mainnet}
data:
NEXT_PUBLIC_NETWORK_ID: "96369"
NEXT_PUBLIC_IS_TESTNET: "false"
NEXT_PUBLIC_API_HOST: api-explore.lux.network
NEXT_PUBLIC_APP_HOST: explore.lux.network
NEXT_PUBLIC_NETWORK_RPC_URL: https://api.lux.network/ext/bc/C/rpc
NEXT_PUBLIC_STATS_API_HOST: https://api-explore.lux.network
NEXT_PUBLIC_VISUALIZE_API_HOST: https://api-explore.lux.network
NEXT_PUBLIC_CONTRACT_INFO_API_HOST: https://api-explore.lux.network
NEXT_PUBLIC_ADMIN_SERVICE_API_HOST: https://api-explore.lux.network
---
apiVersion: v1
kind: ConfigMap
metadata:
name: explore-env-zoo
namespace: lux-mainnet
labels: {app: explore-fe, brand: zoo, network: mainnet}
data:
NEXT_PUBLIC_NETWORK_ID: "200200"
NEXT_PUBLIC_IS_TESTNET: "false"
NEXT_PUBLIC_API_HOST: api-explore.zoo.network
NEXT_PUBLIC_APP_HOST: explore.zoo.network
NEXT_PUBLIC_NETWORK_RPC_URL: https://api.zoo.network/ext/bc/zoo/rpc
NEXT_PUBLIC_STATS_API_HOST: https://api-explore.zoo.network
NEXT_PUBLIC_VISUALIZE_API_HOST: https://api-explore.zoo.network
NEXT_PUBLIC_CONTRACT_INFO_API_HOST: https://api-explore.zoo.network
NEXT_PUBLIC_ADMIN_SERVICE_API_HOST: https://api-explore.zoo.network
---
apiVersion: v1
kind: ConfigMap
metadata:
name: explore-env-hanzo
namespace: lux-mainnet
labels: {app: explore-fe, brand: hanzo, network: mainnet}
data:
NEXT_PUBLIC_NETWORK_ID: "36963"
NEXT_PUBLIC_IS_TESTNET: "false"
NEXT_PUBLIC_API_HOST: api-explore.hanzo.network
NEXT_PUBLIC_APP_HOST: explore.hanzo.network
NEXT_PUBLIC_NETWORK_RPC_URL: https://api.hanzo.network/ext/bc/hanzo/rpc
NEXT_PUBLIC_STATS_API_HOST: https://api-explore.hanzo.network
NEXT_PUBLIC_VISUALIZE_API_HOST: https://api-explore.hanzo.network
NEXT_PUBLIC_CONTRACT_INFO_API_HOST: https://api-explore.hanzo.network
NEXT_PUBLIC_ADMIN_SERVICE_API_HOST: https://api-explore.hanzo.network
---
apiVersion: v1
kind: ConfigMap
metadata:
name: explore-env-pars
namespace: lux-mainnet
labels: {app: explore-fe, brand: pars, network: mainnet}
data:
NEXT_PUBLIC_NETWORK_ID: "7070"
NEXT_PUBLIC_IS_TESTNET: "false"
NEXT_PUBLIC_API_HOST: api-explore.pars.network
NEXT_PUBLIC_APP_HOST: explore.pars.network
NEXT_PUBLIC_NETWORK_RPC_URL: https://api.pars.network/ext/bc/pars/rpc
NEXT_PUBLIC_STATS_API_HOST: https://api-explore.pars.network
NEXT_PUBLIC_VISUALIZE_API_HOST: https://api-explore.pars.network
NEXT_PUBLIC_CONTRACT_INFO_API_HOST: https://api-explore.pars.network
NEXT_PUBLIC_ADMIN_SERVICE_API_HOST: https://api-explore.pars.network