Stablecoins Explained: Complete Guide

USDC, USDT, DAI-how do they maintain their peg? Understand the backbone of DeFi.

Beginner 30 min read

🎯 What You'll Learn

  • Understand what stablecoins are
  • Learn the different types and their trade-offs
  • Know the risks of each type
  • See how stablecoins enable DeFi
  • Analyze stablecoin stability mechanisms

📚 Prerequisites

Before this lesson, you should understand:

The Foundation of DeFi

You can’t do finance with assets that swing 10% daily. That’s why stablecoins exist-cryptocurrencies designed to maintain a stable value, usually pegged to $1 USD.

Stablecoins are the bridge between volatile crypto and usable money.


Why Stablecoins Matter

ProblemStablecoin Solution
Crypto volatilityStable value for pricing
Fiat on-rampsHold USD on-chain
DeFi operationsLending, borrowing, trading
Cross-border paymentsFast, cheap transfers

Types of Stablecoins

1. Fiat-Backed

Each stablecoin is backed by $1 in a bank:

StablecoinIssuerBacking
USDCCircleUSD in banks (audited)
USDTTetherUSD + other assets
BUSDBinance/PaxosUSD (regulated)
User deposits $100 → Issuer mints 100 USDC
User redeems 100 USDC → Issuer burns, returns $100

Pros: Simple, intuitive backing Cons: Centralized, can be frozen, regulatory risk

2. Crypto-Backed

Overcollateralized by crypto assets:

Deposit 1.5 ETH ($3,000)
→ Borrow up to 2,000 DAI ($2,000)
→ 150% collateralization ratio
StablecoinProtocolCollateral
DAIMakerDAOETH, WBTC, stablecoins
LUSDLiquityETH only
sUSDSynthetixSNX

Pros: Decentralized, transparent, no freeze risk Cons: Capital inefficient, liquidation risk

3. Algorithmic

Supply adjusts automatically to maintain peg:

Price > $1 → Mint more (increase supply, lower price)
Price < $1 → Burn/incentivize removes (decrease supply, raise price)
StablecoinMechanismStatus
FRAXFractional-algorithmicHybrid
USTAlgorithmicCollapsed

Pros: Capital efficient, scalable Cons: Death spiral risk (UST proved this)


How DAI Maintains Its Peg

DAI > $1
Mint more DAI (arbitrage)
Peg: $1.00 DAI < $1
Buy DAI, repay loans
  1. **DAI > 1:Usersopenvaults,mintDAI,sellfor1**: Users open vaults, mint DAI, sell for 1+ profit
  2. DAI < $1: Users buy cheap DAI, repay debt at discount
  3. Liquidation: Undercollateralized positions are liquidated

The Risks

De-peg Risk

Stablecoins can lose their peg:

EventStablecoinImpact
2023 USDC de-pegUSDCBriefly $0.88 (SVB exposure)
2022 UST collapseUST11 → 0.02
2022 Tether FUDUSDTBriefly $0.95

Regulatory Risk

Fiat-backed stablecoins can be:

  • Frozen (blacklisted addresses)
  • Regulated out of existence
  • Required to hold only government bonds

Smart Contract Risk

Crypto-backed stablecoins rely on code:

  • Bugs can cause loss
  • Oracle failures affect liquidations
  • Governance attacks

Analyzing Stablecoin Safety

QuestionSafe Answer
What’s the backing?Clear, audited reserves
Can it be frozen?For fiat-backed, yes
Regulatory status?Compliant, licensed
Audit history?Regular, public attestations
Peg stability?<1% deviation historically

Practice Exercises

Exercise 1: Compare Stablecoins (Beginner)

Look up on CoinGecko:

  1. Market cap of USDC, USDT, DAI
  2. Which is largest?
  3. Has any de-pegged recently?

Exercise 2: DAI Vault Math (Intermediate)

You deposit 2 ETH at 2,000each(2,000 each (4,000 collateral). Liquidation threshold: 150%

  1. Maximum DAI you can mint?
  2. At what ETH price are you liquidated?
Answer
  1. $4,000 / 1.5 = 2,666 DAI max
  2. If you mint 2,666 DAI: Liquidation when collateral = 2,666 × 1.5 = 4,000Butyouhave2ETH,so:4,000 But you have 2 ETH, so: 4,000 / 2 = **2,000perETH(currentpricenomargin!)Safeborrowing:2,000DAIliquidationat2,000 per ETH** (current price-no margin!) Safe borrowing: 2,000 DAI → liquidation at 1,500 ETH

Exercise 3: Research (Advanced)

Research how FRAX’s fractional-algorithmic mechanism differs from UST’s approach. Why did one survive and one collapse?


Knowledge Check

  1. What’s the difference between fiat-backed and crypto-backed stablecoins?

  2. Why do crypto-backed stablecoins need overcollateralization?

  3. What went wrong with UST?

  4. Can USDC be frozen?

  5. How does DAI maintain its peg?

Answers
  1. Fiat-backed = USD in banks. Crypto-backed = crypto locked in smart contracts.

  2. Volatility. If collateral drops in value, overcollateralization provides buffer before liquidation.

  3. Death spiral. When UST de-pegged, LUNA minting caused hyperinflation, destroying both assets.

  4. Yes. Circle can blacklist addresses, making their USDC unusable.

  5. Arbitrage. When DAI > 1,usersmintandsell.WhenDAI<1, users mint and sell. When DAI < 1, users buy to repay debt cheaply.


Summary

TypeBackingProsCons
Fiat-backedUSD in banksSimple, stableCentralized, freezable
Crypto-backedOver-collateralizedDecentralizedCapital inefficient
AlgorithmicSupply adjustmentCapital efficientDeath spiral risk

What’s Next?

🎯 Continue learning:


You now understand the foundation that makes DeFi usable. 💵

Questions about this lesson? Working on related infrastructure?

Let's discuss