API Data Directory

Real-time voting power analysis and governance metrics for veEQUAL on Sonic

This directory contains generated JSON files that power the veEQUAL dashboard API endpoints.

Files (Auto-Generated)

These files are automatically generated by the GitHub Actions workflow and should NOT be committed to git:

Generation Process

  1. Daily Update: GitHub Actions runs bun run src/update.ts daily at 00:33 UTC
  2. Data Collection: Fetches latest veEQUAL NFT data from Sonic Network
  3. Processing: Runs SQL transformations and generates analytics
  4. API Export: Creates JSON files via src/generateJSON.ts
  5. Deployment: Files are served via GitHub Pages

Local Development

To generate fresh data locally:

bun run src/update.ts

This will update all JSON files in this directory.

API Endpoints

When deployed, these files are available at:

See index.html for complete API documentation.