Backend
Go single-binary explorer backend
The explorer backend is a single Go binary that handles blockchain indexing, storage, and API serving. The legacy Blockscout Elixir fork is archived at github.com/luxfi/explorer-v1.
Components
| Component | Purpose |
|---|---|
| Indexer goroutines | Per-chain data fetching |
| API server | REST, GraphQL, WebSocket endpoints |
| Storage layer | SQLite (query) + BadgerDB (KV) |
| Replication | PQ encrypted WAL streaming to S3 |
Technology Stack
- Language: Go 1.26.1
- Query storage: SQLite WAL mode (per-chain isolation)
- KV storage: BadgerDB v4
- API:
/v1/explorer/*REST + GraphQL + WebSocket - Backup: ML-KEM-768 + X25519 encrypted streaming
- Docker: Alpine multi-stage build
Build
cd explorer
go build -o explorer ./cmd/explorerRun
./explorer --rpc=http://localhost:9650/ext/bc/C/rpcProduction image: ghcr.io/luxfi/explorer