dapp link:(uses the hedera testnet) https://cryptolotto.netlify.app/
Inspiration && What it does
The Lottery Market size in 2022 got a revenue of $430 billion and the great part of them, validate their lottery participations using paper, generating a low environmental sustainability. On the other hand we cannot really verify that the winners are chosen in a fair way, and the same happen at digital raffles hosted by organizations, enterprises, streamers, influencers,... So in traditional lotteries and online raffles we usually end up having this 2 big issues: -low environmental sustainability -dubious credibility of whether winners are chosen fairly
Why Hedera? Using CryptoLotto toghether with Hedera Hashgraph technologies we aspire to solve this 2 problems. Hedera by itself is a low energy network in comparaison to the other other blockchains, helping to reach our goal of high environmental sustainability. Also it has a high throughput and fast finality with low and predictable fees, making the difference almost irrelevant between using a traditional backend system and using a blockchain system , and even adding security and credibility to our application. With our goal of minimizing the impact of our application on the environment, each lottery or ruffle participation will be represented in the smart contract. For guarantee the credibility for choosen winners, the smart contract going to have an algorithm with the function for randomly pick the winners. And thats not all, generally with lotteries the winner is public advertised and you have guaranted to recive the prizes, but that doesn't happen with raffles. In raffles you doubt of the credibility for that the winners be choosen correctly and you also doubt with that the prizes are sended to the users. We also aim to solve that problem with a system that ensures the winners receive their prize, and if they did not, the creators of the raffle would not have access to the money that users have payed to acces the ruffle, or if is a free entrance raffle, the participants would see that the raffle creator, whteher be public figures or entities, have not sent the prizes to the winners, repercuting in their credibility and reputation. This is a way to prevent fake raffles. In lotteries where the prizepool is only money, the prize would be sended automatically to the winners.
How we built it
Technologies: -Solidity for smart contracts -Reactjs for frontend -Hedera HashGraph SDK for frontend interactions with smart contracts -Hedera Consensus Service using Mirror Nodes, for query data from frontend to smart contracts instead of having to query it in some cases, giving better user experience -Hedera Smart Contract Service for Smart Contract -HashPack for wallet connect
how our dapp it reduce carbon footprints?
Cryptolotto is a modern lottery system that differs from traditional ones in several ways. Unlike conventional lotteries that rely on paper to print participation tickets, Cryptolotto stores all participations in smart contracts. Additionally, Cryptolotto uses the Hedera Hashgraph technology, which is renowned for being the most eco-friendly blockchain networks available today with significantly fewer carbon emissions compared to other networks,so Cryptolotto ensures that participants can enjoy the thrill of the lottery without harming the environment.
Challenges we ran into
-Make a secure, escalable, decentralized and enviroiment friendly system without using a backend, trusting 100% on the hashgraph in this project. -One big challenge also is develop on Hedera from 0 knowledge on it, rading carefully the Hedera HashGraph Developer documentation for have better knowledge of how to use each technology of hedera, and the best way to do it, anyways thanks of the good hedera documentation it made me easy to use it.
Accomplishments that we're proud of
Im proud of the work im doing in this hackaton, and surpasing every challenge im running into.
What we learned
-Use the hedera hashgraph sdk, and hedera technologies such as HCS, HTS, Hedera Smart Contract Services -Create interactive frontends around the Hedera ecosystem like Hashpack and Hedera SDK
What's next for CryptoLotto
- Implement NFT with the Hedera Token Service as ticket participation, so users could see how many participations they have, improving the user experience
- Make it more popular on the Hedera ecosystem, with the goal of attracting new users, streamers, enterprises,...
Thanks to
I would like to express my gratitude to Michael Garber and Abi for their assistance in helping me resolve the doubts I had while developing this project
Log in or sign up for Devpost to join the conversation.