What it does
Our project covers two areas:
- trading stocks
- using stocks to gain discounts
Stock trading is achieved by using SIRA along with an aggregator application that can get buy orders from all smart contracts that are part of the SIRA-compliant ecosystem of smart contracts.
Purchased stocks can be then used to get various discounts etc. in companies that the user is holding stocks in. We have designed a proof of possession mechanism that is easy to use, reliable and uses data from the blockchain.
How we built it
The app uses provided Smart Contracts. We deployed them on the Sepolia blockchain. We have built an API in JavaScript that fetches the blockchain data using the Infura node to enable a good front-end experience. We have also built 3 separate frontend applications, one web app, and 2 iOS applications.
The web app is an order explorer that enables users to create buy orders, fulfill them, and browse their assets. The iOS apps showcase the loyalty use case that is enabled by the stocks being stored on the blockchain. There is an app for end-client and a company operator to validate that end-client has the equity required to earn a discount.
Challenges we ran into
- iOS camera module integration cost us a few hours and ended up being a one-line fix
- Making smart contracts work with frontend application, especially figuring out the validation errors
Accomplishments that we're proud of
- Creating 5 working applications in less than 48hours (we started Friday evening)
- Figuring out the use cases for SIRA standard
- Finishing the project
What we learned
- Regulations are already created for great, real-world blockchain use cases
- The last 20% is always the hardest
- What are the legal challenges when trying to utilize new technology
What's next for BULLetproof exchange
We want to contribute to SIRA standard to make it even better and more "bulletproof". We also want to enhance the loyalty application and create a white label for interested companies.
Sponsors We are applying for
- PKO BP
- WhiteBit and Whitechain.io
Log in or sign up for Devpost to join the conversation.