Skip to content

MartinIglesias86/Loteria-Web3-SmartContract

Repository files navigation

Smart Contract to play a game of Lottery.

In this project I'm going to use Solidity and Hardhat to create and deploy a Smart Contract on the Mumbai test net, which allow us to play a random Lottery game using the Chainlink's VRFCoordinator and VRFConsumerBase. The smart contract is gonna get verified and you can interact with it on the Mumbai Polygonscan

Requirements:

  • We will build a lottery game
  • Each game will have a max number of players and an entry fee
  • After max number of players have entered the game, one winner is chosen at random
  • The winner will get maxplayers*entryfee amount of ether for winning the game

Solidity logo

Test deploy

📋 Smart contract deployed in Mumbai Testnet Network

Lets start building 🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published