Inspiration
We wanted to build scalable shipping methods at the same time local decentralized marketplaces which are often not seen these days. Our project provides a framework that can be used by anyone anywhere with additional checks of local laws. Rather than building just like many trust-based OTP verification systems, we built a universal one that can be incorporated into any app.
What it does
It has two major parts:
Trustless OTP-based delivery system
A marketplace where sellers can list products and buyers can buy and sellers will be notified of the orders. The sellers can then assign orders to different shipping services and each time they will deliver order, a trustless truly random number will be generated by Chainlink's VRF and from that we will get OTP to verify the order and deliver order. This one only has to use one platform for OTP generation and have whole other stack on top of it, which is our 2nd part.

- Low Carbon Emission Products and Government Involvement
Here we are making a pool where on each product the customer will be discounted (rewarded) or charged (taxed) based on the type of product they buy. Each product will have a net carbon rating and they will be charges accordingly through smart contracts.
Here we are assigning user 10 rating at first and we have from -10 to 10, as some products may reduce carbon, some may be neutral and some may produce carbon. Each product will also have rating from -10 to 10. Assuming that the government will have it's own database and we'll have to sync and update it accordingly. Also, we'll have to fetch the dynamic taxation or reward accd. to rating caused by inflation.

NOTE: Carbon Emission and tax or reward we be regulated by government we are just showcasing here how it can be used in the future with robust decentralized oracles and blockchain . Also, The products themselves will be regulated by government and taxation too. Here's it's simple for Hackathon purposes.
How we built it
We used SQL database (PostgreSQL) for the general backend leaving payments, for which we used Smart contracts which can be found link.

Challenges we ran into
- coming up with a 2 Factor Authentication or OTP system on blockchain was difficult.
- sharing the random secret only with the user was not possible, so we came up with the immediate verification concept.
- working with so many new technologies like chainlink VRF, chainlink Any API, verse, space and time.
- integrating different technologies in the same system(smart contract).
Accomplishments that we're proud of
- implemented a trustless OTP system on the chain.
- contributing to saving our planet by reducing carbon footprints and creating a sustainable future for generations to come.
- made a very robust, secure, trustless, scalable system that can be used by anyone anywhere
What we learned
- learn about Chainlink oracles and various services offered by Chainlink.
- explored Chainlink VRF and its vast use cases.
- learned how to integrate Chainlink with any of our external APIs.
- learned to make external adapters for chainlink oracles.
- learned how to use a DEX(verse) in the smart contract.
Built With
- chainlink
- javascript
- moralis
- postgresql
- react
- redux
- solidity
- space-and-time
- sql

Log in or sign up for Devpost to join the conversation.