A cool lottery smart contract that uses Chainlink VRFv2_5 and Chainlink Automation to raffle eth to a lucky player over time.
| Specs | |
|---|---|
| 🔓 | Solidity Object-oriented, high-level language for implementing smart contracts. |
| 🧙🏼♀️ | Chainlink VRF Chainlink platform to generate random numbers to blockchain |
| 🕐 | Chainlink Automations Chainlink platform run smart contracts function over time or by triggered events |
| 🧰 | Foundry Best smart contract development toolchain.. |
| Features | |
|---|---|
| ✅ | Join as a player |
| ✅ | Choose the owner using a random index |
| ✅ | Communicate with Chainlink automation to run raffle periodically |
| ✅ | Close the entrance of new players while raffling |
| ✅ | Verify public data |