This code is to create a proveably random smart contract lottery.
- Until a pre-determined time, have users enter the raffle by paying for a ticket
- The ticket fees are going to go to the winner during the draw
- When time's up, select a random winner among all users who entered the raffle - based on a random number generated.
- Using "ChainLink aka CL" VRF & CL Automation
- CL VRF -> Randomness
- CL Automation -> Time Based Trigger
- Pay the winner all the currency present in the contract.