Skip to content

pffs1802/rtc-distribution-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RTC Token Distribution Dashboard

Live analytics dashboard for RustChain (RTC) token distribution, wallet tracking, and network metrics.

🎯 Features

Live Wallet Leaderboard - Top holders ranked by balance, auto-refreshing every 30s
Founder vs Community Split - Visual distribution analysis
Distribution Curve - Gini coefficient showing token concentration
Mining Hardware Stats - Breakdown by hardware type (Vintage, Modern, Apple Silicon)
Historical Tracking - Real-time updates showing network evolution
Key Metrics Display - Total supply, circulating, % minted, active wallets

📊 Metrics Tracked

Metric Description
Total Supply 8,388,608 RTC (2^23)
Circulating Supply Sum of all wallet balances
% Minted Circulating / Total
Current Epoch Current mining epoch
Enrolled Miners Active miners in network
Active Wallets Wallets with balance > 0
Gini Coefficient 0 = perfect equality, 1 = one wallet holds all
Top 10 Concentration % held by top 10 wallets

🚀 Deployment

GitHub Pages (Recommended)

# 1. Create GitHub repo
# 2. Push this directory
# 3. Enable GitHub Pages in Settings → Pages → Deploy from branch main

# Or use gh-pages branch:
git checkout --orphan gh-pages
git add index.html README.md
git commit -m "Deploy RTC Dashboard"
git push origin gh-pages

Vercel

npm i -g vercel
vercel --prod

Netlify

# Drag and drop the rtc-dashboard folder to Netlify
# Or connect GitHub repo

📡 Data Sources

  • Balance API: GET https://50.28.86.131/api/miners (public)
  • Epoch Info: GET https://50.28.86.131/epoch (public)
  • Individual Balance: GET https://50.28.86.131/wallet/balance?miner_id=WALLET_ID
  • Health Check: GET https://50.28.86.131/health

🎨 Design

  • Dark theme matching rustchain.org aesthetic
  • Mobile-responsive grid layout
  • Real-time updates every 30 seconds
  • Interactive charts (Chart.js)
  • Hover effects for better UX

🔧 Technical Stack

  • Pure HTML/CSS/JavaScript - No build step required
  • Chart.js 4.4.0 - Data visualization
  • Fetch API - Live data polling
  • CSS Grid - Responsive layout
  • No dependencies - Runs anywhere

📱 Mobile Support

Fully responsive with breakpoints at 768px. Tables and charts adapt to small screens.

🎯 Bounty #168 Deliverables

✅ Live wallet leaderboard (auto-refresh 30s)
✅ Distribution visualization (bar chart, doughnut chart)
✅ Gini coefficient calculation
✅ Top 10 concentration metric
✅ Hardware type breakdown
✅ All key metrics from spec
✅ Dark theme matching rustchain.org
✅ Mobile-responsive
✅ Ready for one-click deployment

📄 License

MIT


Author: @Pffs1802
RTC Wallet: Pffs1802
Bounty: Scottcjn/rustchain-bounties#168

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors