Collect
The collector takes signed orders for the window: what you sell, what you buy, how much, and the least you’ll accept. You approve the settlement account once, so each order after that is a free signature rather than a transaction.
Chord is a batch exchange on Solana. Orders collect over a short window, every fill in the pair clears at one price, and bonded solvers compete to fill what the batch can’t match inside itself.
Move across the strings. Every string you cross is an order, held until the window closes, then released with the rest.
On an AMM, where an order lands in the block sets its price. A bot that buys just before you and sells just after keeps the difference.
Inside a batch, position changes nobody’s price. The bot’s buy and sell both fill at 142.54 and cancel out. Opposite orders fill each other, and only the 120 SOL net goes to a solver.
Illustration: a 50,000 SOL constant-product pool at 142.20, fees left out.
Buy orders rise from the bottom to their limit. Sell orders hang from the top to theirs. Every string that reaches past the bridge fills at the bridge price, and the length past it is that order’s surplus.
Drag the bridge. When you let go it settles on the nearest solver quote. The quote that leaves users the most surplus wins the batch.
The price is committed and every output escrowed before a single fill lands, so one batch can settle over as many transactions as it needs.
The collector takes signed orders for the window: what you sell, what you buy, how much, and the least you’ll accept. You approve the settlement account once, so each order after that is a free signature rather than a transaction.
Bonded solvers — market makers, prop AMMs, routers — each quote one price for the pair and the fills it implies. The quote that leaves traders the most surplus wins.
The winning price is written to the batch account, and in the same transaction the solver escrows every output it owes. From here on, the price for this batch cannot move.
Fills land over as many transactions as the batch needs. Each one moves your input in and your output out together, at the committed price and never below the minimum you signed.
A solver that commits and doesn’t finish loses its bond. Orders it didn’t fill never left their wallets, and can go into the next batch with a fresh signature.
Traders sign orders and get one price. Solvers compete to fill them, and put up a bond and the full output before a single fill lands.
Swap at the batch price from any Solana wallet.
Quote whole batches and fill the net with your own inventory.