03 — Whisp docs

Duels

1v1 from your ghost wallet. Same stake on both sides, one square decides, 95% of the pot to the winner.

How a duel works

  1. Open one. Pick a stake: 0.1, 0.5, 1 or 5 SOL. It leaves your game balance and waits in the program.
  2. Someone joins. They stake the same amount from their game balance. Open duels are listed for anyone; an invite-only duel can be joined only from its link.
  3. A round decides. The duel is bound to a round of the grid, and that round's winning square picks the winner.
  4. The winner is paid. 95% of the pot goes to the winner's game balance. No claim needed.

The squares: exactly 50/50

Winning squareWho wins
01–12The duel's creator
13–24The player who joined
25Nobody yet: the next round decides

Each side holds 12 of the 24 squares that decide, so each has exactly half the chance. The square comes from the round's own randomness (how), which nobody knows when the duel is joined: a join binds to the live round only while its bets are still being opened, otherwise to the next one. The grid's bets have no say in a duel, and a duel has none in the grid.

The result waits for a round

A round is about 97 seconds, so a result lands one to three minutes after the join. Square 25, or a refunded round, passes the duel to the next round. The duel page shows the deciding round on the board and plays its reveal when it resolves. The crank pays duels after each round; if it is late, the page pays yours itself, and anyone else can too.

95% to the winner

The fee is 5% of the pot and is set when the duel opens, so it cannot change under you. It splits like a round's fee: 4% of the pot to the ZEC jackpot, 0.5% to WHISP stakers in ZEC, 0.5% to operations. With nobody staked, the stakers' part goes to the jackpot.

Stake eachPotWinner gets
0.1 SOL0.2 SOL0.19 SOL
0.5 SOL1 SOL0.95 SOL
1 SOL2 SOL1.9 SOL
5 SOL10 SOL9.5 SOL

Cancelling

Until someone joins, you can cancel: the stake goes back to your game balance. Opening a duel costs about 0.0019 SOL of account rent, paid by your ghost wallet and returned when the duel closes.

Privacy

  • Both sides play from ghost wallets (how they work), funded the same way as your bets.
  • Stakes come in four fixed sizes, so an amount doesn't single anyone out.
  • An invite link carries its code after the #, which browsers never send to a server. Only its hash is on-chain.
  • Your list of duels lives in this browser. On a new device the page finds your open ones on-chain from your ghost wallet.
  • What is public: each duel's two ghost wallets, its stake and its result, like any opened bet (what's hidden, what isn't).

Explain this page withClaudeChatGPTGrok