๐Ÿ“– Introduction

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: 99 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.

typescript
const sig = await flash.executeLocal({
  token: 'mSOL',
  amount: 5000,
  onFunds: async (ixs) => {
    ixs.push(myArbitrageInstruction);
    return ixs;
  },
});

Why VAEA Flash

MetricVAEA FlashOthers
State size99 B1,500 โ€” 4,000 B
Accounts / IX511
CU per IX~25K50K โ€” 80K
CPI consumed0 โœจ1-2 levels
Multi-sourceโœ…โŒ
SDK features111
Fee2 bps (SDK)0

11 SDK Features

FeatureDescription
120+ Direct / Any SPL SyntheticDirect from Marginfi + Kamino + Jupiter Lend. Smart Router picks cheapest path. Any SPL token via synthetic routing
Zero-CPIFlashState PDA readable by any program โ€” zero CPI depth consumed (~2K CU)
Turbo ModeBuild 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 BundlesPrivate bundles via Block Engine โ€” invisible to MEV bots
Smart RetryAutomatic retry with escalating priority fees โ€” only retries transient errors
SimulationDry-run against live state โ€” no SOL spent, zero risk
Multi-Token FlashBorrow 2-4 different tokens in a single atomic transaction
Fee GuardSet max fee limit โ€” SDK auto-rejects if cost exceeds threshold
Warm CachePre-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).

PackageRegistryInstallUsage
@vaea/flashnpmnpm i @vaea/flashTypeScript SDK โ€” bots, frontends, scripts
vaea-flash-sdkcrates.iocargo add vaea-flash-sdkRust SDK โ€” high-frequency bots
vaea-flashPyPIpip install vaea-flashPython SDK โ€” scripts, data science

On-Chain Integration

CrateRegistryInstallUsage
vaea-flash-ctxcrates.iovaea-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.
ComponentStatus
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 publishAfter mainnet
Program (Mainnet)April 2026