MEMORY.md 1.2 KB

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 for full 22-file implementation order

Key Technical Details

User Preferences

  • Backend-first development priority
  • Private key via env var (not web UI)
  • DLMM only monitoring