clutch-explorer is a blockchain explorer stack for the Clutch network:
- Rust backend (
backend) exposing explorer APIs - React frontend (
frontend) for blocks, transactions, accounts, validators, search, and stats - Dockerized setup aligned with other Clutch projects
cd backend
cargo run -- --env defaultDefault API: http://localhost:8088
cd frontend
npm install
npm run devDefault UI: http://localhost:5173
Configure backend URL with VITE_EXPLORER_API_URL.
docker compose up -d --buildServices:
- explorer backend:
http://localhost:8088 - explorer frontend:
http://localhost:5174
GET /healthGET /readyGET /api/v1/blocks?limit=20GET /api/v1/blocks/{heightOrHash}GET /api/v1/transactions?limit=20GET /api/v1/transactions/{hash}GET /api/v1/accounts/{address}GET /api/v1/validatorsGET /api/v1/search?q=...GET /api/v1/stats
Backend supports Seq with:
APP_SEQ_URLAPP_SEQ_API_KEY
Logs are sent to {APP_SEQ_URL}/ingest/clef in CLEF format.