Introduction
Venum is Solana execution infrastructure for builders. It provides the layer between raw RPC and your application — swap building, routing, MEV-protected submission, and real-time pool state.
What Venum Does
Every trading bot, wallet, Telegram bot, and dApp on Solana rebuilds the same painful stack:
- DEX integration — Understanding 12+ DEX protocols, their account layouts, instruction formats
- Route optimization — Finding the best pool for a given swap across all DEXes
- Transaction building — Composing instructions, compute budgets, blockhash management
- MEV-protected submission — Jito bundles, retry logic, rebroadcast
- Real-time data — Pool state, price feeds, new pool detection
Venum handles all of this. You get composable TransactionInstruction[] that you can bundle with your own logic.
Venum vs Jupiter
| Venum | Jupiter API | |
|---|---|---|
| Output | TransactionInstruction[] — compose with anything | Serialized TX blob — take it or leave it |
| Self-hostable | Yes (open-source SDK) | No |
| Rate limits | None (self-hosted) or generous (hosted) | Strict quotas |
| Pool state | Real-time via Geyser | Not available |
| Submission | Jito MEV-protected, built-in | Not included |
Supported DEXes
| DEX | Type | Protocol |
|---|---|---|
| Orca Whirlpool | Concentrated liquidity | CLMM |
| Raydium CLMM | Concentrated liquidity | CLMM |
| Raydium AMM V4 | Constant product | AMM |
| Raydium CPMM | Constant product | AMM |
| Meteora DLMM | Dynamic liquidity | Bin-based |
| Meteora Dynamic | Constant product | Mercurial vaults |
| Meteora DAMM V2 | Dynamic AMM | V2 |
| PumpSwap | Constant product | pAMM |
| Phoenix | Order book | CLOB |
| Orca Token Swap | Constant product | Legacy |
| Saber | Stable swap | StableSwap |
| Numeraire | Stable swap | 1bps fee |
Architecture
Your App
│
▼
Venum API (api.venum.dev)
├─ POST /v1/quote → Best route across 12 DEXes
├─ POST /v1/swap/build → Unsigned TX (you sign)
└─ POST /v1/swap → Submit via Jito (MEV-protected)
│
▼
Execution Engine
├─ 12 DEX swap builders (local math, zero RPC for cached pools)
├─ Geyser gRPC pool state (real-time, sub-second)
├─ Pyth + Binance price feeds
├─ Jito bundle submission (5 regional endpoints)
└─ Blockhash cache (2s refresh)