v0.1 Proof of Concept

✅ What's Working

  • Slab Program - Deployed on Devnet with Reserve/Commit/Cancel
  • Router Program - Initialized with Registry
  • Trading UI - Full Reserve → Commit workflow
  • Toast Notifications - Beautiful popup messages
  • Orderbook Display - Active orders and recent trades
  • Transaction History - All on-chain transactions
  • Wallet Integration - Phantom, Solflare support

⚠️ POC Limitations

  • ⚠️ Mock Execution - Transactions succeed but don't modify slab state
  • ⚠️ No Real Matching - Orders don't actually fill against each other
  • ⚠️ No Position Tracking - Balances not updated on-chain
  • ⚠️ No Settlement - No actual token transfers

The v0.1 POC demonstrates the full transaction flow and UI/UX, but the actual trading logic will be implemented in v0.2+

📋 Deployed Addresses

Slab Program
SLAB98WHcToiuUMMX9NQSg5E5iB8CjpK21T4h9ZXiep
Slab Account
5Yd2fL7f1DhmNL3u82ptZ21CUpFJHYs1Fqfg2Qs9CLDB
Router Program
RoutqcxkpVH8jJ2cULG9u6WbdRskQwXkJe8CqZehcyr
Router Registry
DK9uaWYienaQ6XEFBzsGCuKZ8ZapTMjw7Ht3s9HQMdUx

🚀 v0 vs v1: The Key Differences

v0 (Current - POC)

  • 💰 Cost: ~0.025 SOL (~$5)
  • 📦 Size: 3,408 bytes (~3.4 KB)
  • Purpose: Test
  • 🧪 Execution: (logs only)
  • 🎯 Perfect for: Demos & testing
  • Reserve/Commit: Works end-to-end
  • ⚠️ Limitation: No real matching

v1 (Full Production)

  • 💰 Cost: ~73 SOL (~$13,900)
  • 📦 Size: 10,485,760 bytes (10 MB)
  • Purpose: Production trading
  • 🔥 Execution: Real matching engine
  • 🎯 Perfect for: Live markets
  • Features: Full orderbook + positions
  • 🚀 Capacity: 1000s of users & orders

💡 What v1 Adds:

  • ✅ Real price-time orderbook matching
  • ✅ Position tracking & P&L calculation
  • ✅ Multi-user account pool (1000+ traders)
  • ✅ Order pool (10,000+ orders)
  • ✅ Reservation system with expiry
  • ✅ Slice-based fill execution
  • ✅ Cross-margin risk engine
  • ✅ Funding rate calculations

💸 Why 73 SOL for v1?

v1's 10MB slab contains: Header (200B) + 1000 user accounts (320KB) + 10,000 orders (2.4MB) + 5,000 positions (1.4MB) + 1,000 reservations (480KB) + 2,000 slices (512KB) + trade history (800KB) + aggressor tracking (192KB). This massive on-chain state costs ~73 SOL rent-exemption (~$13,900 at $190/SOL).

🎯 Try v0 Now

The v0 POC is fully functional for testing the complete Reserve → Commit workflow!