CoinYQ

What is CoW Protocol?

CoW Protocol is a permissionless trading protocol for Ethereum and other supported networks. Its main user interface is CoW Swap, but the protocol itself is the settlement and auction layer that accepts signed trading intents and arranges their execution. The protocol was formerly known as Gnosis Protocol.

Instead of requiring a user to submit a transaction that directly calls an AMM, a user signs an intent specifying assets, amounts, limit prices and other constraints. The order is collected in an off-chain order book, then settled on-chain by a smart-contract-verified solution.

CoW Protocol uses fair combinatorial batch auctions and an open competition among independent solvers. The design combines peer-to-peer matching, available on-chain liquidity, and solver-accessible private liquidity to seek better execution while reducing users' exposure to sandwich attacks and other forms of transaction-order manipulation.

The CoW DAO supports development and governance of the protocol. COW is the ecosystem's governance token; governance venues include the forum, Snapshot and Discord.

What problem does CoW Protocol solve?

A conventional on-chain swap exposes a user's transaction and execution route to public mempools, AMM price impact, liquidity-provider fees and MEV strategies such as sandwich attacks. Direct execution also fixes the route before execution, limiting the ability to use newly available liquidity or match another trader with the opposite need.

CoW Protocol addresses this by separating expression of a user's constraints from route construction. Solvers compete after orders are grouped into a batch, and the selected settlement must satisfy the signed limit price, quantity and signature checks. Batch-level optimization can match users directly, reduce repeated gas costs, and compare multiple liquidity sources.

The approach has trade-offs: orders are asynchronous rather than immediate transactions, and the quality of execution depends on solver competition, valid liquidity and the protocol's auction and settlement rules. Users should still verify the domain, token and order constraints they sign.

How does CoW Protocol work?

A trader signs an intent rather than an executable transaction. The intent describes the sell and buy tokens, amounts, limit price and validity constraints. Users normally approve the Vault Relayer, while the Settlement contract verifies the signed intent and enforces its conditions during execution.

The order book aggregates intents until an auction batch closes. Solvers then submit candidate solutions, including individual bids and batched bids. A fair combinatorial auction filters unfair batched bids and selects a combination that maximizes surplus for participating orders subject to computational constraints.

A winning solution may use on-chain AMMs and other liquidity, solver-held private inventory, or Coincidence of Wants (CoWs). In a simple CoW, opposite orders exchange directly without touching an AMM; batching can combine similar trades to save gas; intermediate and multidimensional CoWs can share liquidity across several assets and users.

The winning solver submits a settlement transaction. Uniform directed clearing prices make repeated trades in the same direction within a batch settle consistently, making transaction order less useful for MEV extraction. Solver bonding, allowlisting/auction rules, contract checks and post-settlement data provide the security and verification layers.

Key facts

  • CoW Protocol is permissionless and uses fair combinatorial batch auctions as its price-finding mechanism.
  • Users sign trade intents; intents are constraints, not executable transactions.
  • Independent bonded solvers compete to submit settlement solutions, and the highest-surplus valid solution wins.
  • Coincidence of Wants enables peer-to-peer settlement between users with opposing orders, bypassing AMM liquidity-provider fees when fully matched.
  • Uniform directed clearing prices give identical directed token pairs in one batch a consistent clearing price and help mitigate transaction-order MEV.
  • CoW Protocol can source liquidity from on-chain venues and solver-accessible private inventory.
  • The protocol supports gas payment in the sell token, so users need not necessarily hold the chain's native token for gas.
  • The CoW Explorer combines off-chain order-book and on-chain settlement information.
  • COW is the governance token; the initial token generation issued 1 billion COW, and documented maximum inflation is 3% per year with no more frequent than annual changes.
  • Official SDK documentation currently lists Ethereum, BNB Chain, Gnosis Chain, Polygon, Base, Plasma, Arbitrum One, Avalanche, Ink, Linea and Sepolia testnet as supported networks.

Official links

Categories

Related coins

Compare

Frequently asked questions

What does CoW mean?

CoW means Coincidence of Wants: two or more parties hold assets the others want and can exchange directly. CoW Protocol uses batch auctions to discover these matches, including partial, intermediate and multidimensional matches.

Is CoW Protocol an exchange or an aggregator?

It is a permissionless settlement and auction protocol. CoW Swap is its primary trading interface, while the protocol's solvers can combine peer-to-peer matching, on-chain liquidity and private liquidity rather than simply routing every order through one aggregator path.

How does CoW Protocol protect against sandwich attacks?

Users submit signed intents instead of exposing an ordinary swap transaction with a fixed route. Solvers compete to execute batches, and uniform directed clearing prices make the transaction ordering of equivalent directed trades irrelevant within a batch. Direct CoWs also avoid AMM interactions altogether.

Who can become a solver?

The documentation says anyone with DeFi knowledge and the ability to code an optimization algorithm can create a solver, subject to the protocol's onboarding, bonding and operational requirements. Solvers use user approvals through the Vault Relayer; they do not receive separate ERC-20 approvals from users.

What is the COW token used for?

COW is CoW DAO's governance token. Holders can participate in governance directly or through documented delegation/voting arrangements. The token documentation lists 1 billion tokens issued at TGE and a maximum annual inflation rate of 3%.

Where can I inspect a CoW order?

Use explorer.cow.fi. Search can be performed by order ID, user address or the transaction hash of a batch auction.

External trackers

Choose a tracking site for CoW Protocol: