Technical definition
A Collateralized Debt Position (CDP) is a type of secured loan facilitated by a decentralized protocol, typically on a blockchain like Ethereum. Users deposit cryptocurrency (e.g., ETH) into a smart contract as collateral and receive a loan in the form of a stablecoin (e.g., DAI). The collateral is over-collateralized to account for price volatility, ensuring the loan remains fully backed. The borrowed stablecoin must be repaid with a stability fee to unlock and retrieve the original collateral. CDPs are governed by algorithmic rules encoded in smart contracts, which automate liquidation if the collateral value falls below a predefined threshold.
An analogy
Imagine pawning a valuable watch at a pawn shop. You give the watch as collateral and receive a loan in cash. The pawn shop holds the watch until you repay the loan with interest. If the watch’s value drops too much, the pawn shop sells it to recover the loan. A CDP works similarly, but with cryptocurrency and automated smart contracts instead of a physical pawn shop.
Why it matters
CDPs enable users to access liquidity without selling their cryptocurrency holdings, allowing them to retain exposure to potential price appreciation while borrowing stablecoins for spending or further investment. They are a foundational mechanism in decentralized finance (DeFi) for creating non-custodial, trustless loans.
Where it came from
The concept of CDPs was popularized by MakerDAO, which launched the first decentralized stablecoin (DAI) in 2017 using Ethereum-based CDPs. MakerDAO’s system allowed users to generate DAI by locking up ETH as collateral, setting the standard for subsequent CDP implementations in DeFi.
Example in practice
A user deposits 2 ETH (worth $4,000 at $2,000/ETH) into a MakerDAO CDP and generates 1,000 DAI (a stablecoin pegged to $1). They use the DAI to pay for expenses or invest elsewhere. Later, they repay the 1,000 DAI plus a stability fee to reclaim their 2 ETH. If the price of ETH drops to $1,500, the CDP may be liquidated to ensure the loan remains fully collateralized.
Common misconceptions
- CDPs are like traditional loans where you borrow against your collateral without risk → Correction: CDPs are over-collateralized, meaning you must deposit more value in collateral than the loan you receive, and you risk liquidation if the collateral’s value drops too much.
- CDPs are only for borrowing stablecoins → Correction: While stablecoins like DAI are common, some CDPs allow borrowing other assets, though stablecoins are the most widely used due to their price stability.
- CDPs are custodial, meaning a third party holds your collateral → Correction: CDPs are non-custodial; your collateral is held in a smart contract that you control, and no third party can seize it unless the collateralization ratio is breached.
Risks & limitations
- Liquidation risk: If the collateral’s value drops below the required ratio (e.g., 150% for ETH in MakerDAO), the position is automatically liquidated, and the user may lose a portion of their collateral.
- Smart contract risk: Bugs or exploits in the CDP’s smart contract code could lead to loss of funds, as seen in past DeFi hacks (e.g., the 2020 MakerDAO liquidation exploit).
- Oracle risk: CDPs rely on price oracles to determine collateral value. If oracles are manipulated or fail, liquidations may occur incorrectly or not at all.
- Volatility risk: Even with over-collateralization, extreme market volatility can lead to unexpected liquidations or losses.
- Stability fee risk: The cost of borrowing (stability fee) can fluctuate, increasing the total repayment amount and reducing the net benefit of the loan.