Real-time governance analytics for veEQUAL on Sonic blockchain
Track voting power distribution, analyze governance concentration, and monitor unlock schedules with enterprise-grade analytics. Currently tracking 2.1M+ voting power across 3,684 unique holders.
View Live Dashboard — soonic™ • Latest Report • API Docs
- Governance Assessment: Gini coefficient analysis and concentration metrics for institutional due diligence
- Whale Movement Tracking: Monitor large holder behavior and voting power shifts across governance tiers
- Unlock Impact Analysis: 90-day projection of governance power changes with assessment indicators
- Real-time APIs: Production-ready endpoints with sub-second response times and CORS support
- Enterprise Analytics: Mathematical models for regulatory compliance and governance health assessment
Get governance data in under 30 seconds:
# Clone and run
git clone https://github.com/BeanieZombie/veEQUAL-dashboard.git
cd veEQUAL-dashboard
bun install && bun run dev
# Test the API
curl http://localhost:3000/api/summary
Live API Available: All endpoints are also accessible at our live instance.
This README provides a quick start guide. For comprehensive technical information, implementation details, and advanced features, please refer to the Technical Documentation.
Bun >= 1.0
- Installation GuideNode.js >= 18
(if using npm/yarn instead of Bun)Git
for cloning the repository
- Clone the repository and navigate to the directory:
git clone https://github.com/BeanieZombie/veEQUAL-dashboard.git
cd veEQUAL-dashboard
- Install dependencies:
bun install
- Run the data collection and API server:
# Update data and start API server
bun run dev
The API server will be available at http://localhost:3000
.
The dashboard provides several REST API endpoints for accessing veEQUAL data:
Endpoint | Description | Sample Response | Rate Limit |
---|---|---|---|
/api/summary |
Key governance metrics | {"totalVotingPower": "2.1M", "uniqueHolders": 3684} |
1000/hr |
/api/holders |
Top 50 holders by power | [{"address": "0x...", "votingPower": "156789"}] |
1000/hr |
/api/nfts |
Individual NFT rankings | [{"tokenId": 1, "owner": "0x...", "power": "5432"}] |
1000/hr |
/data/api/dashboard.json |
Complete dataset | Full governance dashboard data | 1000/hr |
Features: CORS enabled • No authentication required • Sub-second response times
# Get summary statistics
curl http://localhost:3000/api/summary
# Get top holders
curl http://localhost:3000/api/holders
# Get top NFTs
curl http://localhost:3000/api/nfts
Example Response (/api/summary
):
{
"totalVotingPower": "2.1M",
"totalNFTs": 4934,
"uniqueHolders": 3684,
"lastUpdated": "2025-05-25T22:10:34.641Z"
}
To manually update the dataset:
# Collect fresh data from Sonic blockchain
bun run update
This process:
- Fetches all veEQUAL NFT data from Sonic blockchain
- Processes data through 8 SQL transformation stages
- Generates optimized JSON API endpoints
- Updates Parquet files and DuckDB database
For DeFi Protocols
- Monitor governance health and decentralization metrics
- Track voting power concentration patterns
- Analyze unlock impact on governance stability
For Institutional Investors
- Due diligence on governance structures
- Governance assessment for token investments
- Regulatory compliance reporting
For Governance Participants
- Understand voting power landscape
- Track whale movements and behavior
- Plan participation strategies
Built with modern Web3 infrastructure:
- Runtime: Bun for performance and simplicity
- Database: DuckDB for analytical queries
- Blockchain: Viem for Sonic network interaction
- Processing: 8-stage SQL transformation pipeline
- Storage: Parquet files for efficient analytics
The system operates on a multi-stage data pipeline:
- Data Collection: Retrieves veEQUAL NFT data from Sonic (Chain ID 146) using Viem
- Processing: Aggregates and analyzes data using DuckDB with SQL transformations
- Storage: Exports to Parquet format for efficient analytics
- API Generation: Creates JSON endpoints with pre-computed responses
- Reporting: Generates markdown reports with governance insights
The platform categorizes holders into governance tiers based on voting power:
- M.E.G.A Whale (≥50K): Maximum governance influence
- Major Holder (20K-50K): Significant voting power
- Equalest (5K-20K): Core participants
- More Equal (1K-5K): Active members
- Equal (<1K): Base participants
# Optional: Custom RPC endpoint (defaults to automatic discovery)
SONIC_RPC_URL=https://rpc.soniclabs.com
# Optional: API server port (defaults to 3000)
PORT=3000
# Optional: veEQUAL contract address (defaults to mainnet)
VE_EQUAL=0x3045119766352fF250b3d45312Bd0973CBF7235a
The repository includes automated data updates:
- Runs daily at 00:33 UTC
- Updates all datasets and API endpoints
- Commits changes automatically
# Production server
bun run start
# Development with auto-reload
bun run dev
# Data update only
bun run update
This dashboard is designed specifically for veEQUAL governance analysis on Sonic blockchain. Applications beyond this scope should be approached with caution:
- Network Dependency: Requires stable connection to Sonic RPC endpoints
- Data Scope: Limited to veEQUAL NFT contract data only
- Historical Data: Limited by blockchain history availability
- Real-time Updates: Data freshness depends on collection schedule (daily updates)
Common Issues:
- RPC Connection Failed: The system automatically discovers working Sonic RPCs. If all fail, set
SONIC_RPC_URL
manually. - Port Already in Use: Change the port with
PORT=3001 bun run dev
- Missing Data: Run
bun run update
to refresh from blockchain
Getting Help: See Technical Documentation for detailed troubleshooting.
When referencing this dashboard in academic papers or technical reports, please specify the exact version and data collection date for reproducibility.
Example citation format:
veEQUAL Dashboard v1.0.0 - Governance analytics for Equalizer DEX on Sonic blockchain.
Data collected: [DATE]. Available: https://github.com/BeanieZombie/veEQUAL-dashboard
Business Source License 1.1 - See LICENSE.md
- Free for research, development, and non-commercial use
- Commercial use requires 5,000+ veEQUAL tokens
- Converts to MIT License in 2029
- Live Data - View the dashboard
- Latest Report - Comprehensive governance analysis report
- Sonic - Layer 1 blockchain
- Equalizer Exchange - DeFi protocol
Built with care for the Equalizer community