Bonding Curve

A formula that sets a token's price from its own supply, so buying pushes the price up along the curve.

Basically

A bonding curve is a formula that sets a token's price from its supply. It lets a DeFi project issue tokens automatically, with the price rising as people buy and falling as they sell.

Key Takeaways

  • A bonding curve is a mathematical function encoded in a smart contract that automatically determines a token's price from its circulating supply. The price rises along the curve as you buy tokens and they are minted. It falls as you sell tokens and they are burned.
  • Bonding curves provide instant liquidity without order books or external liquidity providers. The smart contract acts as the counterparty to every trade, so tokens are tradable from the moment the contract is deployed.
  • Bonding curves enable permissionless token issuance and transparent pricing, but they carry significant risks. These include front-running, early buyer advantage and vulnerability to rug pulls: over 98% of tokens launched on pump.fun showed rug-pull or pump-and-dump behaviour, according to a 2025 Solidus Labs report.

What Is a Bonding Curve?

A bonding curve is a mathematical formula that defines a deterministic relationship between a token's price and its circulating supply. The general form is P = f(S), where P is the token price, denominated in a reserve currency like ETH or a stablecoin, and S is the current token supply.

The concept emerged in early 2017 from two independent sources. Simon de la Rouviere, a ConsenSys engineer, published "Exploring Continuous Token Models" in February 2017, describing systems where tokens are minted as needed through algorithmic pricing, and the Bancor Protocol publicly announced Smart Tokens with a similar mechanism five days later. The Zap Protocol team coined the term "bonding curves" in September 2017.

The name "bonding" refers to how buyers bond capital to the curve: funds paid for tokens are held in a reserve pool within the smart contract. The reserve balance is always mathematically tied to the current supply and price via the integral of the price function, guaranteeing that the contract remains collateralised.

How It Works

A bonding curve smart contract acts as an automated counterparty with no order book and no human market maker. You send reserve currency, such as ETH or SOL, to the contract to buy tokens, and it mints new tokens at the current price determined by the curve. When you sell, the contract burns the tokens and returns reserve currency.

The total cost of purchasing multiple tokens is not simply price times quantity because the price changes with each token minted. It equals the definite integral of the price function from the current supply to the new supply: the area under the curve.

Common Curve Types

Different mathematical formulas create different incentive structures. The curve shape determines how aggressively the price responds to changes in supply.

Bonding Curves vs. AMM Liquidity Pools

Bonding curves are sometimes confused with automated market makers like Uniswap, but they serve fundamentally different purposes. A bonding curve operates as a primary market: tokens are minted and burned, so the total supply changes with every transaction. An AMM like Uniswap operates as a secondary market: it swaps pre-existing tokens between liquidity pools without changing the total supply.

Bancor Protocol

Bancor conducted one of the largest ICOs in 2017, raising approximately $153 million. Its bonding curve used a "Reserve Ratio", also called Connector Weight, to govern pricing: Price = Reserve Balance / (Token Supply × Reserve Ratio); a 50% reserve ratio produces a linear curve, while lower ratios like 10% create steep, aggressive curves. Bancor later faced a class action lawsuit in 2023 after suspending its impermanent loss protection during the 2022 market crash.

pump.fun

pump.fun launched in January 2024 on Solana and became the largest bonding curve token launch platform. Each token has 1 billion total supply, with 800 million placed on a constant-product bonding curve. When all bonding curve tokens are purchased at roughly 85 SOL, approximately a $69,000 market cap, the token "graduates" and migrates to the PumpSwap DEX for secondary trading; over 12 million tokens have been launched on the platform, though graduation rates typically range between 0.3% and 1.7%.

Friend.tech

Friend.tech launched in August 2023 on Coinbase's Base chain and used a quadratic bonding curve for social tokens, called "keys": Price = Supply² / 16000. The first key was almost free, the 200th key cost approximately 2.5 ETH, and a 10% fee on every trade was split between the platform and the key creator. At its peak, Friend.tech generated over $16 million in revenue in a single day, but the team abandoned the platform in September 2024 and transferred admin rights to a null address after daily users dropped to single digits.

Use Cases

Bonding curves serve several distinct purposes in decentralised finance and token economics. They give token issuers different ways to automate pricing and supply.

The research article on BTC DeFi explains how automated pricing mechanisms shape decentralised trading. Read it for a deeper look at these mechanisms.

Front-Running and Sandwich Attacks

Bonding curves are particularly vulnerable to MEV extraction because their prices are deterministic and transactions are visible in the mempool before confirmation. Bots can front-run large buys to profit from predictable price movements, and sandwich attacks are especially common: an attacker front-runs a victim's buy to drive the price up, lets the victim buy at the inflated price, then immediately sells for a guaranteed profit. On Solana, sandwich bots extracted an estimated $370 to $500 million between January 2024 and May 2025.

Early Buyer Advantage

Bonding curves structurally reward early buyers because the price function increases with supply, so the first buyers get the lowest price. On steep quadratic or exponential curves, this advantage becomes extreme, and insiders who buy immediately after deployment capture the majority of upside despite "fair launch" marketing. The dynamic can attract purely speculative demand and create reflexive boom-and-bust cycles when the token lacks durable utility.

Rug Pulls and Scams

The permissionless nature of bonding curve platforms makes them fertile ground for scams, and a 2025 Solidus Labs report found that 98.6% of tokens launched on pump.fun exhibited rug-pull or pump-and-dump behaviour. Common attack vectors include hidden mint functions that let developers generate unlimited tokens, honeypot mechanisms that block investors from selling, and modifiable transaction fees that can be set to 100%. Only about 97,000 out of over 7 million analysed tokens maintained liquidity above $1,000.

Smart Contract Vulnerabilities

Bonding curve contracts can contain bugs that lead to catastrophic losses. In January 2026, an integer overflow vulnerability in the TrueBit bonding curve's price calculation function caused a $26.6 million exploit; the contract was compiled with an older version of Solidity (v0.6.10) that lacked native overflow checks, allowing an attacker to mint approximately 240 million tokens for zero cost. In May 2024, a former pump.fun developer exploited privileged access to drain approximately 12,300 SOL, roughly $1.9 million, using flash loans to manipulate bonding curves.

Slippage on Steep Curves

Large orders on bonding curves experience deterministic slippage: each incremental token in a purchase costs more than the last, so the average price paid always exceeds the starting spot price. An analysis of 4,844 trades on pump.fun found that 47% experienced unfavourable slippage, with the worst cases exceeding 5,000 basis points, a 50% price deviation. Steep exponential curves amplify this effect, particularly for tokens with low liquidity.

Regulatory Uncertainty

No regulator has issued guidance specifically targeting bonding curve tokens, but the mechanism sits in a legal grey area. Under the Howey test, bonding curve tokens could potentially qualify as securities if issuers make promises about building value, and multiple class action lawsuits filed against pump.fun since January 2025 allege securities violations and RICO claims, with estimated retail losses of $4 to $5.5 billion. The EU's MiCA regulation requires identifiable issuers to publish compliant whitepapers before public offerings, though fully decentralised launches with no identifiable issuer may fall outside its scope.

The glossary entry is for informational purposes only and does not constitute financial or investment advice. You should always do your own research before using any protocol or technology.

0

← All 1876 glossary terms