Trading on Bonding Curves
Tokens on the launchpad are traded along a constant-product virtual curve. The price rises as more tokens are bought and falls as tokens are sold. The curve guarantees liquidity at every price point — you can always buy or sell.Buying Tokens
To buy tokens on a bonding curve:- Navigate to the token’s page on the launchpad
- Enter the amount of XYZ you want to spend
- Review the estimated tokens you’ll receive and the price impact
- Click Buy and confirm in your wallet
Buy Mechanics
Slippage Protection
When buying, you set amin_tokens_out value. If the trade would result in fewer tokens (due to other trades executing first), the transaction reverts. The UI calculates this automatically based on your slippage tolerance.
Selling Tokens
To sell tokens back to the curve:- Navigate to the token’s page
- Switch to the Sell tab
- Enter the amount of tokens to sell
- Review the estimated XYZ you’ll receive
- Click Sell and confirm in your wallet
Sell Mechanics
Slippage Protection
When selling, you set amin_xyz_out value. If you’d receive less XYZ than this minimum, the transaction reverts.
Price Mechanics
The bonding curve uses a constant-product virtual curve:| Metric | Description |
|---|---|
| Starting price | Dynamically computed from oracle XYZ/USD price |
| Price direction | Increases as more tokens are bought |
| Price discovery | Deterministic — price is a function of supply sold |
| Guaranteed liquidity | You can always buy or sell at the current curve price |
Reading the Chart
The token page shows a price chart tracking the token over time. Key indicators:- Current price — The price for the next marginal token
- Tokens sold — How many of the 100M supply have been purchased
- XYZ reserves — Total XYZ locked in the curve
- Progress — Percentage toward the dynamic XYZ graduation threshold
Simulating Trades
Before executing, you can preview the exact outcome using the simulate endpoints:Fee Summary
| Action | Fee Rate | Details |
|---|---|---|
| Buy | 0.5% | Deducted from XYZ input before curve calculation |
| Sell | 2.5% | Goes to LP reserves (liquidity) |