VAEA Flash โ Zero-CPI Standard
VAEA Flash is the Zero-CPI flash loan standard for Solana โ the ERC-3156 of Solana, but better. Borrow any SPL token in a single atomic transaction, with the lightest footprint possible: 98 bytes of state, 5 accounts per IX, ~25K CU.
One SDK call. Any token. From 0.02% fee (SDK tier). ~100ms latency. Zero CPI consumed.
Why VAEA Flash
| Metric | VAEA Flash | Others |
|---|---|---|
| State size | 98 B | 1,500 โ 4,000 B |
| Accounts / IX | 5 | 11 |
| CU per IX | ~25K | 50K โ 80K |
| CPI consumed | 0 โจ | 1-2 levels |
| Multi-source | โ | โ |
| SDK features | 11 | 1 |
| Fee | 2 bps (SDK) | 0 |
11 SDK Features
| Feature | Description |
|---|---|
| 120+ Direct / Any SPL Synthetic | Direct from Marginfi + Kamino + Jupiter Lend. Smart Router picks cheapest path. Any SPL token via synthetic routing |
| Zero-CPI | FlashState PDA readable by any program โ zero CPI depth consumed (~2K CU) |
| Turbo Mode | Build instructions locally in 0.1ms โ zero HTTP, zero API |
| executeSmart() | Smart Router evaluates ALL paths โ direct across 3 protocols + synthetic via SOL/USDC/USDT bridge โ picks cheapest |
| readFlashState() | Read FlashState PDA on-chain for composability |
| Jito Bundles | Private bundles via Block Engine โ invisible to MEV bots |
| Smart Retry | Automatic retry with escalating priority fees โ only retries transient errors |
| Simulation | Dry-run against live state โ no SOL spent, zero risk |
| Multi-Token Flash | Borrow 2-4 different tokens in a single atomic transaction |
| Fee Guard | Set max fee limit โ SDK auto-rejects if cost exceeds threshold |
| Warm Cache | Pre-compute PDAs and ALT at boot for instant calls |
Packages
VAEA ships 3 client SDKs (for bots, apps, scripts) + 1 on-chain crate (for Solana programs that want to verify flash loan context without CPI).
| Package | Registry | Install | Usage |
|---|---|---|---|
| @vaea/flash | npm | npm i @vaea/flash | TypeScript SDK โ bots, frontends, scripts |
| vaea-flash-sdk | crates.io | cargo add vaea-flash-sdk | Rust SDK โ high-frequency bots |
| vaea-flash | PyPI | pip install vaea-flash | Python SDK โ scripts, data science |
On-Chain Integration
| Crate | Registry | Install | Usage |
|---|---|---|---|
| vaea-flash-ctx | crates.io | vaea-flash-ctx = "0.1" | Zero-CPI verification โ read FlashState PDA from your Solana program, 0 CPI consumed |
โน๏ธ Note
The 3 SDKs are client-side โ they build and send transactions. The vaea-flash-ctx crate is on-chain โ it lets your Solana program verify a VAEA flash loan is active without a CPI call. Different tools, complementary purposes.Who Is It For
๐ค
Liquidation Bots
Flash loan collateral tokens (JitoSOL, mSOL) to liquidate lending positions without owning the asset. ~100ms with Turbo Mode.
๐
Arbitrage Bots
Instant capital on any token pair. Flash, arb, repay โ zero upfront capital. Multi-token flash for cross-pair strategies.
๐๏ธ
DeFi Protocols
Integrate via SDK or add vaea-flash-ctx to your program for Zero-CPI verification.
๐จโ๐ป
Solo Developers
Build with flash loans in minutes. No routing code, no pool management, no RPC lookups.
Status & Roadmap
โ ๏ธ Warning
VAEA Flash v2 (Zero-CPI) is deployed on Solana Devnet. Mainnet launch expected April 2026.| Component | Status |
|---|---|
| Program v2 (Devnet) | โ Live |
| REST API v2 | โ Live |
| TypeScript SDK (@vaea/flash) | โ Built |
| Rust SDK (vaea-flash-sdk) | โ Built |
| Python SDK (vaea-flash) | โ Built |
| Zero-CPI Crate (vaea-flash-ctx) | โ Ready |
| npm + crates.io + PyPI publish | After mainnet |
| Program (Mainnet) | April 2026 |