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 Game Vault.
What you do on-chain
- Place a bet: You choose BOOM (price up) or DOOM (price down) for a round. The app handles internal funding flow for you.
- Settle/withdraw: Payouts are reflected in your Game Vault and can be withdrawn to your Account Wallet.
Game Vault (internal)
Each player has an internal Game Vault account that holds SOL for betting and stores winnings. You mainly fund your Account Wallet; the app can prepare the internal flow automatically when needed. When you win, payouts are reflected in Game Vault and can be withdrawn back to your Account 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 Game Vault (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.