Sub topic 2
What a Stablecoin Is and What a Peg Means
Prerequisites
This chapter assumes you understand the basic idea of a cryptocurrency, a blockchain, wallets, token transfers, supply, demand, and market prices. You should also know that a token’s market price can differ from the value its issuer or protocol claims it represents.
Stablecoins solve a volatility problem
Many cryptoassets have prices that change quickly. Bitcoin and Ether, for example, can gain or lose a large percentage of their value in a short time. That volatility makes them difficult to use for everyday pricing, accounting, and short-term payments.
A stablecoin is a crypto token designed to keep a relatively steady value against a reference asset. The reference asset is often the US dollar, but it can also be another currency, a commodity such as gold, or a basket of assets.
A dollar stablecoin is usually described as being worth $1. This does not mean its market price can never move. It means the token has a design intended to keep the market price close to $1.
What a peg means
A peg is a target exchange rate between a token and its reference asset. If a stablecoin is pegged to the US dollar, its target is usually:
| Token | Reference asset | Target rate |
|---|---|---|
| Dollar stablecoin | US dollar | 1 token = $1 |
The peg is a goal supported by an economic mechanism. It is not automatically guaranteed by the token’s name, code, or presence on a blockchain.
A token trading at $0.99 is slightly below its peg. A token trading at $1.01 is slightly above its peg. Small differences can occur because of trading fees, limited liquidity, delays, or changing demand.
How the market price is formed
The market price comes from buyers and sellers. If more people want to buy the token than sell it at the target price, the price may rise above the peg. If more people want to sell than buy, the price may fall below it.
A stablecoin design must therefore create incentives that increase supply when the price is too high and increase demand when the price is too low. The exact mechanism depends on the design:
- A fiat-backed issuer may let approved customers redeem tokens for dollars.
- A crypto-backed protocol may allow users to mint tokens by locking valuable crypto collateral.
- An algorithmic design may change token supply or use related tokens to influence demand.
- A commodity-backed issuer may connect the token to stored commodities.
These mechanisms reduce price deviations, but they do not remove risk.
A simple price check
The following code measures the percentage difference between a token’s market price and its $1 target:
def peg_deviation(market_price, target_price=1.0):
return (market_price - target_price) / target_price * 100
print(peg_deviation(0.98)) # -2.0
print(peg_deviation(1.01)) # 1.0The first result means the token trades 2% below its target. The second means it trades 1% above it. This calculation measures the deviation. It does not explain whether the design can correct it.
Why the distinction matters
Two stablecoins can both claim a $1 value while carrying very different risks. One may depend on bank-held reserves. Another may depend on volatile crypto collateral and automatic liquidations. A third may depend mainly on market confidence and token supply rules.
When evaluating a stablecoin, identify:
- The reference asset and target exchange rate.
- Who can create or redeem tokens.
- What assets support the token’s value.
- Whether the supporting assets can be accessed during market stress.
- What happens if users lose confidence and try to sell at once.
Understanding the peg gives you the starting point for comparing these designs.
Exercise
A dollar stablecoin trades at $0.97. Is it still pegged to the dollar, and what should you investigate next?
Show answer
It is trading below its target, so the peg is under stress or has partially failed. Investigate its redemption rules, reserves or collateral, liquidity, and the mechanism intended to push the price back toward $1.