Documentation Overview

Curve is a decentralized exchange (DEX) and automated market maker (AMM) on Ethereum and EVM-compatible sidechains/L2s, designed for the efficient trading of stablecoins and volatile assets.

Additionally, Curve has launched its own stablecoin, crvUSD, and Curve Lending, both featuring a unique liquidation mechanism known as LLAMMA.

This documentation outlines the technical implementation of the core Curve protocol and related smart contracts. It may be useful for contributors to the Curve codebase, third-party integrators, or technically proficient users of the protocol.

Resources for Non-Technical Users

Non-technical users might prefer the Resources site as it offers more general insights and information.


  • Asset 1 Curve DAO


    Core smart contracts include the Curve DAO Token, governance infrastructure governed by vote-escrowed CRV, mechanisms for fee collection and distribution, gauges, and many other components.

    Getting started

  • Curve Stablecoin (crvUSD)


    Over-collateralized USD stablecoin powered by a unique liquidating algorithm (LLAMMA), which progressively converts the put-up collateral token into crvUSD when the loan health decreases to certain thresholds.

    Getting started

  • Curve Lending


    Permissionless lending markets to borrow or lend crvUSD against any asset with a proper oracle. Additionally, the markets are powered by Curve's unique liquidation algorithm, LLAMMA.

    Getting started

  • StableSwap Exchange


    Implementation of the Stableswap algorithm, as detailed in the whitepaper, into on-chain exchange contracts to facilitate trades between multiple relatively stable assets in comparison to each other (e.g., USDC<>USDT).

    Getting started

  • CryptoSwap Exchange


    Implementation of the Cryptoswap algorithm, as detailed in the whitepaper, into on-chain exchange contracts to facilitate trades between multiple volatile assets (e.g. CRV<>ETH).

    Getting started

  • Registry


    A standardized API and on-chain Pool Registry Aggregator offering an on-chain API for various properties of Curve pools, by consolidating multiple pool registries into a single contract.

    Getting started

  • Pool Factory


    Permissionless deployment of liquidity pools, including stableswap and cryptoswap pools, along with liquidity gauges.

    Getting started

  • Curve API


    Public Curve API for pools, volumes, gauges, and much more, intended for all those seeking to integrate Curve data into their own projects.

    Getting started

  • Oracles


    coming soon