defi

MakerDAO and DAI Explained: How Stablecoins Are Created

Learn how MakerDAO creates the decentralized stablecoin DAI using over-collateralized crypto vaults. Beginner-friendly guide with practical examples and risks.

Hand placing gold and silver coins into a glass jar on a wooden table indoors.

MakerDAO and DAI Explained: How Stablecoins Are Created

MakerDAO is a decentralized protocol on Ethereum that allows users to create the stablecoin DAI by locking collateral in smart contracts. Unlike traditional stablecoins that rely on a central bank holding reserves, MakerDAO uses over‑collateralization and community governance to maintain DAI’s peg to the US dollar. This system gives anyone with crypto assets access to a stable, transparent currency without needing a bank account.

Close-up of North Macedonian denar coins on a bamboo table with artistic lighting.

What Is MakerDAO and Why Does It Matter?

MakerDAO is a decentralized autonomous organization (DAO) that governs the Maker Protocol — a set of smart contracts responsible for issuing and managing the DAI stablecoin. The protocol is one of the foundational pillars of decentralized finance (DeFi) because it provides a censorship‑resistant, algorithmically stable currency.

The core innovation is that DAI is not backed by fiat in a vault; it is backed by crypto assets locked in collateralized debt positions (CDPs) , now called Vaults. Users deposit ETH, WBTC, or other approved tokens, and the protocol mints new DAI against that collateral. The system automatically adjusts incentives to keep DAI trading close to $1.00.

Key features of MakerDAO include:

  • Decentralized governance — MKR token holders vote on protocol parameters, risk models, and collateral types.
  • Transparent reserves — All collateral is visible on the Ethereum blockchain.
  • Over‑collateralization — Users must deposit more value than the DAI they mint, providing a safety buffer against price drops.

How DAI Is Created: Collateralized Debt Positions Explained

Asian man explaining cryptocurrency market with whiteboard indoors.

DAI is minted when a user opens a Vault (formerly called a CDP) and deposits collateral. The process works like taking out a loan where you put up assets to secure the debt — but instead of borrowing dollars from a bank, you mint DAI, a dollar‑pegged token, directly from the smart contract.

Here’s a simplified step‑by‑step:

  1. Choose a collateral type – Currently, ETH, Wrapped Bitcoin (WBTC), USDC, and several other tokens are accepted.
  2. Deposit collateral – You send, for example, 2 ETH into the Vault.
  3. Mint DAI – Based on the collateralization ratio (e.g., 150% minimum), the protocol allows you to mint up to a certain amount of DAI. If 2 ETH is valued at a certain amount, you might mint DAI worth roughly two‑thirds of that value.
  4. Use or hold DAI – The newly minted DAI can be spent, traded, or lent out in DeFi applications.
  5. Repay the debt – To unlock your collateral, you must return the borrowed DAI plus a stability fee (a small fee denominated in DAI).
  6. Close the Vault – Once the debt is paid, the collateral is fully released.

💡 Pro Tip: Always maintain a healthy collateralization ratio above the minimum (e.g., 200% instead of 150%) to avoid liquidation during sudden market drops. A volatile ETH price can quickly push your position underwater if you mint too close to the limit.

The Maker Protocol’s Stability Mechanisms

The Maker Protocol uses two key tools to keep DAI pegged to $1:

  • Stability fee – A variable interest rate paid by Vault owners when they close their positions. Raising the fee discourages minting new DAI (reducing supply), while lowering it encourages borrowing (increasing supply).
  • Liquidation – If a Vault’s collateralization ratio falls below the required threshold, the system automatically sells the collateral to repurchase and burn DAI, contracting supply and pushing the peg back up.

Additionally, the DAI Savings Rate (DSR) allows DAI holders to deposit their tokens into a smart contract and earn yields paid by the fees collected from Vaults, creating a demand‑side lever for the peg.

Below is a simplified comparison of how MakerDAO differs from other stablecoin models:

FeatureMakerDAO (DAI)Fiat‑collateralized (e.g., USDC)Algorithmic (e.g., UST, failed)
CollateralCrypto assets over‑collateralizedFiat reserves held by a companyNo real collateral; algorithm only
DecentralizationHigh (governed by MKR holders)Low (central issuer)Varies (often central at launch)
Peg stabilityMarket‑driven via fees & liquidationsDirect redemption 1:1Highly fragile without backing
RiskSmart contract risk, collateral volatilityCustodial risk, regulatory freezeRun risk, death spiral

Practical Example: Creating DAI from ETH

Imagine Alice wants to mint DAI but doesn’t want to sell her ETH. She deposits 10 ETH into a Maker Vault when the collateral value is relatively high. The protocol requires a minimum collateralization ratio of 150% for ETH. That means she can mint DAI worth no more than two‑thirds of her collateral’s USD value.

  • Collateral: 10 ETH at a certain market value.
  • Maximum DAI she can mint: roughly 66.7% of that value.
  • She decides to mint DAI worth 40% of the collateral value to be safe (a ratio of 250%).

Now Alice has DAI in her wallet to spend or save, while her ETH remains locked. When she wants her ETH back, she repurchases the same amount of DAI from the market (or uses DAI she earned), returns it to the Vault, pays a small stability fee, and reclaims her 10 ETH.

If ETH’s price crashes and her collateralization ratio drops below 150%, the protocol will liquidate a portion of her ETH to buy back and burn DAI, covering the debt. Alice loses part of her deposit — so it’s crucial to monitor the ratio.

Risks and Considerations for Beginners

Using MakerDAO requires understanding a few key risks:

  • Collateral volatility – Crypto prices can swing wildly. Even with over‑collateralization, a sharp crash can trigger liquidation.
  • Liquidation penalties – When a Vault is liquidated, a penalty fee (e.g., a percentage of the collateral) is charged, further reducing the user’s funds.
  • Smart contract risk – The Maker Protocol has been audited extensively, but no code is perfect. Bugs or exploits could lead to loss of funds.
  • Stability fee changes – MKR holders can vote to increase fees, making borrowing more expensive.
  • Gas costs – On Ethereum, interacting with Vaults can become very expensive during network congestion.

Despite these risks, MakerDAO remains one of the most trusted DeFi protocols, with billions of dollars in locked collateral and a multi‑year track record.

How MKR Token Governs the Maker Protocol

MKR is the governance token of MakerDAO. Holders vote on critical decisions such as:

  • Adding new collateral types – e.g., approving stETH or real‑world assets.
  • Adjusting risk parameters – changing collateralization ratios, stability fees, and liquidation penalties.
  • Upgrading the protocol – implementing new features or bug fixes.

When DAI is liquidated or fees are collected, MKR is also used as a backstop: if the system incurs bad debt, new MKR is minted and sold to recapitalize the protocol. Conversely, surplus fees can be used to buy back and burn MKR, rewarding holders.

Conclusion: Why MakerDAO Matters for DeFi Beginners

MakerDAO is the engine behind DAI, the most widely used decentralized stablecoin. By combining over‑collateralization with community governance, it offers a transparent alternative to centralized stablecoins. Understanding how MakerDAO works — from Vaults to stability fees to the role of MKR — gives you a solid foundation for participating in DeFi.

Whether you want to borrow DAI against your crypto, earn yield through the DAI Savings Rate, or simply hold a stable asset without trusting a bank, MakerDAO provides a robust and proven system. Start small, keep a healthy collateralization ratio, and always stay aware of market conditions.