This code is to create a provably random smart contract lottery
- User can enter by paying for 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 programmatically
- Using Chainlink VRF & Chainlink Automation
- Chainlink VRF -> Randomness
- Chainlink Automation -> Time based trigger
- Writing deploy scripts
- Note, these will not work on zkSync
- Write tests
- Local chain
- Forked testnet
- Forked mainnet