Crash
Crash is a multiplier game. A round starts, the multiplier climbs from 1.00x, and it "crashes" at some point. You cash out before the crash to keep your bet times the current multiplier. If you miss the crash, you lose the bet.
Pipoke runs on Octra Devnet today. Any fee, price, or limit referred to here is a contract setting chosen for testing. Every one is owner-settable, and mainnet values will be different. These docs describe how the mechanics work, not what the numbers are.
#Two formats
| Format | Contract | What it is |
|---|---|---|
| House | CrashHouse |
You play against the house. Continuous rounds. |
| PvP (1v1) | CrashPvP + CrashMatch |
Two players, head-to-head. Higher stakes, single match. |
#Pot status enum
| Status | Number | Meaning |
|---|---|---|
OPEN |
0 | Round open. Bets accepted. |
RUNNING |
1 | Multiplier climbing. |
SETTLED |
2 | Round crashed and paid out. |
CANCELLED |
3 | Round cancelled. |
#UI phases
| Phase | What the UI shows |
|---|---|
idle |
No round in progress. |
betting |
Bets being placed before the round starts. |
running |
Multiplier climbing. Cash out window. |
crashed |
Round ended. Reveal published. |
#Limits and presets
| Setting | Value |
|---|---|
| Max bet | 10,000 POKE |
POKE decimals |
1,000,000 raw per POKE |
| Quick-bet presets | 10, 50, 100, 500, 1,000, 5,000 POKE |
#House round flow
- Round opens. Players place bets. Each bet is a signed transaction with a raw
POKEamount. - The dealer commits to the crash point (a hash on chain).
- The round starts. The multiplier ticks up.
- Each player can call
cash_outat any time to lock inbet * current_multiplier. - The multiplier crashes when it reaches the committed crash point. Anyone who has not cashed out by then loses.
- The dealer reveals the commit. Players can verify the crash point matches.
#Provability
The crash point is committed before the round starts. The seed is revealed when the round ends. A dealer who tries to shift the crash point after seeing player bets fails the commit check, and the contract refuses to settle.
#PvP
CrashPvP is the same mechanic scoped to one match between two wallets. The match is created with a stake amount. Both players ante in. The round runs the same way, with both players able to cash out independently.
CrashMatch tracks the live match state (who has cashed out, current multiplier, crash point reveal) so spectators can watch live.
#Session-keyed
Crash bets and cash-outs both fire through the session key. No popup for either.