> ## Documentation Index
> Fetch the complete documentation index at: https://docs.theblockchainlibrary.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DAI

> DAI is a decentralized, over-collateralized stablecoin built on the Ethereum blockchain, pegged to the value of the US dollar. Unlike fiat-backed stablecoins, DAI maintains its peg through an autonomous system of smart contracts managed by the MakerDAO protocol. Users generate DA

# DAI

DAI is a decentralized, over-collateralized stablecoin built on the Ethereum blockchain, pegged to the value of the US dollar. Unlike fiat-backed stablecoins, DAI maintains its peg through an autonomous system of smart contracts managed by the MakerDAO protocol. Users generate DAI by locking crypto assets, such as ETH or wrapped Bitcoin, into smart contract vaults. This mechanism ensures that the total value of collateral always exceeds the value of issued DAI, providing stability and transparency without relying on a central issuing authority or traditional banking reserves.

## Definition

DAI is a decentralized, over-collateralized stablecoin built on the Ethereum blockchain, pegged to the value of the US dollar. Unlike fiat-backed stablecoins, DAI maintains its peg through an autonomous system of smart contracts managed by the MakerDAO protocol. Users generate DAI by locking crypto assets, such as ETH or wrapped Bitcoin, into smart contract vaults. This mechanism ensures that the total value of collateral always exceeds the value of issued DAI, providing stability and transparency without relying on a central issuing authority or traditional banking reserves.

## Simple explanation

Imagine you want a digital dollar that isn't controlled by a bank. DAI is like a digital piggy bank: you put in valuable items (like crypto) as a security deposit, and the system gives you DAI to spend. Because you deposited more value than the amount of DAI you received, the system stays stable. It's essentially a way to have the stability of a dollar while using the decentralized power of the blockchain.

## Why it matters

DAI provides a vital bridge between the volatility of cryptocurrencies and the stable purchasing power required for daily commerce and finance. By removing central intermediaries, it offers a censorship-resistant way to store value and engage in DeFi protocols across the globe.

## How it works

DAI is created when a user deposits collateral into a MakerDAO Vault smart contract. The protocol issues DAI tokens against this collateral, requiring the user to maintain a specific collateralization ratio to avoid liquidation. If the collateral value drops significantly, the protocol automatically auctions the assets to cover the debt, keeping the system solvent and the DAI peg secure.

## Real-world example

A trader might lock \$1,500 worth of ETH in a Maker Vault to borrow 1,000 DAI, then use that DAI to participate in decentralized lending platforms like Aave or Compound to earn interest without selling their original Ethereum holdings.

## Advantages

* Fully decentralized and censorship-resistant
* Stable value pegged to the US dollar
* Transparent auditing through open smart contracts
* No requirement for traditional banking accounts

## Limitations

* Risk of liquidation during extreme market crashes
* Vulnerability to smart contract bugs or exploits
* High collateralization requirements limit capital efficiency
* Dependency on decentralized oracle price feeds

## Common misconceptions

* People often mistake DAI for a government-issued digital currency when it is actually a purely private, decentralized asset.
* Many believe DAI is backed by a bank reserve, but it is actually backed entirely by digital collateral held in smart contracts.

## Related knowledge

* [DeFi](https://docs.theblockchainlibrary.com/categories/defi) — term
* [DeFi vs. Traditional Finance: Which Offers Better Returns?](https://docs.theblockchainlibrary.com/generated/v2/topics/defi-vs-traditional-finance-which-offers-better-returns) — article
* [DeFi vs. Traditional Finance: Which Offers Better Returns?](https://docs.theblockchainlibrary.com/generated/v2/topics/defi-vs-traditional-finance-which-offers-better-returns) — related-article
* [Ethereum](https://docs.theblockchainlibrary.com/categories/ethereum) — term
* [Liquidation](https://docs.theblockchainlibrary.com/generated/v2/glossary/liquidation) — term
* [MakerDAO](https://docs.theblockchainlibrary.com/generated/v2/glossary/makerdao) — term
* [Over-collateralization](https://docs.theblockchainlibrary.com/generated/v2/glossary/over-collateralization) — term
* [Smart Contracts](https://docs.theblockchainlibrary.com/categories/smart-contracts) — term
* [Stablecoin](https://docs.theblockchainlibrary.com/generated/v2/glossary/stablecoin) — term
* [The Future of Savings: Are Stablecoins the New Bank Accounts?](https://docs.theblockchainlibrary.com/generated/v2/topics/the-future-of-savings-are-stablecoins-the-new-bank-accounts) — article
* [The Future of Savings: Are Stablecoins the New Bank Accounts?](https://docs.theblockchainlibrary.com/generated/v2/topics/the-future-of-savings-are-stablecoins-the-new-bank-accounts) — related-article
* [The Rise of Stablecoins in 2025: Key Players and Use Cases](https://docs.theblockchainlibrary.com/generated/v2/topics/the-rise-of-stablecoins-in-2025-key-players-and-use-cases) — article
* [The Rise of Stablecoins in 2025: Key Players and Use Cases](https://docs.theblockchainlibrary.com/generated/v2/topics/the-rise-of-stablecoins-in-2025-key-players-and-use-cases) — related-article
* [Understanding Stablecoins: Risks and Use Cases](https://docs.theblockchainlibrary.com/generated/v2/topics/understanding-stablecoins-risks-and-use-cases) — article
* [Understanding Stablecoins: Risks and Use Cases](https://docs.theblockchainlibrary.com/generated/v2/topics/understanding-stablecoins-risks-and-use-cases) — related-article
* [What is an Example of Web3?](https://docs.theblockchainlibrary.com/generated/v2/topics/what-is-an-example-of-web3) — article

***

**Canonical knowledge ID:** `glossary:dai`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.