Bible Network Crypto DeFi Onchain RWA AI Agent Stablecoin Chain SAFU CryptoTax DeFAI AGI Claude Me Claude Skill Claude Design Claude Cowork
Independent Media
Not affiliated with any project
The Deepest Stablecoin Knowledge Base
stablecoin-bible.com
LATEST
Hong Kong's Stablecoin License: 36 Applied, Only 2 Approved — Why HSBC and the Standard Chartered Venture Made the Cut, and What the FRS Regime Actually Requires  ·  Why Swapping USDT for USDC Costs Almost Nothing, But Swapping to ETH Doesn't: Inside the StableSwap Algorithm  ·  AI Agents Made 8.7 Million Stablecoin Transfers in One Week — Worth Just $367,950 Total: x402's 2026 Record High, and Why the Dollar Value Didn't Follow  ·  Idle Stablecoins Are a Waste: Comparing Six Low-Risk Ways to Earn Interest  ·  Tether Earned $1.5 Billion in a Quarter, Yet Its Safety Cushion Was Cut in Half: Two Numbers, Same Quarter, Telling Completely Different Stories  ·  No Token, No Hype Play: Why Stripe and Paradigm Built a "Boring" Stablecoin Settlement Chain
mechanisms

Why Swapping USDT for USDC Costs Almost Nothing, But Swapping to ETH Doesn't: Inside the StableSwap Algorithm

30-Second Version · For the impatient
Same $1M trade: swap stablecoins on Curve and slippage costs about $80; on a general AMM, over $1,200. The gap isn't luck — it's whether the algorithm knows the two assets should be worth the same.

Full Explanation +
01 · Why did this happen?

What's the fundamental difference between StableSwap and a general AMM like Uniswap's constant product formula?

A general AMM assumes the relative price between two assets can swing widely with supply and demand — a reasonable assumption for a volatile pair like ETH/USDC, where the market genuinely needs sharp price reactions to discover fair value. But a stablecoin pair like USDC/USDT is supposed to always be worth $1 on both sides — applying the same "assume prices swing widely" formula to a market that shouldn't need price discovery just manufactures unnecessary slippage cost.

StableSwap's fundamental difference is that it's mathematically optimized around the assumption that the assets should be worth the same: when pool balances are near equilibrium, it uses a nearly flat pricing curve so large trades barely move the price, only shifting back toward constant-product-like behavior once assets genuinely drift out of a safe range. This isn't a vague claim that "Curve is just better" — it's a fundamentally different formula chosen specifically for this asset class.

02 · What is the mechanism?

Why did someone bother inventing StableSwap instead of just using Uniswap's existing formula?

Stablecoin trading volume in DeFi is enormous — Curve's 3pool alone can see $50–200 million in daily volume. If every large stablecoin swap had to absorb the high slippage a constant-product formula produces, that would be a persistent, substantial hidden cost for institutions, market makers, and any protocol that frequently rebalances positions. Using a general AMM for stablecoin swaps effectively forces traders to pre-pay for volatility risk in a market that isn't supposed to have much volatility in the first place.

StableSwap's core reason for existing is eliminating that unnecessary cost — by recognizing that stablecoins are supposed to hold the same price, it mathematically flattens the trading curve across the critical range, so large trades only bear the risk that's actually real (the possibility of a genuine depeg) rather than paying for volatility that doesn't exist under normal market conditions. This is also why Curve has maintained market share and volume in stablecoin swaps far above general-purpose DEXs for years.

03 · How does it affect me?

How does the amplification coefficient (A) actually work, and what happens when a pool becomes imbalanced?

The amplification coefficient A determines how wide StableSwap's "flat middle range" is: a higher A value (like 3pool's current 2000) makes the curve closer to a horizontal line when asset ratios are near balance, meaning even larger trades barely move the price; a lower A makes the curve closer to constant-product shape, with slippage starting to rise sooner. This parameter isn't fixed — it's set through Curve's governance (DAO voting), and there was even a past governance proposal to raise 3pool's A from 2000 to 5000, which ultimately failed over concerns it would amplify risk during a depeg.

When a pool actually becomes imbalanced — say one asset's share drifts significantly from its designed equilibrium — StableSwap automatically exits that flat range and starts behaving more like a constant-product formula, widening slippage. Arbitrageurs then rush in, buying the undervalued asset and selling the overvalued one, until the pool returns closer to balance. That mechanism isn't inherently a problem — but if the imbalance isn't temporary market noise but reflects a genuine loss of backing behind an asset (say, an issuer solvency crisis), arbitrage buying may fail to pull the price back, and slippage keeps widening instead of converging.

04 · What should I do?

If I'm just an ordinary user who occasionally needs to convert between stablecoins, what concrete difference does this actually make for me?

The first concrete benefit is choosing the right route: for stablecoin-to-stablecoin swaps (USDT↔USDC, USDC↔DAI), prioritize interfaces that route through StableSwap venues like Curve — most aggregators (1inch, Matcha, CoW Swap) already do this automatically, so you don't need to compare manually, but understanding the mechanism helps you spot when a quote looks off. The second concrete benefit is reading warning signs: if a stablecoin swap suddenly shows slippage far higher than usual (say, jumping from a typical 0.01% to over 1%), that's usually not just network congestion or thin liquidity — it often means the market has already started pricing in depeg risk for one of the assets. Pausing to check news or community activity before pushing through elevated slippage is usually the better call.

The third benefit is understanding where the savings actually come from: for anyone regularly handling large stablecoin conversions — corporate treasury, or users frequently rebalancing across chains or stablecoins — choosing the right route can save well over a thousand dollars in slippage on a single million-dollar-scale trade, which adds up to a genuinely meaningful amount over time rather than just a theoretical difference.

Full Content +

Swap $1 million of USDC for ETH on Uniswap, and price impact can eat 0.1%–0.3% of the trade's value. Swap that same $1 million from USDC to USDT through a stablecoin-optimized exchange like Curve, and price impact typically runs around 0.01% — a difference of more than 10x. This isn't a coincidence, and it isn't simply a case of Curve being more capable. Behind it is a mathematical design called StableSwap, purpose-built to exploit the fact that stablecoins are supposed to all equal $1, achieving a level of slippage a general-purpose AMM structurally cannot match.

The Problem: General AMMs Are Built for Assets That Move

Most decentralized exchanges, including Uniswap, use a constant product formula: x × y = k. This formula assumes the relative price between two assets can swing widely with supply and demand — a reasonable assumption for a volatile pair like ETH/USDC, but the wrong tool for a pair like USDC/USDT that's supposed to always trade near parity. Under a constant product formula, even a modest imbalance in pool ratios causes prices to shift sharply, producing far more slippage on large trades than the actual risk warrants.

How StableSwap Solves This

Curve's StableSwap algorithm blends two formulas together. When pool balances are near equilibrium — both assets roughly equal share, both near $1 — it behaves like a constant sum formula (x + y = D), which is nearly flat across the middle range, meaning large trades barely move the price. Only when the pool becomes significantly imbalanced, past a safe range, does the algorithm shift back toward constant-product-like behavior, ensuring it still functions — rather than being drained — when assets genuinely diverge from their peg. The parameter bridging the two formulas is called the amplification coefficient (A); the major 3pool (USDC/USDT/DAI) currently runs at A=2000, which stretches out that nearly-flat middle range, letting the pool absorb larger trades without visibly moving off $1.

The Numbers: What the Same $1M Trade Actually Costs

Run the same $1 million USDC-to-USDT swap through different venues and the gap becomes concrete: Curve's 3pool runs roughly 0.008% slippage, working out to about $80. Uniswap V3's general pools run around 0.127%, over $1,200. Drop into a shallower pool like SushiSwap's, and slippage can exceed 0.3%, over $3,000. The gap doesn't come from different fee structures — it comes from whether the algorithm itself knows the two assets are supposed to hold the same price.

When This Algorithm Breaks Down

StableSwap's efficiency rests on one assumption: the assets in the pool genuinely hold close to $1 in value. Once an asset actually depegs — as USDC briefly did, trading near $0.88 on some venues during the March 2023 Silicon Valley Bank crisis — the amplification coefficient can no longer suppress the price deviation. The algorithm automatically shifts back toward near-constant-product behavior, sharply widening slippage, and pool composition rapidly skews as arbitrageurs rush in to buy the undervalued side. In other words, StableSwap's low slippage isn't a guarantee — it's an optimization built on the assumption that the peg holds, and that assumption is most fragile precisely during a crisis.

What This Means for Your Money

If you regularly convert between stablecoins — say, USDT to USDC to match a service or exchange requirement — routing through a StableSwap-based venue like Curve (most aggregators like 1inch or Matcha handle this automatically) can save meaningful slippage cost on large trades. Equally useful is understanding the flip side: if you notice unusually large slippage suddenly appearing on a stablecoin swap pool, that's often an early signal the market is pricing in depeg risk, not simply a case of thin liquidity — worth checking for a deeper confidence issue before pushing a trade through the elevated slippage.

Sources: How Does Curve Finance Work? Complete Guide to DeFi's Stablecoin DEX - LedgerMind, What is Curve (CRV)? - Bitstamp
Diagram
Slippage on a $1M USDC-to-USDT Swap比較 Curve StableSwap 池與一般 AMM(Uniswap V3、SushiSwap)在同樣 100 萬美元穩定幣兌換交易下的滑點差距Slippage on a $1M USDC-to-USDT SwapStablecoin-optimized AMM vs. standard AMM0%0.1%0.2%0.3%CurveStableSwap0.008%CurveTriCrypto0.024%Uniswap V3general pool0.127%SushiSwapgeneral pool0.342%Stablecoin Bible · stablecoin-bible.com
Feel free to share. Please credit the source.
Ask a Question
Please enter at least 10 characters
Related Articles
The Ban Targets "Issuer Paying Interest," Not "Money Can't Earn Yield": How Tempo Earn Built a Yield Product Under the GENIUS Act
mechanisms · Aug 14
"1:1 Redeemable" Is a Promise, Not a Speed Guarantee: How Long Stablecoin Redemption Actually Takes
mechanisms · Aug 03
Audited Contract, Drained in One Transaction: Why the Oracle Is a Stablecoin's Weakest Layer
mechanisms · Jul 30
Stablecoin Liquidation Cascade: How Aave and Sky Use Automated Liquidation to Protect Collateral Systems, and Why the 2022 Bear Market Didn't Take Down USDS
mechanisms · Jul 03
More Related Topics