Skip to content

neeyno/hardhat_raffle

Repository files navigation

Raffle Smart Contract

The application enables Metamask wallet connection and allows users to enter the raffle for a small fee. A timer controls the raffle, which automatically picks a random winner (by using Chainlink VRF and Chainlink Keeper). The winner will get all the money from raffle.

Etherscan - Contract instance

Usage - Rinkeby testnet only

To participate in the DEMO raffle you need to do the following steps:

  • Go to the Raffle page - should work
  • Connect Metamask wallet
  • Press "Enter..."
  • Pay entrance fee and confirm a tx
  • Then wait for about 5 minutes (Chainlink keepers interval)
  • Congratulations! You are the winner(because no one else play it)

Frontend

Frontend part is avaliable on the link down below: