Smart Contracts
The game runs on Anchor programs on Solana: the game program that manages the game and the vault (HouseVault) which holds the liquidity that backs your payouts.
Game Program
The game program handles everything you do as a player: it accepts your SOL when you place a bet (BOOM or DOOM), records the round result using the Pyth BTC/USD price feed, and credits your winnings to your UserVault when you claim.
What you do on-chain
- Place a bet: You send SOL from your UserVault and choose BOOM (price up) or DOOM (price down) for a round. The app calls the program for you.
- Claim winnings: After a round ends, if you won (or pushed), your payout is credited to your UserVault. You can then withdraw from your UserVault to your wallet.
UserVault
Each player has a UserVault account that holds their SOL for betting and stores their winnings. You must fund your UserVault with SOL before placing bets. When you win, your payout is credited to your UserVault, and you can withdraw from there back to your wallet at any time.
Bet limits
| Limit | Value |
|---|---|
| Minimum bet | 0.001 SOL |
| Maximum bet | Dynamic (depends on House Vault liquidity) |
| Keeper fee | 0.0005 SOL |
| Treasury fee | 0.001 SOL |
House Vault
The HouseVault holds the house’s SOL liquidity that backs your payouts. Players cannot stake or deposit into the HouseVault — liquidity is provided by the team. When you win, your payout is credited to your UserVault (backed by this house vault). When you lose, your stake (minus fees) is sent to the HouseVault. You never interact with the HouseVault directly; the game program does that in the background.
Program Addresses
You can verify the programs and transactions on Solana Explorer. The app uses these addresses on Solana Mainnet.