Technical3 min read
baozi technical details: smart contracts & fees
technical specs: anchor v0.30.1, devnet deployment, program id, 2.5% fees, and how on-chain resolution works under the hood.
protocol details
networkSolana (Devnet)
program id67rzN6vZUyAt52cybSGmhWSWb4fVZ7DQT9AyCoQfSfsf
frameworkAnchor v0.30.1
resolutionManual (Admin) → AI-assisted (future)
fee2.5% on winning bets
fees
platform fee:2.5%
only deducted from the winning pool at resolution. if you lose, no fee. if market is invalid, everyone gets full refund.
smart contract architecture
- • market accounts - store market state, pools, resolution
- • user positions - PDAs tracking each user's bets per market
- • global config - admin settings, fee rate, paused state
// verify on solscan
https://solscan.io/account/5DCaeDPLA...?cluster=devnet