// POLYGON x CHAINLINK GAMING
Your number = Your profit %. If you win, you receive: Entry + (Number% + Bonus%) Ã Entry
betAmount_profitPercent_secretSalt
Optional: Enter a referrer address to give them commission and get potential bonuses!
Minimum Requirement: Player 1 must have completed at least 1 previous game. Player 2 can be a new user.
Bet Amount: Both players enter with the same amount (0.01 to 2000 POL)
Each player chooses a profit percentage (1% to 100%) and commits it secretly
After Reveal, Chainlink VRF generates a random number between 1-100
Winner: The player whose number is closest to the random number
Winner's Reward: Bet Amount + (Chosen% + Bonus%) Ã Bet Amount
Automatic and Instant payment to winner's wallet â
âĸ New players start with 0% bonus
âĸ Each win adds +1% permanent bonus for that bet amount
âĸ Maximum bonus: 5% per bet amount
âĸ Bonuses are permanent and never expire (even if you lose)
âĸ Example: Choose 90% with 5% bonus = 95% total profit
Scenario:
If you win, you receive:
100 + (78% Ã 100) = 178 POL
When you win a game, your POL is automatically sent to your wallet immediately. You don't need to withdraw or claim anything!
How it works:
âĸ Both players reveal their numbers â
âĸ Chainlink VRF generates random number â
âĸ Smart contract determines winner â
âĸ Winner receives POL automatically â
âĸ Funds appear in your wallet instantly! â
Note: Only the Milestone Reward (weekly top referrer) requires manual withdrawal in the Rewards tab.
When you create or join a game, you MUST save both your number and secret key. You will need EXACTLY the same values to reveal later!
Why is this important?
âĸ Your number and secret key create a unique commitment
âĸ Without the EXACT key, you cannot reveal your number
âĸ If you lose your key, you cannot complete the game
âĸ Screenshot or write down your key immediately!
â How to reveal correctly:
1. Enter the
EXACT number you chose (1-100)
2. Enter the EXACT secret key shown when you
created/joined
3. If you get "execution reverted" error, check your inputs!
Common mistakes: Using different number, typing secret key incorrectly, using spaces in the key
More amounts may be added in the future
Invite friends and earn from 4 levels deep!
Percentages are from the remaining pot after winner takes their share
Every week, 10% of all remaining pots goes to a milestone pool.
Winner = User with highest direct referral entry amounts
âĸ Based on total entry amounts from direct referrals (Level 1 only)
âĸ NOT based on number of wins
âĸ Winner determined at end of week
âĸ Can be withdrawn until end of next week
When winner's profit is less than 100%, remaining funds are distributed:
â ī¸ Special Case:
If winner gets 100% profit, contract owner pays Chainlink fee and no referral/milestone distributions occur
All random numbers are generated by Chainlink VRF - the industry standard for verifiable randomness on blockchain. Your numbers are secured with cryptographic commitments to prevent cheating.
Your direct referral amount this week: 0 POL
Milestone winner = user with highest direct referral entry amounts this week
The gold standard for provably fair and verifiable randomness in blockchain applications
Chainlink VRF (Verifiable Random Function) is a provably fair and verifiable random number generator (RNG) that enables smart contracts to access random values without compromising security or usability.
Unlike traditional RNG solutions, Chainlink VRF generates randomness that is cryptographically proven to be tamper-proof and unbiased. The randomness is generated off-chain and then verified on-chain, ensuring that no oneânot users, oracle operators, or even minersâcan manipulate or predict the outcome.
When both players reveal their numbers, our smart contract automatically requests a random number from Chainlink VRF.
Chainlink's oracle network generates a random number using cryptographic techniques and creates a mathematical proof of its validity.
The random number and its proof are sent to our contract. The blockchain verifies the proof, ensuring the number is genuinely random and hasn't been tampered with.
The verified random number is used to determine which player wins. The process is completely transparent and verifiable on the blockchain.
No one can manipulate or predict the outcomeânot players, developers, or miners. The randomness is mathematically proven to be fair.
Every random number comes with a cryptographic proof that anyone can verify on the blockchain, ensuring complete transparency.
Chainlink operates a decentralized network of oracles, eliminating single points of failure and ensuring reliability.
Every game outcome can be independently verified by anyone, providing undeniable proof of fairness.
Want to dive deeper into how Chainlink VRF works? Check out these resources:
Deep insights into your gaming performance