A pricing rule coded into a smart contract that sets a token price from its current supply. Buyers and sellers trade against the contract instead of an order book, and the price rises as more tokens are bought.
Why it matters
A bonding curve is common in token launches, so the quality of its code decides whether buyers get a fair price. The curve formula, rounding, fees and what happens at the end of the curve are all places where bugs and abuse show up.
What to check
- Ask for the curve formula in writing and for test cases at the edges, such as the first and last purchase.
- Ask who can change parameters or withdraw the reserve, and under which conditions.
How it works in practice
The curve is a formula, for example price rising linearly or exponentially with supply. The contract holds a reserve and mints or burns tokens as people buy and sell.
Launches often move to an ordinary liquidity pool after a target is reached. That migration step is where many issues appear, so it needs its own review.
Common mistakes
- Leaving out slippage limits, so a buyer pays a very different price than quoted.
- Rounding errors in the formula that favor one side and can be repeated many times.
- Giving an admin key control over the reserve or the curve parameters without a timelock or multisig.
Related terms
- SPL tokenA fungible or non-fungible token created with the Solana Program Library Token Program or its successor, Token-2022, which adds extensions such as transfer fees and confidential transfers.
- Token-2022 (Token Extensions)The newer Solana token program.
- Mint authorityThe key allowed to create new tokens of a given mint.
- Upgrade authorityThe key allowed to replace a deployed program’s code.
Guides
- Solana token launch checklist: authorities, metadata, liquidity and legalA practical Solana token launch checklist: mint and freeze authority, metadata, Token-2022 extensions, supply and vesting, liquidity, audits, legal review and launch-day communication.
- Solana program upgrade authority: how to secure it with a multisigWho should hold a Solana program upgrade authority, how to move it to a multisig, when to add a timelock or make the program immutable, and the mistakes to avoid.
Describe your project in plain English. Smart Match suggests verified Solana providers with a reason for each match. Free for teams.
Get matched →