Docs / Running it
Testing
What runs, and against what.
Front end
npx tsc --noEmit # types
npm run build # every route, prerenderedThe 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.
Quotes against the contract
The local curve maths mirrors the contract integer for integer. The way to keep it honest is to compare it with quoteBuy / quoteSell on chain for random amounts on a live curve — same inputs, same outputs, to the wei. A mismatch means the preview lies, which is the one thing a trading UI may never do.