This code creates a provably random smart contract raffly/sweepstakes.
- Users enter by paying for a ticket
- Winners of a draw will win all entry fees for the respective draw.
- After X period of time, draw automatically & programmatically picks a winner.
- Done using Chainlink VRF (for randomness) & Automation (for time-based trigger) to do this.
Write Deploy scripts Want everything to work on
- Local chain
- forked testnet
- forked mainnet