This project is a cross-chain lottery using CCIP, VRF and Automation.
The main contract is deployed on Chain A.
Participants are able to join the lottery by depositing `whitelistedToken` on their choice of Chain A or Chain B. Winnings are paid out on the chosen chain of the participant, so if the participant uses Chain B and they win the lottery, they will receive their payout on Chain B.
The lottery winner is picked at random using VRF and winnings are paid out using Chainlink Automation.