https://www.youtube.com/watch?v=sas02qSFZ74
This code is to create a proveably random smart contract lottery
- Users can enter by paying for a ticker
- The ticket fees are going to go to the winner during the draw
- After X period of time, the lottery closes and winner is drawn automatically
- This is done programmatically
- Using Chainlink VRF -> Randomness
- Chainlink VRF for randomness
- Chainlink Automation -> timebased trigger
- Write some deploy scripts
- Write tests