Bonding Curve

A bonding curve is a formula that connects a token’s supply or a pool’s reserves to a quoted price or exchange rate. A buy or sale changes the inputs, so the next trade can receive a different quote. Implementations vary: some issue or redeem tokens against reserves, while automated market makers price swaps between assets. No single curve guarantees demand, a rising price, or a buyer for every token.

How It Works

A protocol chooses a mathematical rule and the variables it uses. In a token sale, the rule may raise the price as more tokens are issued and lower it when tokens are returned. In a reserve-based market, a trade changes the pool balances, which changes the next exchange quote. Fees, trade size, available reserves, and the exact contract implementation all affect what a user receives.

“Bonding curve” is a broad term, not one universal formula. A linear curve changes price at a steady rate; other curves can rise more quickly or flatten. Some designs mint and burn tokens, while others trade existing tokens against a pool.

Bonding Curves and Automated Market Makers

Uniswap v2’s constant-product pool uses the relationship x × y = k, where x and y are the reserves of two assets. A swap changes those reserves and therefore the relative price. This is one particular AMM design; it should not be treated as the formula used by every token-sale bonding curve.

Pump.fun Example

Pump.fun uses a specific constant-product bonding-curve design for newly launched coins. Its documentation says the curve quotes buys and sells from virtual SOL and token reserves. When a coin reaches the platform’s graduation threshold, Pump.fun closes the curve and migrates liquidity to PumpSwap. This describes Pump.fun’s implementation; another launch platform may use different reserves, fees, formulas, or graduation rules.

Where They Are Used

  • Token issuance: A project can use a curve to sell tokens as demand arrives, with the price changing under a published rule.
  • Trading: An AMM can use a curve to quote swaps from its pool balances without matching each buyer with a specific seller.
  • Minting: Some NFT collections use a bonding curve to change the mint price as supply changes. That narrower use is covered by Bonding Curve Mint.

Risks and Limits

A formula makes a quote predictable from its inputs; it does not make the asset safe or guarantee that a user can sell at a desired price. Large trades can move the quote substantially, and low reserves, fees, arbitrage, contract bugs, or a platform’s migration rules can change the result. Read the implementation’s own documentation and check the pool or contract before trading.

Related Terms

See Also

Sources