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
install Chainlink VRF contracts
forge install smartcontractkit/[email protected] --no-commit
forge install transmissions11/solmate --no-commit
forge install Cyfrin/foundry-devops --no-commit