Liquidity Bootstrap Pool Price Discovery Executor
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
Liquidity Bootstrap Pool Price Discovery Executor enables users to participate in price discovery by executing swaps in liquidity bootstrap pools (LBPs). The tool reads your connected wallet address, the LBP pool contract address, project token and base token addresses, token balances, pool weights, spot price, price change rate, current block timestamp, pool start/end times, total supply, pool liquidity, and swap history. It displays the current spot price, the dynamic price change rate, pool weights, and estimated output before you swap. With slippage protection automatically applied, you can buy or sell project tokens to help discover the fair market price during the bootstrapping phase.
HOW TO USE
Connect your wallet and select your network. Enter the LBP pool contract address, the project token address (being sold), and the base token address (e.g., USDC, WETH). Select your swap direction—"Buy project token" to acquire the project token by paying base tokens, or "Sell project token" to sell project tokens for base tokens. Enter the amount you want to swap. Click "Fetch pool status" to load current pool data including the spot price, price change rate, pool liquidity, and weights. The tool will estimate your expected output and price impact. Review all details carefully, then click "Execute swap" to approve token spend and perform the swap with automatic slippage protection.
THE REAL MECHANISM — WEIGHTED POOL SWAP WITH DYNAMIC PRICING AND SLIPPAGE PROTECTION
Unlike fixed-price sales, liquidity bootstrap pools use weighted pools where the token weights change over time to influence the price. The tool reads the current spot price via getSpotPrice, which computes the price based on the token balances and weights using the formula: spotPrice = (balanceOut / weightOut) / (balanceIn / weightIn) * (1 - fee). The price change rate, read via getPriceChangeRate, determines how fast the weights shift, creating a dynamic price curve that encourages early participation. The tool performs a swap using swapExactAmountIn, which takes the tokenIn, amountIn, tokenOut, minAmountOut, and maxPrice parameters. The minAmountOut is automatically calculated from the expected output with 1% slippage protection to guard against front-running. The maxPrice is set to MaxUint256 to allow the swap to execute at the current market price. The pool's fee is deducted from the output token. All arithmetic uses ethers.js BigNumber with the token's decimal precision, and gas costs are reported using receipt.effectiveGasPrice. The tool validates balances and approvals before executing the swap.
WHAT IT CANNOT SEE
Cannot predict future price movements—the tool cannot forecast how the price will change as weights shift or as other users trade. It cannot ensure optimal swap timing—the best time to buy or sell depends on market conditions and strategy. It cannot detect if the pool contract contains vulnerabilities or malicious code—the tool does not audit the pool logic. It cannot verify off-chain market conditions—the tool has no visibility into external market prices or liquidity. It cannot guarantee that the expected output will match the actual output due to slippage or changing conditions.
PLEASE NOTE — EVM CHAINS ONLY
This tool exclusively supports EVM-compatible chains where ethers.js can connect via standard JSON-RPC. It does not support non-EVM chains such as Solana, Tron, Starknet, SUI, TON, Aptos, Bitcoin, Cosmos, or XRP. The LBP pool contract must implement the specific interface expected by this tool (swapExactAmountIn, getSpotPrice, getPriceChangeRate, getPoolInfo). Always test with small amounts on a testnet before swapping on mainnet. This tool is a trading interface, not a financial advisor or investment strategist.