This code is to create a proveably random smart contract lottery.
-
Users should be able to enter the raffle by paying for a ticket. The ticket fees are going to be the prize the winner receives.
-
The lottery should automatically and programmatically draw a winner after a certain period.
-
Chainlink VRF should generate a provably random number.
-
Chainlink Automation should trigger the lottery draw regularly.
- Write deploy tests
- Note, these tests will not on zkSync
- Write tests
- Local chain
- Forked test
- Forked mainnet