Session
Initializing wallet...
DOUBLE OR NOTHING
cash-out
Open a session above to play
cash-outprimitive
Double or Nothing uses the cash-out primitive. Player bets, wins 2x, and chooses to keep doubling or cash out. House edge applied per round. Session stays open via state channels, zero gas per flip.
House SDK
import { HouseSDK } from '@house-protocol/sdk'
const game = HouseSDK.createGame({
type: 'cash-out',
name: 'Double or Nothing',
houseEdge: 200, // 2% in bps
options: {
multiplier: 2,
maxRounds: 10,
},
})