Documentation
Learn how Flip Battle works and get started
Contract Addresses
Arbitrum OneChain ID: 42161
0xD05E015b3c5ec292d63be233beac093f50b30abc
0x8fB7E4061A4df78F2861366c6C22Cac8D6ed7496
0x92B1b3261656A83587BCCDF90b33F45369D0a754
How It Works
1. Centralized VRF Architecture
Our platform uses a centralized BettingManager that acts as the single VRF consumer, eliminating the need for multiple VRF subscriptions and reducing costs.
- Single VRF subscription for all betting contracts
- Shared VRF costs across all battles
- Centralized authorization and player tracking
2. Fair Randomness with Chainlink VRF
Every coin flip result is generated using Chainlink VRF (Verifiable Random Function), ensuring complete transparency and fairness.
- Cryptographically secure random number generation
- On-chain verification of randomness
- No possibility of manipulation by players or platform
3. Transparent Fee Structure
Our platform charges a transparent 5% fee on all battles, with no hidden costs.
- 5% platform fee deducted from total pot
- Winner receives 95% of the combined bet amounts
- Fees support platform development and VRF costs
Technical Details
Smart Contracts
- BettingManager: Central VRF consumer and coordinator
- CoinFlipFactory: Deploys new betting contracts
- CoinFlipBetting: Individual token betting logic
Supported Networks
- Arbitrum One