A bonding curve is a smart contract mechanism that sets a token price based on its supply More tokens in circulation make the price rise Fewer tokens make it fall This creates instant liquidity without order books or market makers Anyone can buy or sell directly at the current curve price.
⚙️ How They Work
The price is a function of supply When you buy tokens the contract mints new ones or releases from reserve raising the price for the next buyer Selling tokens burns them or returns them to the curve lowering the price Collateral like SOL ETH or stablecoins is held to ensure buybacks Early buyers get cheaper tokens while later buyers pay more making timing important Everything runs on-chain for transparency and automation.
📈 Types of Curves
Linear curves increase price steadily with supply Good for fair distribution and DAOs Exponential curves rise faster as supply grows Reward early buyers but risky for late ones Logarithmic curves spike early then level off Offering initial liquidity and broader adoption Other variants include step-function S-curve and inverse curves The area under the curve represents total value collected which builds reserves.
🚀 Example on Solana
Pump.fun uses bonding curves to launch meme coins Tokens start on the curve Buyers pay SOL and prices rise gradually A progress bar shows how much of the curve is filled At around 70 percent fill remaining tokens and collected SOL automatically form a liquidity pool on Raydium This allows a fair predictable launch without pre-sales or team allocations Early buyers benefit while liquidity is ready for trading Most projects fail if demand does not sustain.
⚖️ Benefits and Risks
Benefits include automated pricing and liquidity transparent fair launches self-sustaining markets and customizable incentives Risks include high volatility potential loss for late buyers project failure and smart contract or market risks Bonding curves are tools linking supply and demand not guaranteed profit machines They are used in meme coins DeFi DAOs and NFTs and have been around since 2017.