Dex Liquidity Infrastructure Development with Meteora
Budget: ₹1,500 – ₹12,500 INR
Build a DEX Liquidity Infrastructure using Meteora DAMM v2
You have to explain and teach it to me as well from scratch
This assignment simulates real-world decentralized trading infrastructure engineering. The goal is to evaluate your ability to work with asynchronous systems, blockchain tooling, liquidity protocols, observability, fault tolerance, and real-time monitoring workflows.
Protocol
Meteora DAMM v2
Network
Solana Devnet
Primary Language
Python / TypeScript
Core Objective
Build a production-style DEX liquidity management MVP capable of creating liquidity pools, managing liquidity positions, monitoring on-chain state, ingesting live market data, and executing controlled treasury operations.
1
Create Liquidity Pool
Initialize a trading pair pool on Meteora DAMM v2
2
Add & Manage Liquidity
Deposit and manage LP positions programmatically
3
Monitoring & Analytics
Track pool health, liquidity, swaps, volume, and latency
Required Technical Stack
• Solana ecosystem tooling
• Meteora DAMM v2 SDK / APIs
• Python asyncio OR Node.js async runtime
• WebSocket ingestion systems
• Redis pub/sub and caching
• FastAPI / Express backend APIs
• PostgreSQL or TimescaleDB (optional but preferred)
• React / Next.js frontend dashboard
• Dockerized deployment
• Linux environment setup
• Structured logging & monitoring
Evaluation Criteria
• Real-time systems thinking
• Async architecture correctness
• Reliability and reconnect handling
• Blockchain protocol understanding
• Observability and logging quality
• Clean modular project structure
• Production readiness mindset
• Scalability considerations
• README quality and documentation
• Deployment and operational clarity
Detailed Task Breakdown
Phase 1 — Environment Setup
• Configure Solana CLI and wallet
• Set up Devnet environment
• Acquire test tokens
• Configure Meteora SDK access
• Configure environment variables and secrets
• Implement configuration management system
Phase 2 — Liquidity Pool Creation
• Create a DAMM v2 liquidity pool for a chosen pair
• Programmatically initialize pool parameters
• Handle transaction confirmation and retries
• Log transaction hashes and pool metadata
• Build automated verification checks
Phase 3 — Liquidity Management Engine
• Add/remove liquidity programmatically
• Track LP positions
• Compute estimated fees earned
• Track liquidity distribution
• Handle partial liquidity operations
Phase 4 — Real-Time Monitoring System
• Subscribe to live swap/order book events
• Stream real-time pool metrics
• Track:
- liquidity depth
- transaction throughput
- pool volume
- slippage estimation
- price impact
- swap frequency
• Compute rolling metrics and moving averages
Phase 5 — Treasury Swap Engine
• Create controlled treasury swap execution module
• Implement swap limits and thresholds
• Add transaction safety validation
• Add dry-run/simulation mode
• Add slippage protection
Advanced Features (Strong Candidates)
• Multi-pool monitoring
• Arbitrage opportunity detection
• Latency measurement pipeline
• Redis pub/sub event architecture
• Prometheus/Grafana metrics integration
• Telegram/Slack alerting bots
• Docker Compose setup
• Automatic reconnect + backoff logic
• Transaction queue management
• Rate limiting & throttling
• WebSocket failover handling
• System heartbeat monitoring
Expected Architecture
project/
│
├── backend/
│ ├── ingestion/
│ ├── monitoring/
│ ├── liquidity/
│ ├── treasury/
│ ├── api/
│ └── utils/
│
├── frontend/
│ ├── dashboard/
│ ├── charts/
│ └── components/
│
├── docker/
├── logs/
├── scripts/
├── README.md
└── docker-compose.yml
Frontend Dashboard Requirements
Live Pool Status
Connection health, pool uptime, active liquidity positions
Real-Time Charts
Liquidity depth, swap activity, volume, price impact
Treasury Controls
Manual and automated treasury operation controls
Latency Dashboard
Measure event ingestion and UI rendering latency
Logs & Alerts
Operational alerts, reconnect warnings, failures
Metrics Engine
Pool analytics, swap frequency, rolling averages
README Requirements
• High-level architecture diagram
• Protocol interaction explanation
• Liquidity flow explanation
• System design decisions
• Tradeoffs made
• Fault tolerance strategy
• Reconnect strategy
• Deployment instructions
• Scaling considerations
• Security considerations
• Example screenshots & transaction hashes
Important Note
This assignment is NOT about building a beautiful frontend. It is about demonstrating systems thinking, reliability engineering, asynchronous architecture design, blockchain protocol integration, observability, and operational awareness.
Focus on correctness, reliability, maintainability, and clarity over flashy UI.
You have to explain and teach it to me as well from scratch
This assignment simulates real-world decentralized trading infrastructure engineering. The goal is to evaluate your ability to work with asynchronous systems, blockchain tooling, liquidity protocols, observability, fault tolerance, and real-time monitoring workflows.
Protocol
Meteora DAMM v2
Network
Solana Devnet
Primary Language
Python / TypeScript
Core Objective
Build a production-style DEX liquidity management MVP capable of creating liquidity pools, managing liquidity positions, monitoring on-chain state, ingesting live market data, and executing controlled treasury operations.
1
Create Liquidity Pool
Initialize a trading pair pool on Meteora DAMM v2
2
Add & Manage Liquidity
Deposit and manage LP positions programmatically
3
Monitoring & Analytics
Track pool health, liquidity, swaps, volume, and latency
Required Technical Stack
• Solana ecosystem tooling
• Meteora DAMM v2 SDK / APIs
• Python asyncio OR Node.js async runtime
• WebSocket ingestion systems
• Redis pub/sub and caching
• FastAPI / Express backend APIs
• PostgreSQL or TimescaleDB (optional but preferred)
• React / Next.js frontend dashboard
• Dockerized deployment
• Linux environment setup
• Structured logging & monitoring
Evaluation Criteria
• Real-time systems thinking
• Async architecture correctness
• Reliability and reconnect handling
• Blockchain protocol understanding
• Observability and logging quality
• Clean modular project structure
• Production readiness mindset
• Scalability considerations
• README quality and documentation
• Deployment and operational clarity
Detailed Task Breakdown
Phase 1 — Environment Setup
• Configure Solana CLI and wallet
• Set up Devnet environment
• Acquire test tokens
• Configure Meteora SDK access
• Configure environment variables and secrets
• Implement configuration management system
Phase 2 — Liquidity Pool Creation
• Create a DAMM v2 liquidity pool for a chosen pair
• Programmatically initialize pool parameters
• Handle transaction confirmation and retries
• Log transaction hashes and pool metadata
• Build automated verification checks
Phase 3 — Liquidity Management Engine
• Add/remove liquidity programmatically
• Track LP positions
• Compute estimated fees earned
• Track liquidity distribution
• Handle partial liquidity operations
Phase 4 — Real-Time Monitoring System
• Subscribe to live swap/order book events
• Stream real-time pool metrics
• Track:
- liquidity depth
- transaction throughput
- pool volume
- slippage estimation
- price impact
- swap frequency
• Compute rolling metrics and moving averages
Phase 5 — Treasury Swap Engine
• Create controlled treasury swap execution module
• Implement swap limits and thresholds
• Add transaction safety validation
• Add dry-run/simulation mode
• Add slippage protection
Advanced Features (Strong Candidates)
• Multi-pool monitoring
• Arbitrage opportunity detection
• Latency measurement pipeline
• Redis pub/sub event architecture
• Prometheus/Grafana metrics integration
• Telegram/Slack alerting bots
• Docker Compose setup
• Automatic reconnect + backoff logic
• Transaction queue management
• Rate limiting & throttling
• WebSocket failover handling
• System heartbeat monitoring
Expected Architecture
project/
│
├── backend/
│ ├── ingestion/
│ ├── monitoring/
│ ├── liquidity/
│ ├── treasury/
│ ├── api/
│ └── utils/
│
├── frontend/
│ ├── dashboard/
│ ├── charts/
│ └── components/
│
├── docker/
├── logs/
├── scripts/
├── README.md
└── docker-compose.yml
Frontend Dashboard Requirements
Live Pool Status
Connection health, pool uptime, active liquidity positions
Real-Time Charts
Liquidity depth, swap activity, volume, price impact
Treasury Controls
Manual and automated treasury operation controls
Latency Dashboard
Measure event ingestion and UI rendering latency
Logs & Alerts
Operational alerts, reconnect warnings, failures
Metrics Engine
Pool analytics, swap frequency, rolling averages
README Requirements
• High-level architecture diagram
• Protocol interaction explanation
• Liquidity flow explanation
• System design decisions
• Tradeoffs made
• Fault tolerance strategy
• Reconnect strategy
• Deployment instructions
• Scaling considerations
• Security considerations
• Example screenshots & transaction hashes
Important Note
This assignment is NOT about building a beautiful frontend. It is about demonstrating systems thinking, reliability engineering, asynchronous architecture design, blockchain protocol integration, observability, and operational awareness.
Focus on correctness, reliability, maintainability, and clarity over flashy UI.