Blottery is a decentralized lottery platform built on the Polygon network, allowing users to participate in lottery games using their MetaMask wallet. Players can buy tickets for various games and potentially win rewards once a set amount of money is collected. I have been mostly working on the solidity side in this project!
- MetaMask Integration: Connect your MetaMask wallet to the Polygon network.
- Games:
- Classical Lotto: Pick 6 numbers and test your luck! ๐ฐ
- Dice Roll: Roll the dice and win! ๐ฒ
- Coin Flip: Heads or tails โ simple but fun! ๐ช
- Rewards: When enough money is collected, a countdown starts, and winners are rewarded based on game results.
- Blockchain: Solidity contracts handle game logic and ticket purchasing. Currently using a pseudorandom number generator, but we are integrating Chainlink's verifiable random functions (VRF) for enhanced randomness.
- Connect Wallet: Players connect their MetaMask wallet on the Polygon network.
- Buy Tickets: Choose a game and purchase tickets using cryptocurrency.
- Win Rewards: After enough tickets are sold, the countdown begins, and winners are selected.
- Solidity: Smart contracts for managing game logic and ticket purchases.
- Polygon Network: Fast and low-cost transactions.
- MetaMask: Wallet integration for seamless user experience.
- Chainlink VRF (in progress): For true randomness in game results.
- Connect your MetaMask wallet.
- Select a game (Lotto, Dice Roll, Coin Flip).
- Purchase tickets.
- Wait for the countdown and see if youโve won!
- Chainlink VRF integration for secure and provably fair random number generation.