How a swap settles¶
Abyss is a Request-for-Quote (RFQ) exchange. Instead of routing your trade through a public liquidity pool, Abyss sends your request to a network of solvers and settles the winning quote through a Midnight smart contract.
Current rollout status
The multi-solver network is deployed on Midnight preprod. In the testnet app today, Abyss's own market maker quotes and fills every swap while external solver routing rolls into the app.
Four steps from quote to payout¶
- You ask for a price. Pick the tokens, their shielded or unshielded forms, and the amount you want to send. Every request goes out to solvers. Each solver prices it from its own inventory, and the best quote offered is the one you receive.
- You lock your tokens in the settlement contract. Your quote is fixed before you approve anything. One wallet approval locks the tokens you are selling inside the settlement contract on Midnight under that signed quote and a deadline.
- One transaction pays both sides. The winning solver fills your order through the settlement contract. The contract releases your locked tokens to the solver only in the transaction that delivers the quoted output to you.
- Full refund if the quote expires. If no solver fills your order before the deadline passes, nothing settles. You open Orders, select Refund, and the contract returns your tokens in full.
Why there is no public pool¶
Automated market makers (AMMs) publish pool balances and pricing curves on-chain. Anyone can inspect them, calculate price impact, and trade ahead of pending transactions.
Abyss has no liquidity pool and no public order book:
- Solvers quote directly from their own inventory off-chain.
- Quotes return privately to you; no resting order or pre-trade intent sits on the public ledger.
- Only the settled swap reaches Midnight.
Nothing to front-run¶
Because your quote is fixed and verified by the settlement contract before your tokens move, transaction ordering inside a block cannot change your price:
- A bot can land a trade in the block ahead of yours, but your quote stays fixed.
- Your swap settles at the quoted price, or it expires and you get your tokens back.