Skip to content

Latest commit

 

History

History
58 lines (50 loc) · 2.69 KB

File metadata and controls

58 lines (50 loc) · 2.69 KB

DevKarma Implementation Tasks

  • Project Initialization

    • Initialize Next.js 14 app (npx create-next-app@latest) with TypeScript, Tailwind, ESLint
    • Install dependencies: @supabase/supabase-js, @solana/web3.js, @solana/wallet-adapter-react, next-auth, lucide-react, clsx, tailwind-merge
    • Configure Tailwind with Design System (Cream/Forest theme, Fonts)
    • Set up project structure (/components, /lib, /types, /app/api)
  • Database Setup (Railway PostgreSQL)

    • Create dk_users table (Twitter auth data)
    • Create dk_wallets table (Verified addresses)
    • Create dk_tokens table (Launch history & stats)
    • Create dk_score_history & dk_profile_views tables
    • Database client (lib/db.ts) with all CRUD operations
  • Core Integrations (Lib Layer)

    • Implement Helius Client (lib/helius.ts)
      • getTokensCreatedByWallet
      • getTokenHolders
      • getWalletTransactions
    • Implement DexScreener Client (lib/dexscreener.ts)
      • getTokenMarketData
      • checkMigrationStatus
    • Implement Scoring Engine (lib/scoring.ts)
      • calculateTokenScore (Migration, ATH, etc.)
      • calculateDevScore (Weighted avg, Tier logic)
  • Authentication & Wallet Verification

    • Configure NextAuth.js with Twitter Provider (lib/auth.ts)
    • Implement Wallet Verification API
      • Generate unique nonce message (app/api/wallet/nonce/route.ts)
      • Verify signature using nacl (app/api/wallet/verify/route.ts)
    • Build Frontend Wallet Connect Component (components/wallet/WalletConnect.tsx)
  • Backend API Development

    • /api/profile/[handle] - Fetch profile & calc scores
    • /api/search - Look up wallets/tokens
    • /api/leaderboard - Aggregate top scores
    • /api/user/sync - Trigger data refresh for user
  • Frontend Development (Public) - Wired to Backend

    • Landing Page: Hero, Value Prop, Search Bar (uses /api/leaderboard)
    • Profile Page: (uses /api/profile/[handle])
      • Dev Score Card (with visual breakdown)
      • Token History Table (sortable)
      • "Proven/Rugged" Status indicators
    • Leaderboard: Top ranking devs list (uses /api/leaderboard)
    • Search: Result handling for wallets (uses /api/search)
  • Frontend Development (Authenticated)

    • Dashboard: User overview
    • Wallet Settings: Link/Unlink wallets
    • Profile Settings: Edit bio, refresh data
  • Polish & Launch

    • OG Image generation for shareable profiles
    • End-to-end testing of verification flow
    • Verify rate limit handling