Mechanics

How does it work?

โ€‹

DeSui Coin Filp is a double or nothing smart contract with 50/50 odds of heads or tails.

A user bets on heads or tails. If they guess correctly, they win and the smart contract loses. A loss triggers the smart contract to send the user double their initial wager (minus fees):

User: bets 0.5 SUI on HEADS.

Smart contract: HEADS โœ…

-> Smart Contract sends 1 SUI to user wallet

If a user guesses incorrectly, the user receives nothing and the smart contract sends the wager into the house balance.

User: bets 0.5 SUI on TAILS.

Smart contract: HEADS โŒ

-> Smart Contract sends 0.5 SUI to house wallet

โ€‹

Last updated