Skip to content

Latest commit

 

History

History
64 lines (48 loc) · 1.52 KB

project-plan.md

File metadata and controls

64 lines (48 loc) · 1.52 KB

AI Agents Dashboard - Implementation Plan

1. Required APIs & Data Sources

Primary APIs

  • SolScan API - For token data and transactions

    • Token holdings and metadata
    • Transaction history
    • Market data
  • DexScreener API - For market data

    • Token prices
    • Market caps
    • Associated Twitter handles (stored as reference only)

Alternative/Backup APIs

  • Consider Jupiter API for additional token data
  • Birdeye API as fallback for market data

2. Implementation Phases

Phase 1: Data Collection & Processing

  1. Set up Solana connection and wallet tracking
  2. Implement token balance calculation
  3. Create supply contribution verification system
  4. Build Twitter account association logic

Phase 2: Frontend Development

  1. Create responsive dashboard layout
  2. Implement token card components
  3. Build sorting functionality
  4. Add real-time data updates

Phase 3: Features & Polish

  1. Add interactive sorting
  2. Implement search/filtering
  3. Add loading states
  4. Optimize performance

3. Technical Stack

Frontend

  • Next.js
  • TailwindCSS
  • React Query (for data fetching)
  • web3.js (Solana interactions)

Backend (API Routes)

  • Next.js API routes
  • Cache layer for API responses
  • Rate limiting implementation

4. Data Structure

5. Questions & Dependencies

  1. Do we need historical contribution data?
  2. Rate limits for SolScan and DexScreener APIs?
  3. Refresh frequency for data?
  4. Cache duration for API responses?

6. Environment Variables

  • SOLSCAN_API_KEY: API key for SolScan API