Prediction Game (Sui)
Atomic settlement proof: rugby prediction game exercising PTBs, zkLogin, oracles, and Dynamic NFTs in one shippable product.
Why should I care?
Five cards that sell the dream
Same five positions. Different seat.
The customer sees frictionless prediction. The builder sees settlement stack proof. The outer game and inner game are the same loop — ship a game, prove a stack.
How does this get built?
Five cards that sell the process
The pitch is the shape. The flow diagrams prove the thinking. The VV stories validate the value.
Problem
On-chain prediction markets require 4-5 separate transactions on EVM — wallet install, token approval, prediction, oracle settlement, user claim. Each step loses users. Each transaction costs gas. Each is a failure point.
A prediction game where the entire lifecycle — browse, predict, settle, pay — happens in 1-2 atomic transactions with zero wallet setup and zero gas decisions.
No sports data oracle exists on Sui. zkLogin and sponsored transactions haven't been integrated into a real product. The settlement PTB composition pattern is unproven at the application level.
The oracle. Move contracts and frontend are engineering problems with known solutions. A reliable sports data feed that submits results on-chain with attestation — and handles conflicts, delays, and edge cases — is the novel dependency.
Scorecard
Priority (5P)
Readiness (5R)
What Exists
| Component | State |
|---|---|
| Move contracts (14 packages) | Partial |
| Frontend (Next.js 15 + dApp Kit) | Working |
| Oracle | Missing |
| Gas station | Missing |
| zkLogin | Missing |
Frozen Scope
5 feature IDs from Onchain JTBD:
| ID | Capability |
|---|---|
| WCAP-007 | Gas abstraction — sponsored transactions |
| WCAP-008 | Seedless onboarding (zkLogin) |
| WCAP-011 | NFT management — Dynamic prediction receipts |
| WCAP-019 | Atomic multi-operation settlement (PTB) |
| WCAP-020 | Oracle data integration |
Relationships
| PRD | Contributes |
|---|---|
| Onchain JTBD | The capability register this PRD advances (WCAP-007, -008, -011, -019, -020). |
| Sui Patterns | Hot potato, Dynamic Display, clock guard patterns used in contracts. |
| Sui Standards | Display, sponsored txs, kiosk standards. |
| Sui Protocols | Oracle + Settlement protocol layers. |
| Sui Business Dev | Strategic context and 5Ps analysis. |
Zero predictions on testnet after 30 days of deployment, OR PTB settlement requires more than one transaction. Either means the thesis is wrong for this use case. Kill date: 2026-06-30.
Questions
What would this game need to prove before you'd trust the same settlement patterns for real money?
- If the oracle is the hardest thing, why are we building contracts first — is that courage or avoidance?
- The hot potato pattern prevents double-settlement at compile time — but what class of bugs does it NOT prevent?
- If rugby fans complete 50 predictions on testnet, does that prove the UX works, or just that they're tolerant?