codedamn
Project image for Lottery Smart Contract

Lottery Smart Contract

Web3Solidity
This project will be a perfect test of your solidity skills.

Open in IDE

Includes assets, JPG images of the design files, design files themselves and a basic style guide. There's also a README to help you get started.

Project Description

You have to create a lottery smart contract.In this we will have two entities->Manager - It will deploy the smart contract.Players - These will participate in the lottery. In order to participate in the lottery the players must exactly pay 0.1 ether to the contract balance. The lottery winner will be picked randomly by the manger only.And whosoever be the winner. The entire contract balance ether will be transferred to the winner's account. Note - There must be atleast three players for the manager to pick the winner of the lottery. Don't forget to share your submissions with the community to get feedback.

Get involved with the community

Join our discord server and share your feedbacks with others. Ask questions, help others and win prizes.

Check out the full-stack learning path to learn how to build such projects completely on your own.