Inspiration

The inspiration for this project was to learn solidity and develop my blockchain development skills. As a new developer, and as I was working solo, I wanted to do something that was not too complicated.

What it does

It allows any number of users to enter a lottery by submitting funds to a smart contract. After a specified duration has elapsed a winner will be randomly selected and the lottery pool will be transferred to their wallet.

How we built it

On the backend the project was built using Truffle and employs Keepers for enforcing duration and VRF for generating a random number for selecting a winner. On the frontend it uses CSS/HTML/JS with web3.js.

Challenges we ran into

Learning to use the chainlink oracle ecosystem

Accomplishments that we're proud of

Building a DApp.

What we learned

Solidity, Javascript and how to use oracles.

What's next for Decentralized Lottery

Allow users to enter the lottery by choosing numbers.

Built With

Share this project:

Updates