Certified Crypto Market

Collateralized Debt Positions (CDPs) Explained

CDP crypto explained: how collateralized debt positions lock collateral to mint stablecoins, a worked example, liquidation ratios, fees and the risks to check.

CCM ResearchCertified Crypto Market22 nov 20264 min lezen
Delen op XLinkedIn

A collateralized debt position (CDP) is a smart contract position in which you lock crypto as collateral and mint a stablecoin (or borrow another asset) against it, keeping the collateral's value above a required ratio until you repay the debt and unlock your collateral. If the collateral's value falls too far, the protocol liquidates it to cover the debt.

CDPs are one of DeFi's oldest building blocks. They let people get spending money or stablecoins without selling the crypto they want to keep — and they are also a common way people lose their collateral in a market crash. This guide explains how CDPs work, walks through a simple example and lists the risks to check.

How a CDP Works, Step by Step

  1. 1Deposit collateral. You lock an approved asset, such as ETH, in the protocol's smart contract.
  2. 2Mint or borrow. You generate stablecoins up to a limit set by the collateral's value and the protocol's required ratio.
  3. 3Use the stablecoins. You can spend, trade or deploy them elsewhere — they are now independent tokens.
  4. 4Monitor the ratio. As the collateral's market price moves, so does your collateralization ratio (collateral value divided by debt).
  5. 5Repay and withdraw. To close, you return the stablecoins plus accrued fees. The returned stablecoins are destroyed and your collateral is released.
  6. 6Or get liquidated. If your ratio falls below the minimum, the protocol sells collateral to cover the debt.

Key terms

TermMeaning
Collateralization ratioCollateral value ÷ debt, shown as a percentage
Liquidation ratioThe minimum ratio before liquidation can happen
Stability feeInterest charged on the debt, accruing over time
Liquidation penaltyAn extra charge taken from collateral when you are liquidated
Debt ceilingThe maximum total debt a protocol allows for a collateral type

A Worked Example (Hypothetical Numbers)

The numbers below are made up and rounded to illustrate the mechanics; they are not real protocol settings.

For example, imagine a protocol with a 150% liquidation ratio. You deposit collateral worth $3,000 and mint 1,000 stablecoins.

  • Starting ratio: $3,000 ÷ $1,000 = 300%. Comfortably safe.
  • Collateral falls to $2,000: ratio is 200%. Still above 150%, but your buffer is shrinking.
  • Collateral falls to $1,500: ratio is 150%. You are at the liquidation line.
  • Collateral falls to $1,400: ratio is 140%. The position can be liquidated. Collateral is sold to repay the 1,000 debt, and a liquidation penalty is taken on top.

You'd still hold the 1,000 stablecoins you minted, but you'd lose much of your collateral. To avoid this, you could add more collateral or repay part of the debt before the price hits the line. Our guide on how to monitor a DeFi loan and avoid liquidation covers practical alerts and buffers.

Where CDPs Came From

MakerDAO popularized the CDP model with DAI, a decentralized stablecoin backed by crypto collateral. Maker later renamed CDPs "vaults" and expanded to multiple collateral types, and the project has since rebranded as Sky. Read what is Sky (formerly Maker) and see live data for DAI and Sky.

Other designs followed. Some use a single collateral type, a one-time fee instead of ongoing interest, or a different liquidation process. The core idea stays the same: over-collateralized debt, enforced by code. For the broader concept, see over-collateralization.

Why People Use CDPs

  • Liquidity without selling. Holders get stablecoins while keeping exposure to their collateral.
  • Leverage. Some users mint stablecoins, buy more of the collateral asset and deposit again — which magnifies both gains and losses.
  • Stablecoin creation. CDPs are how decentralized stablecoins like DAI come into existence.

Leverage loops are particularly dangerous: a moderate price drop can trigger liquidations that wipe out the position.

Risks of CDPs

  1. 1Liquidation risk. Fast price drops can push you below the ratio before you react, especially during network congestion.
  2. 2Oracle risk. Protocols rely on price feeds; a wrong or delayed price can trigger unfair liquidations or allow bad debt.
  3. 3Smart contract risk. Bugs can lead to loss of collateral.
  4. 4Stablecoin peg risk. If the stablecoin trades above $1, repaying becomes more expensive; if it falls, the system may be under stress.
  5. 5Fee changes. Governance can change stability fees, making the debt more expensive over time.
  6. 6Governance risk. Token holders can change collateral types, ratios and other rules.

How to Check a Protocol Before Opening a CDP

  • Read the documentation for liquidation ratio, penalty, fees and how liquidations are executed.
  • Check audits and track record. Look for multiple independent audits and how the protocol handled past market crashes. See how to evaluate a smart contract audit report.
  • Understand the oracle. Find out which price feeds are used and whether there is a delay.
  • Verify the website and contracts. Use the official domain and confirm token addresses before approving anything.
  • Plan your buffer. Decide in advance how far the price can fall before you add collateral or repay.

Bottom line

A CDP lets you lock crypto and mint or borrow a stablecoin against it, as long as your collateral stays above the protocol's required ratio. It's a useful way to access liquidity without selling, but liquidation can take a large share of your collateral in a fast-moving market. Start with a wide safety buffer, understand the fees and oracle, and only use protocols you've researched thoroughly.

Veelgestelde vragen

What is a CDP in crypto?

A collateralized debt position (CDP) is a smart contract position where you lock crypto as collateral and mint or borrow a stablecoin against it. You must keep the collateral's value above a required ratio. To get your collateral back, you repay the debt plus any fees; if collateral value falls too far, the position can be liquidated.

How is a CDP different from a normal DeFi loan?

In a CDP, the stablecoin is usually newly created (minted) when you open the position and destroyed when you repay. In pool-based lending, you borrow existing tokens that other users deposited. The risk mechanics — collateral ratios and liquidation — are similar.

What happens when a CDP is liquidated?

The protocol sells some or all of your collateral to repay the debt, usually through an auction or a liquidator, and typically charges a liquidation penalty. You keep the stablecoins you minted, but you lose the liquidated collateral plus the penalty, which is often a significant loss.

Which protocols use CDPs?

MakerDAO, now rebranded as Sky, popularized CDPs with its DAI stablecoin; its CDPs are now called vaults. Other protocols, such as Liquity, use similar designs. Each has its own collateral types, fees and liquidation rules, so read the documentation before opening a position.

Dit artikel is uitsluitend educatief en geen financieel, juridisch of fiscaal advies. Crypto is volatiel en je kunt geld verliezen. Controleer live koersen en projectdetails op de pagina van elke munt voordat je iets doet.

Lees verder

Meer in DeFi →