crisis-dashboard Svelte Themes

Crisis Dashboard

Svelte dashboard for DAO treasury value, NFT holdings, and token holder shares

DAO Treasury Dashboard

A client-side dashboard showing DAO treasury value, NFT holdings, and token holder shares.

Features

  • 📊 Real-time treasury value display
  • 💎 NFT holdings with floor prices
  • 👥 Top token holders list
  • 💱 Toggle between ETH and USD
  • 🔄 Daily automated updates
  • 📱 Mobile responsive

Tech Stack

  • Svelte 4 + Vite 5
  • Tailwind CSS
  • Ethers.js
  • GitHub Actions for daily data fetching

Development

# Install dependencies
npm install

# Fetch treasury data
npm run fetch-data

# Start dev server
npm run dev

# Build for production
npm run build

Configuration

Set environment variables in .env:

ETHERSCAN_API_KEY=your_key_here
COINGECKO_API_KEY=your_key_here
ALCHEMY_API_KEY=your_key_here

API Keys

  1. Add ETHERSCAN_API_KEY to .env and repository secrets (Settings → Secrets → Actions)

  2. Add COINGECKO_API_KEY to .env and repository secrets (Settings → Secrets → Actions)

  3. Add ALCHEMY_API_KEY to .env and repository secrets (Settings → Secrets → Actions)

Deployment

Dashboard deploys automatically to Vercel via GitHub Actions:

  • Daily at midnight UTC
  • On every push to main
  • Manual trigger available

License

MIT

Top categories

Loading Svelte Themes