Bonding Curve & Token Liquidity Lab
Analyze how virtual reserves, initial price slopes, insider concentration, and whale sell-offs impact liquidity depth before and after DEX migration.
Interactive Stress Simulation Curve Progress: 28.5%
Next 5 SOL Buy Slippage
Next 5 SOL Sell Impact
Cypherpunk Roots vs. Memecoin Velocity
As Ben Nadareski highlighted, crypto’s genesis was anchored in counter-cultural, sovereign financial experimentation. On high-throughput chains like Solana, that permissionless ethos manifests through ultra-low latency bonding curves.
Bonding curves bypass traditional investment banking gatekeepers by replacing static orderbooks with programmatic liquidity: an algorithmic automated market maker guaranteeing that anyone can buy or sell instantly at predictable price points.
Mathematical Invariants
This simulator implements a virtual constant-product curve:
(x + x_v) · (y - y_sold) = k
Where x_v is the virtual base currency (SOL) seed that prevents infinite starting prices, and y is the bonded token supply. When x reaches the graduation threshold, the accumulated SOL and remaining tokens are migrated to an open decentralized exchange (e.g. Raydium/Orca) and the curve liquidity is locked.
How is slippage calculated on bonding curves?
Unlike fixed-price sales, each infinitesimal fraction of a token is priced along the integral of the curve. Large orders displace the pool along y = k / x, causing execution price to diverge significantly from spot price. This tool calculates exact integral pricing rather than simple linear estimates.
What occurs during the "Cascade Dev Exit" simulation?
The simulation calculates the exact token holdings owned by snipers or the creator (e.g., 10-25%), then forces an instantaneous single-block market sell against the current pool depth. It calculates the resulting liquidity drain and net price collapse percentage.
Can I import this configuration into Solana smart contract anchors?
Yes. The JSON export bundles virtual_sol_reserve, virtual_token_reserve, k_invariant, and graduated market cap specifications matching SPL token standards.