Lottery Contract

Inspired by one of the ideas proposed in the course Ethereum and Solidity: The Complete Developer's Guide, I decided to build it using latest web3 technologies and improve it with a more engaging UI. The idea behind this game is to have a prize pool and a list of participants. Each participan will enter the game sending an amount of ether to the contract. The manager (or owner of the contract) decides when to pick a winner. The total ether locked in the contract is then transfered to the lucky one.

Demo

The Frontend is deployed in Vercel: https://lottery-contract-jet.vercel.app/. The contract has been deployed to Goerli testnet, in the following address: 0x891E790942610910A21C2E49B2A607D88f1bD619

Technologies used

Note:

If you want to know more about this project, go check out this medium article I wrote about it.