MVP Architecture
Components:
Arbitrage Scanner (TypeScript + Web3.js)
Fetches price data from Orca, Raydium, and Phoenix.
Identifies profitable arbitrage opportunities.
Solana Smart Contract (Rust + Anchor)
Executes swaps atomically between DEXs.
Enforces profitability constraints before execution.
Basic MEV Protection
Monitors mempool transaction order.
Uses randomized delay or Jito-Solana integration.
Data Feeds
Pyth, Switchboard, and DEX APIs provide real-time pricing.
MVP Frontend (Optional)
React + TailwindCSS UI for displaying arbitrage opportunities.
MVP User Flow:
User connects wallet (Phantom/Solflare) → Grants permission.
Scanner fetches prices → Identifies arbitrage opportunities.
Profitable trade detected → Sent to Solana smart contract.
Smart contract executes trade → Swaps between DEXs atomically.
Profit/loss calculated → Funds deposited back to the user's wallet.
Last updated