A DEX solver is an independent party that finds the best way to execute users’ signed trade orders and submits the winning settlement on-chain. On cowswap, that means you can state the trade you will accept while solvers find a way to fill it. Intent-based trading separates stating a trade from routing it: your signature sets the terms, and the solver works out the execution. Every settlement must respect each order’s signed limit price.
How does a solver settle a batch of signed orders?
On CoW Protocol, a solver takes a batch of signed orders, computes a settlement, and bids to execute it. An order specifies the tokens you will sell and buy and the worst price you will accept. You sign those terms before any solver chooses a route. Solvers must be approved and bonded to compete in the batch auction.
Solvers can match traders through a Coincidence of Wants: one trader wants tokens another trader is selling. They can also use an AMM, a pool that swaps tokens, or draw on private liquidity. One settlement may combine these sources to fill several orders. Each solver works out a combination that meets every signed limit, then submits a proposed outcome.
Say you want to sell one token for another. One solver finds a trader who wants the opposite trade; another finds an AMM route. Either route may meet your limit. What decides the auction is surplus: the improvement traders receive over the minimum outcomes they signed. The winning solution is the one that delivers the best surplus to traders in the batch.
Compare two bids for the same batch with identical signed limits and execution costs. One gives traders more of their requested tokens than the other, so it delivers more surplus and wins. If the second bid delivers more instead, the winner changes. The orders and limits stay fixed; the delivered outcome decides the result.
Why does off-chain solver competition matter to the trader?
Solver competition happens off-chain. Approved solvers can test matches, AMM routes, and private liquidity without writing each attempt to the blockchain. They submit proposed settlements for the batch auction to compare. Only the winning settlement is executed on-chain. Losing bids never touch the chain, so the trader pays nothing for those bids; solvers bear the work of preparing them.
That matters when several solvers try to fill the same batch. More proposals can uncover a better outcome without creating a chain transaction for every losing idea. The executed trade can still have costs reflected in its final outcome. Whatever route wins, the settlement must meet the price limit you signed.
An aggregator searches liquidity to route a swap. A solver’s unit of work is a batch of signed intents, where an intent is a trader’s signed description of an acceptable outcome. Working across the batch lets a solver match traders with each other, then use an AMM or private liquidity for amounts that still need filling.
Think of giving a courier a shopping list and a maximum bill. Several couriers can plan how to fill a group of lists, but only the chosen plan is carried out. Solvers likewise compete over proposed outcomes for a group of trades; the selected settlement is the one sent to the chain.
Related questions
What is an intent-based DEX?
An intent-based DEX lets you sign the trade outcome you will accept without choosing every pool and step used to reach it. The signed intent sets your limit, while solvers propose ways to meet it. A batch auction compares those proposals before the winning settlement executes.
How do solvers make money?
A winning solver earns compensation under the protocol’s auction rules for delivering a valid settlement. What it earns depends on the batch, its solution, and execution costs. A losing solver receives nothing for its bid, so finding a strong settlement efficiently matters.