Have you ever taken a survey on campus that says "every 1 in 5 people gets a $5 gift card"? We have, many times, but never won. So we are either utterly unlucky, or something fishy is going on.

What it does

B-LOT is a web application that makes the lottery system transparent and public using blockchain. This system gives lotteries credibility without having to reply to a centralized authority. Blockchain also grants digital ownership of the lottery, so if needed, we are able to transfer the lottery event to another organization/individual.

How we built it

The website is coded with React. We use Firebase to store user authentication information, the Capital One Nessie API to store user wallet information, and the Stellar blockchain to track the transaction history of the lotteries as well as maintain transparency.

Challenges we ran into

We are new to almost all of the technologies above, including APIs and React. The biggest challenge was integrating Stellar, which we only have the TypeScript code into our React website using JavaScript.

Accomplishments that we're proud of

We managed to learn Firebase and Nessie API in a day and create a functional website that leads the lottery system to the next level.

What we learned

We learned how to build an authentication system with Google Cloud Firebase and manage digital wallets using Nessie. We also were introduced to blockchain and are starting to utilize blockchain in creative contexts such as lotteries.

What's next for B-LOT

Integrate Stellar block-chain into our system. With the implementation of blockchain, we can create a fully decentralized and public transaction system. Users will be able to have digital ownership of what they won through the lottery. Each transaction will also be public, so that the lottery system is 100% transparent. We will also work with real-life lottery data, starting from on-campus events.

Built With

Share this project: