mirror of
https://github.com/luxfi/explorer-v1.git
synced 2026-10-30 19:34:59 +00:00
LUX Network Mainnet Explorer
Production-ready Blockscout explorer configuration for LUX Network Mainnet.
Network Details
- Chain ID: 96369
- Network Name: LUX Network
- Currency: LUX
- Explorer URL: https://explore.lux.network
- API URL: https://api-explore.lux.network
Services
| Service | Port | Description |
|---|---|---|
| Backend | 4000 | Blockscout API |
| Frontend | 3000 | Next.js Web UI |
| Visualizer | 8050 | Contract visualization |
| Sig Provider | 8051 | Signature provider |
| Stats | 8052 | Statistics service |
| User Ops Indexer | 8053 | ERC-4337 indexer |
Prerequisites
-
PostgreSQL database with databases:
explorer_luxnet- Main explorer databasestats_luxnet- Statistics databaseuser_ops_luxnet- User operations database
-
LUX Node running on port 9630 with RPC enabled
-
Nginx configured to proxy:
- explore.lux.network -> localhost:3000
- api-explore.lux.network -> localhost:4000
Quick Start
# Start all services
docker-compose up -d
# View logs
docker-compose logs -f
# Stop all services
docker-compose down
Environment Variables
Backend
ETHEREUM_JSONRPC_HTTP_URL: LUX node RPC endpointDATABASE_URL: PostgreSQL connection stringCHAIN_ID: 96369
Frontend
NEXT_PUBLIC_API_HOST: Backend API host (api-explore.lux.network)NEXT_PUBLIC_NETWORK_NAME: LUX NetworkNEXT_PUBLIC_NETWORK_ID: 96369
Maintenance
Restart services
docker-compose restart backend frontend
Update images
docker-compose pull
docker-compose up -d
View service health
docker-compose ps
curl http://localhost:4000/api/v2/stats