ChainBranding gains a productName field (default "Explorer"). New helper applyBrandEnvOverrides(b) layers NEXT_PUBLIC_BRAND_* env vars over the bundled defaults so a deploy can rebrand any field — name, org, URLs, logo SVG, favicon, product label — without rebuilding the bundle. Operators set: NEXT_PUBLIC_BRAND_NAME " Network" NEXT_PUBLIC_BRAND_PRODUCT_NAME "Explorer" NEXT_PUBLIC_BRAND_ORG_NAME " Labs" NEXT_PUBLIC_BRAND_LOGO_CONTENT <inline svg> ... to override; empty values fall through. TopBar now reads chain.branding.productName instead of the hardcoded "Lux Explorer" string. getCurrentChain() applies env overrides on every read so a brand can be flipped at runtime via env / k8s ConfigMap. The bundled LUX, ZOO, HANZO, SPC, PARS defaults stay as-is for OSS shipping; the white-label "other" path keeps reading from NEXT_PUBLIC_NETWORK_* (legacy keys) as well.
Lux Explore frontend
Frontend application for Lux Network blockchain explorer
Running and configuring the app
App is distributed as a docker image. Here you can find information about the package and its recent releases.
You can configure your app by passing necessary environment variables when starting the container. See full list of ENVs and their description here.
docker run -p 3000:3000 --env-file <path-to-your-env-file> ghcr.io/blockscout/frontend:latest
Alternatively, you can build your own docker image and run your app from that. Please follow this guide.
For more information on migrating from the previous frontend, please see the frontend migration docs.
Contributing
See our Contribution guide for pull request protocol. We expect contributors to follow our code of conduct when submitting code or comments.
Resources
- App ENVs list
- Contribution guide
- Making a custom build
- Frontend migration guide
- Manual deployment guide with backend and microservices
License
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.