Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 30 additions & 17 deletions explorer/dashboard/README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,33 @@
# RustChain Block Explorer Dashboard
# RustChain Explorer - Miner Dashboard

Self-hostable dashboard for RustChain network stats.
Real-time miner dashboard for the RustChain Proof-of-Antiquity blockchain.

## Features
- Health status from `/health`
- Active miners from `/api/miners`
- Current epoch snapshot from `/epoch`
- Transaction list from `/api/transactions` (if available)

## Run
```bash
cd explorer/dashboard
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
export RUSTCHAIN_API_BASE="https://rustchain.org"
python app.py
```

Open: `http://localhost:8787`

- **Real-time miner status** - Live online/offline indicators
- **Architecture badges** - Display hardware type (G4, G5, POWER8, Apple Silicon, etc.)
- **Antiquity multipliers** - Visual display of mining multipliers
- **Auto-refresh** - Updates every 30 seconds
- **Responsive design** - Works on desktop and mobile
- **Dark theme** - RustChain branded colors

## Usage

Simply open `index.html` in a browser. The dashboard fetches data from:
- `https://explorer.rustchain.org/api/miners`

## Deployment

Drop `index.html` into any web server, or serve via nginx on port 5555.

## Bounty

This addresses Issue #686 - Tier 1: Miner Dashboard (50 RTC)

## Demo

Open `index.html` directly in a browser to see the live dashboard.

## License

MIT
Loading