Page cover

Coin Flip

Coin Flip is a provably fair, instant-result betting game where players wager on the outcome of a coin toss. With simple mechanics and transparent smart contract execution, it offers a straightforward way to double your $SOMI tokens with 50/50 odds.

Game Description

In Coin Flip, players choose between Heads or Butts and select their $SOMI amount from preset options. The smart contract randomly determines the coin flip outcome using verifiable on-chain randomness. If your prediction matches the result, you win double your $SOMI (minus fees). If you guess incorrectly, your $SOMI goes to the house balance.

The game provides instant feedback with smooth animations and transparent mechanics. Every flip is provably fair and can be verified on-chain, ensuring complete transparency in the randomness generation and payout distribution.

Entry

  • No Entry Fee: Jump straight into flipping coins

  • Minimum $SOMI: 0.15 $SOMI

  • Maximum $SOMI: 2 $SOMI per flip

Play

  1. Choose Your Side: Select either "Pick Head" or "Pick Butt"

  2. Select Wager Amount: Choose from preset amounts (0.15, 0.35, 0.5, 1, 1.5, or 2 $SOMI)

  3. Flip the Coin: Click the "Flip" button to initiate the smart contract

  4. Instant Result: Watch the coin animation and see if you won

Outcome

  • Win: Receive 2x your $SOMI (minus platform fees)

  • Lose: $SOMI amount goes to the house balance

Example (Win)
Example (Lose)

User bets 1 $SOMI on HEADS. Smart contract: HEADS ✅ → Smart contract sends 2 $SOMI to the user wallet.

User bets 1 $SOMI on HEADS. Smart contract: BUTTS ❌ → Smart contract sends 1 $SOMI to the house wallet.


For Technical Details

Fairness, Technical Architecture & Pools

Last updated