Skip to main content

Introduction

CoW Protocol is a permissionless trading protocol that provides three main advantages:
  • MEV Protection - Protection against MEV attacks through batch auction settlement
  • Gasless Trading - Elimination of gas fees via off-chain order signing
  • Coincidence of Wants - Direct matching of compatible orders when possible

How It Works

Users sign orders off-chain using EIP-712, eliminating the need to pay gas fees. Solvers then compete in batch auctions to discover optimal settlement routes, matching direct trades or routing through available liquidity sources (Uniswap, Balancer, Curve, etc.).

Core Smart Contracts

The system includes three core smart contracts:
  • GPv2Settlement - Executes trades and validates signatures
  • GPv2VaultRelayer - Handles token transfers and Balancer Vault integration
  • GPv2AllowListAuthentication - Manages solver access control

How Users Participate

  1. Traders submit off-chain signed orders specifying token pairs, amounts, and price limits
  2. Solvers compete to discover optimal settlement routes
  3. Trades are settled in batch auctions at uniform clearing prices
  4. Users receive their tokens without paying gas

Next Steps

Last modified on March 4, 2026