Table of Contents
This is a Web3 lottery. It accepts players entrance against a fee (in ETH) and at the end a winner is picked randomly(true randomness).
This project uses Chainlink Automation patterns (checkUpkeep/performUpkeep) as taught in Cyfrin Updraft. Note: Chainlink Automation is being sunset in favor of Chainlink CRE (Runtime Environment) — see Chainlink's migration docs. The underlying Solidity automation pattern remains a foundational Web3 concept.
Deployed and verified on Sepolia testnet: 0x03155161ebABc58B742d41f896587A475D128198
Full lottery lifecycle completed on-chain:
- Player entered via
enterRaffle - Winner selected via Chainlink VRF
- Prize paid out automatically