Welcome to our Lottery Game project, where we leverage on-chain randomness through Chainlink VRFs (Verifiable Random Functions) to create a fair and transparent lottery experience. In this game, players have the opportunity to participate by adhering to specific rules and conditions, and the winner is selected at random once the maximum number of players has been reached.
- Lottery Structure: Each game is designed with a predefined maximum number of players and an entry fee.
- Player Participation: Individuals can join the game by meeting the entry requirements.
- Random Winner Selection: After reaching the maximum number of players, the system utilizes Chainlink VRFs to randomly select one winner.
- Prize Distribution: The chosen winner is awarded an amount equivalent to
maxplayers * entryfee
in ether.
To explore and contribute to this project, follow these steps:
-
Clone the Repository:
git clone https://github.com/dappCoderr/lottery-game.git cd lottery-game
-
Install Dependencies:
npm install
-
Configuration: Adjust configuration files as needed, including maximum players, entry fees, and any other relevant parameters.
-
Run the Application:
npm start
-
Contribute: Feel free to contribute by submitting bug reports, feature requests, or even pull requests. Your input is valuable!
This project relies on the following key dependencies:
Make sure to review the documentation of these dependencies for detailed information.
We would like to express our gratitude to the Chainlink VRF community for providing the tools and resources that make this project possible.
Feel free to reach out if you have any questions or suggestions!
Happy gaming!