mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
luxd serves chain routes under /v1/chain, and the node, cli and sdk releases already ship it. The deployed gateways still answer the old prefix, so remote reads break until they are redeployed; the estate moves together rather than sitting half converted. Lines that record an observation - a probe, a status code, a past release - keep the prefix they were written against, as do URLs on hosts that are not ours. Avalanche endpoints move to /ext/bc, which is the path that host serves.
79 lines
3.4 KiB
YAML
79 lines
3.4 KiB
YAML
---
|
|
# See configmap-mainnet.yaml for the architecture rationale. This file holds
|
|
# the testnet runtime overrides for the 4 brand Deployments living in
|
|
# namespace `lux-testnet`. Same image as mainnet, different env.
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: explore-env-lux
|
|
namespace: lux-testnet
|
|
labels: {app: explore-fe, brand: lux, network: testnet}
|
|
data:
|
|
NEXT_PUBLIC_NETWORK_ID: "96368"
|
|
NEXT_PUBLIC_IS_TESTNET: "true"
|
|
NEXT_PUBLIC_API_HOST: api-explorer.lux-test.network
|
|
NEXT_PUBLIC_APP_HOST: explorer.lux-test.network
|
|
NEXT_PUBLIC_NETWORK_RPC_URL: https://api.lux-test.network/v1/chain/C/rpc
|
|
NEXT_PUBLIC_STATS_API_HOST: https://api-explorer.lux-test.network
|
|
NEXT_PUBLIC_VISUALIZE_API_HOST: https://api-explorer.lux-test.network
|
|
NEXT_PUBLIC_CONTRACT_INFO_API_HOST: https://api-explorer.lux-test.network
|
|
NEXT_PUBLIC_ADMIN_SERVICE_API_HOST: https://api-explorer.lux-test.network
|
|
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: explore-env-zoo
|
|
namespace: lux-testnet
|
|
labels: {app: explore-fe, brand: zoo, network: testnet}
|
|
data:
|
|
NEXT_PUBLIC_NETWORK_ID: "200201"
|
|
NEXT_PUBLIC_IS_TESTNET: "true"
|
|
NEXT_PUBLIC_API_HOST: api-explorer.zoo-test.network
|
|
NEXT_PUBLIC_APP_HOST: explorer.zoo-test.network
|
|
NEXT_PUBLIC_NETWORK_RPC_URL: https://api.zoo-test.network/v1/chain/C/rpc
|
|
NEXT_PUBLIC_STATS_API_HOST: https://api-explorer.zoo-test.network
|
|
NEXT_PUBLIC_VISUALIZE_API_HOST: https://api-explorer.zoo-test.network
|
|
NEXT_PUBLIC_CONTRACT_INFO_API_HOST: https://api-explorer.zoo-test.network
|
|
NEXT_PUBLIC_ADMIN_SERVICE_API_HOST: https://api-explorer.zoo-test.network
|
|
# Brand identity is baked into the brand image; skip the runtime envs-validator
|
|
# so the absent NETWORK_NAME placeholder doesn't crashloop the pod.
|
|
SKIP_ENVS_VALIDATION: "true"
|
|
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: explore-env-hanzo
|
|
namespace: lux-testnet
|
|
labels: {app: explore-fe, brand: hanzo, network: testnet}
|
|
data:
|
|
NEXT_PUBLIC_NETWORK_ID: "36962"
|
|
NEXT_PUBLIC_IS_TESTNET: "true"
|
|
NEXT_PUBLIC_API_HOST: api-explorer.hanzo-test.network
|
|
NEXT_PUBLIC_APP_HOST: explorer.hanzo-test.network
|
|
NEXT_PUBLIC_NETWORK_RPC_URL: https://api.hanzo-test.network/v1/chain/C/rpc
|
|
NEXT_PUBLIC_STATS_API_HOST: https://api-explorer.hanzo-test.network
|
|
NEXT_PUBLIC_VISUALIZE_API_HOST: https://api-explorer.hanzo-test.network
|
|
NEXT_PUBLIC_CONTRACT_INFO_API_HOST: https://api-explorer.hanzo-test.network
|
|
NEXT_PUBLIC_ADMIN_SERVICE_API_HOST: https://api-explorer.hanzo-test.network
|
|
# See explore-env-zoo: skip the runtime envs-validator (brand identity baked in image).
|
|
SKIP_ENVS_VALIDATION: "true"
|
|
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: explore-env-pars
|
|
namespace: lux-testnet
|
|
labels: {app: explore-fe, brand: pars, network: testnet}
|
|
data:
|
|
NEXT_PUBLIC_NETWORK_ID: "494950"
|
|
NEXT_PUBLIC_IS_TESTNET: "true"
|
|
NEXT_PUBLIC_API_HOST: api-explorer.pars-test.network
|
|
NEXT_PUBLIC_APP_HOST: explorer.pars-test.network
|
|
NEXT_PUBLIC_NETWORK_RPC_URL: https://api.pars-test.network/v1/chain/C/rpc
|
|
NEXT_PUBLIC_STATS_API_HOST: https://api-explorer.pars-test.network
|
|
NEXT_PUBLIC_VISUALIZE_API_HOST: https://api-explorer.pars-test.network
|
|
NEXT_PUBLIC_CONTRACT_INFO_API_HOST: https://api-explorer.pars-test.network
|
|
NEXT_PUBLIC_ADMIN_SERVICE_API_HOST: https://api-explorer.pars-test.network
|
|
# See explore-env-zoo: skip the runtime envs-validator (brand identity baked in image).
|
|
SKIP_ENVS_VALIDATION: "true"
|