This code is to create a proveably random smart contract lottery.
-
Users can enter by paying for a ticket
- The ticket fees are going to go to the winner during the draw
-
After X period of time, the lottery will automatically draw a winner
- And this will be done programatically
-
Using Chainlink VRF & Chainlink Automation
- Chainlink VRF -> Randomness
- Chainlink Automation -> Time based trigger
- Write some deploy scripts
- Write our tests
- Work on a local chain
- Forked Testnet
- Forked Mainnet