OniSwap's bot fee caught every bot swap we ran it against. We put the rule over two real Orca pools, and it classed 0 SOL of bot volume as routed, so none of the bots' trading got through at the price meant for wallets and aggregators.
The program reads each swap's own transaction to see who sent it. A wallet, Jupiter, Titan, DFlow or OKX pays the pool's base fee. Any other program pays the route fee the pool's creator set, and the LPs collect it. Telling them apart costs the swap about 500 compute units.
Open a pool with a fee for bots
oniswap.app/app#create
2
6
185
We raced a $1M OniSwap JTO/USDC pool against Jupiter's best route on Solana, and our pool gave the trader the better price at every trade size we sent it.
Jupiter searches every public JTO pool for each quote. A single OniSwap pool beat that search across the board because it reprices from the live JTO feed instead of waiting for a trade to move it, which leaves its depth sitting right at the market price where the orders land.
Our app sends each swap to whichever pays more, an OniSwap pool or Jupiter, so a pool like this takes the trade every time it wins, and its LPs collect the fee.
Open a JTO/USDC pool
oniswap.app/app#create
3
9
192
We kept an OniSwap price feed live through a volatile week for 0.021 SOL. Its keeper posted the market price 4,121 times, and every pool reading that feed repriced with each post without a single trade having to move it.
One post reprices every pool on the feed, so four pools cost what one does, and several feeds fit into the same transaction. That puts a pool that moves with the market, the thing that keeps bots off its LPs, at about $1.45 a day. Anyone can run a keeper for their own market.
The price feeds
oniswap.app/app#feeds
5
149
We opened OniSwap accounts on Solana mainnet, then closed every one of them and got the rent back. Our recover script found 0 accounts left behind. Every account the program creates can be closed, and deposit, withdraw, claims and close never read the price feed or call a hook, so whatever an LP puts into an OniSwap pool, down to the SOL that opened its accounts, comes back to the LP's wallet on the way out.
The whitepaper
oniswap.app/whitepaper
1
4
234
We set an OniSwap pool's fee to zero and threw 3,000 swaps at the engine, looking for a buy and sell back that leaves the trader with more than they started with. Not one round trip came out ahead. Every rounding step in the program goes the pool's way, so each unit a trader takes out of an OniSwap pool is a unit they paid for, and everything the pool charges on top lands with its LPs.
The whitepaper
oniswap.app/whitepaper
7
189
We got a $250,000 OniSwap pool to earn what a $1,000,000 pool earns.
On our 15/16 curve, a $250,000 pool earns $1.07M a year. A $1,000,000 pool on our 3/4 curve, facing the same trades, earns $1.08M. The deep curve puts its money right at the live market price, where the trades land, so a quarter of the capital wins almost all of the same flow.
For an LP that means the fee income of a million-dollar pool from a quarter of the money. You pick the curve once, when you open the pool.
oniswap.app/app#create
5
231
We cut the cost of a swap on OniSwap's 3/4 curve from 80,093 compute units to 48,643, about 40% less, while it still reads the pool's own live feed and checks it against Pyth on every trade. Compute is what Solana meters every transaction by, and a router that strings several pools into one route has a fixed amount to spend, so Jupiter or any wallet can now fit our pools into routes that had no room for them before.
1
7
324
OniSwap's SDK quotes our pools exactly the way Jupiter's own test kit does. We put 480 swaps through plain, hooked and oracle pools, eight kinds in all, and every one matched Jupiter's test kit to the token.
Any router or wallet that plugs into OniSwap gets a quote that lands on chain to the last unit, on the same pools that already beat Jupiter's best route for JTO at every size once they hold $1,000,000.
1
7
345
OniSwap's upgrade authority now sits in a Squads v4 multisig. Since 2026-11-23, changing the program or its config takes two of three signers approving on chain.
The prop AMMs that trading firms run are closed, and only the firm knows who can change them. Ours is public, and so is the vault that holds the key.
Check it on any Solana explorer. Program solscan.io/account/CCn6P5NHv…, upgrade authority solscan.io/account/5DeSAnu8B….
11
334
1,157,202 transactions hit Orca's SOL/USDC pool in one day, and about 73,000 of them were trades. Most of the rest came from bots that read the pool's price and left without a trade, or lost the race and failed.
That race is how a classic pool keeps up with SOL. Its price changes only when someone trades with it, so it gets traded back in line about 50 times a minute, mostly by bots.
An OniSwap price feed pool keeps up with one keeper instead. Replayed on the same day of SOL's price, our keeper posts 3,446 updates, one whenever SOL moves 0.05% or 50 seconds pass, and anyone can add liquidity to the pool it prices.
oniswap.app/app#feeds
2
12
510
OniSwap now lets every new pool charge bots more than people.
We went through 26 hours of every swap in Orca's JTO/SOL pool. Arbitrage bots trading from their own programs sent 86% of the volume and were the only flow that cost its LPs money, while every route through Jupiter, OKX, Titan and DFlow left them ahead. The pool took in $267 of fees that day and its LPs finished about even.
From today, whoever opens an OniSwap pool sets a second fee just for bots, 1% unless they choose another. Swaps from a wallet or an aggregator pay the normal fee, and the OniSwap program reads from the transaction itself which ones came from a bot. We replayed that JTO day through an OniSwap pool of $147,000 with bots paying 1%, and its LPs gained 4.3 times as much.
oniswap.app/app
Our logo is a thumbprint because every OniSwap pool carries one.
Whoever opens a pool picks its hook and its price source once, and the pool keeps them for life. The creator cannot swap them out later either, so an LP can see what a pool will run on before putting any money in.
oniswap.app/app
13
456
Right now on Solana, buying $50,000 of SOL and selling it straight back costs $6. The same round trip in PYTH costs $3,724.
SOL gets its price from prop AMMs that follow the market every second. PYTH still trades through pools that only move when someone trades against them.
OniSwap brings pools that follow the market to tokens like PYTH, and any wallet can deposit into them.
oniswap.app
Eleven prop AMMs on Ethereum have filled about $13 billion of trades since June, according to @class_lambda, who run the router that sends orders to them.
Each of those pools holds the money of a single market maker.
On Solana, OniSwap pools move their price with the market too, and any wallet can deposit into one.
oniswap.app
1
10
478
When we posted this, the rule lived in our app. It now lives in the OniSwap program on mainnet.
We asked mainnet to simulate opening a JTO/USDC pool at 0.27%, one basis point under the floor for the JTO feed, and the program refused it. At 0.28% it went through.
So it no longer matters which app or script opens a pool. The fee its LPs keep covers the whole band.
The rule behind this ceiling is built into the button that opens a pool.
When you open an OniSwap pool on a price feed, the app works out the lowest fee that still covers the feed's band after the protocol's share and the hook's share leave the pool, and it keeps every new pool at or above it. On the SOL/USDC feed, with its 0.2% band, that floor is 0.23% for a plain pool and 0.24% with the Launch fee hook.
Half the band was the textbook answer. On OniSwap the fee covers all of it, and the app does that math for you.
oniswap.app/app
19
553
The code that prices a prop AMM is private to the trading firm that runs it.
The code that prices an OniSwap pool is one file of 201 lines that anyone can read in a few minutes and run for their own pool. The OniSwap program uses its price only inside a band around Pyth, pauses swaps if it goes quiet, and gives its key no way to touch pool funds.
oniswap.app/keeper.mjs
We took one day of JTO's real trading volume on Solana and replayed it against a $250,000 OniSwap pool, sending every trade to whichever paid the trader more, our pool or Jupiter's best route.
The OniSwap pool won 76% of the trades and earned its LPs 60.7% a year, four times what an ordinary pool of the same size made.
Every token we tested is in Table 6 of the whitepaper.
oniswap.app/whitepaper
5
19
1,304
OniSwap now sends your swap to Jupiter whenever Jupiter pays you more than our own pools do.
On oniswap.app you can pick any token Jupiter trades. The swap card prices our pools and Jupiter's best route for the same amount, takes whichever leaves more in your wallet, and adds no fee on top of the Jupiter route.
Our pools get your trade only when they pay you more.
oniswap.app/app
Uniswap's VolatilePair hook charges a temporary fee on the trade that pushes the price back after a big move, and only Uniswap Labs can open those pools.
That half already runs on Solana. OniSwap's Backrun premium hook is live on mainnet, makes the trade that reverses a large one pay extra, and the pool's LPs keep it. Any wallet can open a pool with it.
OniSwap pools can also follow a live price feed, so the quote has already moved before the first bot shows up. The other half, a fee that follows how fast the price is moving, is what we're building now.
oniswap.app






















