Introduction
Invia is an on-chain escrow program on Solana for OTC trades in any SPL token. Anyone can post a sell or buy offer at a fixed price. Anyone else can fill it, in full or in chunks. Both legs settle in one transaction. The team never touches user funds.

The problem
Solana low-cap tokens have thin AMM liquidity. A whale exiting a 100k position through Raydium or Meteora eats heavy slippage and tanks the chart on the way out. A buyer accumulating size moves the price against themselves the moment the first chunk lands. Both sides lose money to the AMM curve before they even begin trading.
The current workaround is a Telegram DM. Two strangers agree on a price, then one of them has to send first. There is no escrow, no recourse, no atomicity. Half of these trades end in a "wallet ghost" or a 5–10% middleman fee from a trusted desk.
What Invia does
Invia is one Anchor program on Solana mainnet that holds the entire OTC flow:
- Maker locks tokens (or stables) into a program-owned vault at a chosen price.
- Takers fill the offer in chunks, paying in
USDC,USDT, orSOL. - Settlement is a single Solana transaction. Both legs land or neither does. There is no four-hour window, no LayerZero bridge, no resell layer.
- The 0.20% taker fee is skimmed in the payment mint at fill time and routed to a hardcoded treasury.
The maker's tokens never leave the program-derived vault except to the final recipient. The team has no key that can move them.
Once the program is deployed, no human at Invia can change a parameter, pause it, upgrade the bytecode, redirect fees, or move escrowed funds. The upgrade authority is renounced at the launch transaction.
Who Invia is for
What this section covers
- Why Invia, the value vs AMM swaps, vs trust-based DMs, and vs the closest existing escrow protocol.
- How it works, the four instructions, the vault model, and the atomic settlement guarantee.
Then the trading guides walk through the maker and taker flows end-to-end, and the protocol section documents the fee schedule, contract address, and trust model in detail.