This is a foundry project for smart contract of lottery game.
- 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
$ make build$ make test$ make fmt$ forge snapshot$ anvil$ make deploy$ cast <subcommand>$ forge --help
$ anvil --help
$ cast --help1.Write some deploy scripts 2.Write our tests 1.Work on a local chain 2.Forked testnet