Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clutch Explorer

Block explorer for the Clutch Protocol chain — Rust backend indexer + React frontend.

Documentation: https://docs.clutchprotocol.io/clutch-explorer/overview

Quick start (clutch-deploy)

docker compose up -d
Service URL
Explorer UI http://localhost:5174
Explorer API http://localhost:8088

Local development

Backend:

cd backend
cargo run -- --env default

Frontend:

cd frontend
npm install
VITE_EXPLORER_API_URL=http://localhost:8088 npm run dev

Default UI port: 5174 (when run via compose) or 5173 (standalone Vite default).

REST API

Route Description
GET /health, /ready Health checks
GET /api/v1/blocks Block list
GET /api/v1/blocks/:id Block detail
GET /api/v1/transactions Transaction list
GET /api/v1/transactions/:hash Transaction detail
GET /api/v1/accounts/:address Account info
GET /api/v1/accounts/:address/activity Balance activity
GET /api/v1/validators Validator set
GET /api/v1/search?q= Search
GET /api/v1/stats Network stats

Full reference: https://docs.clutchprotocol.io/clutch-explorer/api-reference

Indexer

Polls clutch-node blocks (default ~4s interval) and stores data in PostgreSQL.

Docker images

  • ghcr.io/clutchprotocol/clutch-explorer-backend:latest
  • ghcr.io/clutchprotocol/clutch-explorer-frontend:latest

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages