Skip to content

Repository files navigation

⛏️ NARA Miner Dashboard

Dashboard monitoring untuk NARA multi-agent miner dengan real-time stats & balance.

✨ Fitur

  • 💰 Balance Display - Main wallet, mining wallets, grand total NARA
  • 📊 Real-time Stats - Submit count, errors, rewards
  • 📝 Live Log - 10 baris log terbaru
  • 🎯 Round Info - Pertanyaan dan status round
  • 🔄 Auto Refresh - Update otomatis tiap 30 detik
  • 🌙 Dark Mode - Default dark theme
  • 🚀 1-Click Deploy - Script deploy ke Vercel

🚀 Deploy ke Vercel (GRATIS)

Opsi 1: Deploy Script (Cepat)

cd nara-dashboard

# Dapatkan token di https://vercel.com/account/tokens
./deploy.sh YOUR_VERCEL_TOKEN

Opsi 2: Manual GitHub + Vercel

cd nara-dashboard
git init
git add .
git commit -m "Initial commit"
# Buat repo di GitHub, lalu:
git remote add origin https://github.com/YOUR_USERNAME/nara-dashboard.git
git push -u origin main

Lalu:

  1. Buka vercel.com
  2. Login dengan GitHub
  3. Click "Add New Project"
  4. Import nara-dashboard repo
  5. Click "Deploy" 🎉

Step 3: Setup Environment (Opsional)

Kalo mau liat balance juga, tambahkan di Vercel Dashboard:

  • NARA_RPC_URL = https://mainnet-api.nara.build/

📁 Struktur Project

nara-dashboard/
├── src/
│   ├── app/
│   │   ├── api/status/route.ts  # API endpoint
│   │   └── page.tsx              # Dashboard UI
│   └── ...
├── vercel.json                   # Vercel config
└── package.json

🛠️ Development

npm install
npm run dev
# Buka http://localhost:3000

📝 Notes

  • Dashboard ini read-only dari log file miner
  • Untuk fitur advanced (balance, wallet list), perlu tambah API routes
  • Auto-refresh tiap 30 detik via client-side polling

Dibuat dengan ❤️ untuk NARA miners! ⛏️

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages