🆕 Opening a Bet
No minimum amount! No maximum amount!
Player 1 a.k.a "Bet Creator" initiates a game by sending their chosen Bet amount to the escrow contract using stablecoins (USDC, USDT, or LUSD) and commits their Rock-Paper-Scissors move.
👥 Playing a Bet
Player 2 can join the bet by sending the same Bet amount to the Escrow contract and submit their RPS choice simultaneously.
🚨 Anti-Cheat: Zero-Knowledge Proof / zkSNARK
🔸 Privacy & Security: To ensure the privacy and security of Player 1's RPS move, the protocol relies on zkSNARK to prevent their choice from being leaked on the blockchain.
✨Similar to the zkSNARK circuit used in Tornado Cash, our protocol generates a nonce + commitment Poseidon hash for each RPS choice when creating a bet.
🔸 In Simple Terms: Bet Creators can submit their bets with anonymized RPS choices, ensuring that Player 2 cannot reverse-engineer or reveal the commitment hash, thus protecting the integrity of the game.
🏁 Final Outcome
- Once a bet is played, the result is promptly revealed to Player 2.
- Players have the ability to monitor their performance metrics including Victories, Defeats, Draws, and Open Bets.
- 🔸 If there is a winner: The winner receives the entire prize pool, after deducting the protocol fee.
🔸 If the bet results in a draw: Both players receive a refund, minus the protocol fee.
🏠 Protocol Fee
The game protocol takes a 10% fee from the total prize pool for each bet.
⛽️ Gas Fees (Low)
To create or participate in bets, you will need $POL to cover the gas fees. Don’t worry though — Polygon’s gas fees are extremely low, making it easy and affordable to enjoy the game!