logo

Raffle

Participants can enter the raffle by paying in ETH.

Contract (Sepolia)
  • Random winner will be picked by chainlink nodes.
  • Random number generated by Chainlink VRF.
  • Raffle draw triggered by Chainlink Automation.

Description

The Raffle project leverages the Foundry smart contract development framework, specifically designed for Ethereum Blockchain applications. Ensuring transparency and fairness, the raffle incorporates Chainlink's Verifiable Random Function (VRF) to obtain genuinely random numbers. Automation is seamlessly integrated using Chainlink's automation capabilities, allowing for the automatic execution of the raffle draw.

Participants enter the raffle by contributing in Ethereum (ETH), creating a pool of funds within the smart contract. Following a predefined time period, the system autonomously triggers the raffle draw. The winning participant, determined by the random number generated through Chainlink VRF, is awarded the entire accumulated amount from the raffle contract.

This decentralized approach eliminates the possibility of manipulation or bias, providing a trustless environment for participants. Smart contracts, Foundry, and Chainlink collectively empower the project, ensuring the integrity and security of the raffle process. Users engage with confidence, knowing that the outcome is not only verifiable but also conducted in a tamper-resistant manner on the Ethereum Blockchain. The project combines the reliability of smart contract technology with the randomness and automation capabilities of Chainlink to create an innovative and transparent Raffle experience.