# Meteora DLMM Copy Trading Project ## Project Overview - **Goal:** Monitor Solana wallets on Meteora DLMM, track open/close position operations, auto-copy trades - **Stack:** Next.js 16 + TypeScript, @meteora-ag/dlmm 1.9.3, @solana/web3.js, Prisma/SQLite, Zustand - **Strategy:** Backend-first (worker + API routes first, frontend dashboard later) - **Private key:** Environment variable `FOLLOWER_PRIVATE_KEY` - **Scope:** DLMM only (not Dynamic Pools) ## Architecture - **Worker process** (standalone tsx): Monitor → Parser → Executor pipeline - **Next.js API routes**: CRUD for wallets, positions, trades, settings - Shared Prisma/SQLite database between worker and API ## Implementation Status - **Phase:** Not started yet (plan approved, dependencies not yet installed) - **Todo:** See [implementation-plan.md](implementation-plan.md) for full 22-file implementation order ## Key Technical Details - See [technical-research.md](technical-research.md) for DLMM SDK details, instruction formats, discriminators - See [implementation-plan.md](implementation-plan.md) for architecture, DB schema, file-by-file plan ## User Preferences - Backend-first development priority - Private key via env var (not web UI) - DLMM only monitoring