Inspiration
Our inspiration for this was the dropshipping industry which has been expanding thanks to how easy it is to create online stores on Shopify. However, a key problem is shipping times, customers are hesitant whether their orders would arrive on time or at all. Reputed brands would offer compensation for cancellations. However, no one offers payouts on delays, we want to give SMEs the same level of trust that centralized companies such as Amazon have. Even though they might not be able to deliver as promptly as Amazon, consumers do have the guarantee that they would be compensated for delays. Anybody that needs to rely on punctual package deliveries, be it businesses or individuals, benefits from our platfrom.
What it does
We built a platform that allows insurers to sell transparent parametric insurance agreements. Consumers have the option to choose a policy that fits their needs, and purchase that policy while defining a package tracking ID. Chainlink keepers will call a request to get delivery information about that package ID in regular intervals (once per day). If the information shows that the package is delayed, a payout will be initiated to the consumer/insuree. Is the package delivered or the maximum insured days exceeded, the policy is closed and keepers will no longer query that package's info.
How we built it
- Chainlink external adapter to call tracking API
- Chainlink keepers to automate delivery status checks and payouts in case of delays.
- Trackingmore API to get package delivery data
- Solidity to write the smart contract
- Svelte.js as our JS frontend framework of choice
Challenges we ran into
There were numerous challenges in our path, we had to set up our own chainlink node in order to make API calls. Numerous issues arose but we were able to solve them all. Getting used to the execution flow of chainlink API calls and keeper functions was tricky at first but we feel more comfortable with it now!
Accomplishments that we're proud of
We were both very short on time due to busy schedules but we are proud that we were able to learn how to use some exciting new tech and still manage to submit a project despite time constraints.
What we learned
This was fhe first full-stack web3 project using chainlink that we built. We learned how to create chainlink nodes, define jobs, create external adapters, use keepers and more. We had to make a lot of architectural decisions and the project was great web3 dev practice overall.
What's next for Parcelsure
As the next step in our journey we would like to polish Parcelsure more to make it production-ready and see how it performs in the real world. We're excited to here the feedback from people and make improvements.
Built With
- chainlink
- hardhat
- solidity
- svelte
Log in or sign up for Devpost to join the conversation.