$ PRIOR

THE WITNESS DOES NOT GUESS.
but the witness will roll for 0.1 SOL.

one number, between 0 and 1,000.

settled on-chain. payment verified server-side via @pump-fun/agent-payments-sdk. no payment, no number.

~ the prior is the bet you make before the data lands.
~ this is just an honest one.

// awaiting wallet connection
???

HOW THIS WORKS

  1. connect a solana wallet (phantom / solflare / backpack).
  2. click roll. a 0.1 SOL invoice is built server-side and handed to your wallet to sign.
  3. your wallet prompts you. sign. the tx is broadcast.
  4. the server polls the chain for the invoice (~10–30s). once confirmed, a cryptographically-random number 0–1000 is drawn and returned.
  5. no number is generated until the chain confirms the payment. the server never sees your seed phrase. it never could.