Sub topic 7
Crypto-Backed Stablecoins and On-Chain Collateral
This chapter assumes you understand wallets, token transfers, blockchains, supply and demand, and basic cryptocurrency price movements. The focus is how a stablecoin can be backed by crypto assets instead of bank deposits or government money.
The basic design
A crypto-backed stablecoin is a token intended to track a reference value, usually one US dollar. Users lock cryptocurrency in a smart contract and borrow stablecoins against it. A smart contract is a program stored on a blockchain that enforces rules automatically.
For example, a user might lock ETH worth $3,000 and mint 2,000 stablecoins. The stablecoins represent debt. The ETH is collateral, meaning an asset held to protect the lender if the borrower does not repay.
The system usually requires more collateral value than debt value. This is called overcollateralization. It protects the system because crypto prices can fall quickly.
| Item | Meaning | Example |
|---|---|---|
| Collateral | Crypto locked in the system | 1 ETH |
| Collateral value | Market value of the locked crypto | $3,000 |
| Debt | Stablecoins minted by the user | $2,000 |
| Collateral ratio | Collateral value divided by debt | 150% |
Unlike a fiat-backed stablecoin, this design does not depend mainly on an issuer holding dollars in a bank account. Its backing can be inspected directly on the blockchain. However, the system depends on smart contracts, price feeds, and orderly liquidations.
How a collateralized position works
A user opens a position, sometimes called a vault, by depositing supported crypto. The protocol records the deposit and lets the user mint stablecoins up to a maximum debt limit.
The maximum depends on a collateral factor. If the protocol permits a 150% minimum collateral ratio, a user with $3,000 of collateral can create no more than $2,000 of debt:
$3,000 / 1.5 = $2,000
The user can later repay the stablecoins plus any interest or stability fee. After repayment, the smart contract releases the collateral.
The protocol needs a price oracle. An oracle is a service or network that supplies external data, such as the current ETH-to-dollar price, to a blockchain. The protocol uses that price to calculate whether a position remains safe.
def collateral_ratio(collateral_amount, collateral_price, debt):
collateral_value = collateral_amount * collateral_price
return collateral_value / debt
def liquidation_price(collateral_amount, debt, minimum_ratio):
return debt * minimum_ratio / collateral_amount
eth_amount = 10
eth_price = 3000
debt = 10_000
minimum_ratio = 1.50
print(collateral_ratio(eth_amount, eth_price, debt)) # 3.0, or 300%
print(liquidation_price(eth_amount, debt, minimum_ratio)) # 1500.0In this example, the position has a 300% collateral ratio. It reaches the 150% minimum when ETH falls to $1,500, ignoring fees, penalties, and price changes during execution.
Liquidation and system protection
When the ratio falls below the required threshold, the position becomes eligible for liquidation. A liquidator repays some or all of the debt and receives collateral, usually at a discount. The discount rewards liquidators for taking execution risk and helps the protocol recover the stablecoins owed.
The process can create selling pressure. If many positions become unsafe during a market crash, liquidators may sell large amounts of crypto. That can push prices lower and make additional positions unsafe.
Strengths and failure modes
Crypto-backed designs provide transparent, programmable collateral. Anyone may be able to inspect deposits, debt, and liquidation rules on-chain. They also avoid requiring every user to trust an issuer’s private reserve report.
Their main weaknesses are volatility and complexity. Collateral may lose value, an oracle may report an inaccurate price, or blockchain congestion may delay liquidations. Governance decisions can also change accepted collateral, fees, or risk limits. A stablecoin can trade below its target if users doubt the collateral, the redemption process, or the protocol’s ability to absorb losses.
Exercise
A vault contains $4,500 of ETH and has issued $3,000 of stablecoins. What is its collateral ratio, and is it above a 150% minimum?
Show answer
The ratio is $4,500 / $3,000 = 1.5, or 150%. It is exactly at the minimum, so a further price fall can make the vault liquidatable.