Docs · intent-based DEX aggregator
Describe a swap. We find the path.
Ophis is a natural-language DEX aggregator. Tell it what you want — swap 100 USDC for ETH on Base — and a network of solvers competes to fill your order at the best price, with MEV protection built in via batch auctions.
How it works
Three steps from your sentence to settlement.
01 · Intent
Parse the request
You type a swap in plain English. An open LLM (LibertAI Qwen 3.5 122B) extracts the sell token, buy token, amount, and chain into a structured order.
02 · Auction
Solver competition
The signed order is broadcast to the batch auction. Solvers race to find the best path — DEX, peer-to-peer match, or cross-chain bridge — and bid for the right to settle.
03 · Settle
On-chain, MEV-protected
The winning solver settles your order in a batch where every trade clears at the same uniform price. No front-running, no sandwich, no priority-gas auction.
Fees
Ophis charges a partner fee on price improvement only — the difference between the quote we showed you and the price the solver actually delivered. On trades that don't beat the quote, the fee is 0%.
The full formula:
capped at 0.5% × tradeVolume
- 0% fee on every trade that fills at the quoted rate.
- 25% of improvement when execution beats the quote.
- Hard cap at 0.5% of nominal trade volume — protects whales on chunky positive slippage.
- A 25% service fee is retained by the underlying protocol on the partner share; Ophis nets ~18.75% of price improvement after that.
Implemented via the CIP-75 partner-fee model
(priceImprovementBps). See the
governance proposal
for the full protocol details.
Supported networks
13 EVM chains as source / destination. Plus Solana and Bitcoin as cross-chain destinations via NEAR Intents. 150+ tokens across stablecoins, ETH/BTC pegs, DeFi blue-chips, AI/RWA, memes, and gaming.
Ethereum
Arbitrum
Base
Optimism
Polygon
Avalanche
BNB Smart Chain
Gnosis
Linea
Scroll
Blast
Mantle
zkSync EraBridge destinations (output only, via NEAR Intents)
Trade from any EVM source chain to these networks without a second wallet. NEAR Intents brokers the bridge; you paste a destination address and sign with your EVM wallet.
Trust & security
Non-custodial
Ophis never holds your funds. You sign each order with your own wallet; the signed intent is executed by a solver from the permissionless solver set.
MEV-protected by design
Batch auctions clear every order at the same uniform price. Sandwich attacks, front-running, and priority-gas auctions are eliminated by construction — not best-effort.
Open source
The full Ophis frontend, intent-parser proxy, and infra runbooks live at github.com/ophis-fi/ophis. Auditable end to end.
Multisig fee custody
Partner fees accrue weekly to a Gnosis Safe at 0x858f…CeF8 (CREATE2-deterministic, same address on every supported chain).
FAQ
How is Ophis different from 1inch or Matcha?
Ophis uses batch auctions and a solver competition to settle every order at the best on-chain price — with MEV-protection by construction. The natural-language input lets you skip the token-pickers entirely. And our fee model is price-improvement-only: 0% on ordinary trades, 25% of any positive slippage above quote, capped at 0.5% of volume.
Do I need to connect a wallet?
Yes — you sign your swap order with your own wallet. Ophis is non-custodial; the signed order is broadcast to the solver network for execution and your funds move only when a solver settles the batch.
Which networks are supported?
13 EVM chains as source / destination: Ethereum, Arbitrum, Avalanche, Base, Blast, BNB Smart Chain, Gnosis, Linea, Mantle, Optimism, Polygon, Scroll, and zkSync Era. Plus Solana and Bitcoin as cross-chain destinations via NEAR Intents.
Is my trade protected from MEV?
Yes. The batch auction settles every order in a batch at the same uniform clearing price. Front-running and sandwich attacks are eliminated by construction — there's no priority-gas auction to win because the protocol does not reorder transactions for value.
What happens if no solver matches my intent?
The order expires after its configured validity window (default 30 minutes) and your funds stay in your wallet. You can resubmit, change parameters, or cancel at any time.
How are partner fees collected?
Via the CIP-75 priceImprovementBps field in the order's appData. The fee is taken from the trade output at settlement and routed to the Ophis Safe weekly via the partner-fee data script. A 25% service fee is retained by the underlying protocol on the partner share by default.
Is Ophis open source?
Yes — full source at github.com/ophis-fi/ophis. Ophis is an open-source DEX aggregator frontend with an added natural-language intent-parsing layer.
Can I use Ophis's intent parser in my own app?
Yes. The natural-language → structured-order endpoint is publicly available at POST /api/intent with a 30/min/IP rate limit, no auth, no key. Full reference at ophis.fi/docs/api. Build it into a Telegram bot, browser extension, agent framework, or your own UI.