fomolauncher
Docs / Running it

Testing

What runs, and against what.

Front end

npx tsc --noEmit    # types
npm run build       # every route, prerendered

The build renders the board, the launch page and every docs page against the live chain, so a broken read or a bad decode fails the build rather than the browser.

Quote maths

There is no quote function on the launcher. The site computes the trade itself, in lib/pool.ts, with Uniswap's own integer swap maths over the pool's square-root price and liquidity. That is exact rather than approximate, because each token has exactly one position, no hooks, and a price that can never leave that position's range: one step of the swap maths is the whole trade.

npx tsx scripts/verify-pool-math.mts

The script runs the lifecycle against the live PoolManager — launch, buy, sell — and recomputes each figure locally. They match to the wei, and a single wei of disagreement fails the run. A mismatch would mean the preview lies, which is the one thing a trading UI may never do.