This smart contract allows users to enter a lottery by funding the prize pool using GoerliETH.
Chainlink keepers call performUpKeep of the contract at regular intervals to decide a randomised
winner in a true decentralised manner using Chainlink VRF.
More info on Chainlink keepers - allows smart contract to access random variables without compromising security.
The proof for the randomised number is published and verified on chain before consuming it.
Frontend Hosted on Fleek - Lottery DAPP
Contract deployed using Hardhat - Lottery.sol
Hardhat code & Waffle tests - lottery-hardhat-fcc
To intall this project run
yarn install
To deploy this project
yarn hardhat deploy
To run automated Waffle Tests
yarn hardhat test