Predict + {c} Checkout
This demo signs in and trades on mainnet, so it runs in your browser rather than at build time. The source below is the code it runs.
const { predict, openCheckout, flight, autospend } = useCheckout()
// USER TAP → eligible for silent 1-tap send (still bounded by the autospend budget):
<button onClick={() => predict(market, 0, { auto: true })}>Predict YES</button>
<button onClick={() => predict(market, 0, { amount: pst(5), auto: true })}>Predict YES · 5</button>
// PROGRAMMATIC (deep link, pill) → preview only, never spends:
openCheckout(market, 0) // or predict(market, 0) — both just open the drawer
// mount once near root: <ProphecyCheckout /> // <ProphecyProvider colorScheme="auto" />