I got this idea from my friend who plays the lottery and always wanted to know how it works. He never saw any lottery project which is implemented through ethereum and blockchain. So from his idea, I thought of creating an online lottery system that can be played anytime, anywhere, and by anyone. It has minimum criteria for submitting some ether and then you are ready to go.

What it does

It basically asks you to enter any ether amount more than 0.5 ether to enter in the lottery and after you enter, the lottery winner is decided by the manager which is me and by random, the winner is chosen and the amount of ether is directly transferred into the ethereum wallet by which the person paid earlier. Live representation is done in the video or you simply visit - and play yourself. For this, if you have metamask it would be good.

How I built it

I Used for writing code in solidity for my smart contract and created front-end using react and merged them in the back-end. It also uses the Rinkeby Test network by MetaMask for making transactions for demo purposes. Real ether can also be used.

Challenges I ran into

I was new to BlockChain, I learned everything in 7 days, about metamask, ethereum, solidity, and BlockChain. I took this as an opportunity to learn and enhance my knowledge in BlockChain.

Accomplishments that I'm proud of

While Understanding In and Out's I learned various technologies that I'm proud to know from this Hackathon.

What I learned

I learned what is BlockChain, CryptoCurrency, MetaMask and many more such thing which led me to create a LiveLottery Project

What's next for SuperLottery - Play And Win

I will enhance more features into it while I'm learning more about it.

Built With

Share this project: