project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5
project screenshot 6

Splychain

An on-chain delivery tracking application for orders which allows for tamper-proof and transparent tracking of orders through its delivery life cycle.

Splychain

Created At

FVM Space Warp

Project Description

When we make orders from online marketplaces, sometimes our orders get mixed up and the packages get delivered to the wrong people or packages claim to arrive at the delivery address but the receiver never sees the delivery agent, with blockchain, we thought we can do something about it. Splychain is a delivery tracking application that records and alerts the involved parties about the progress of a package right from the very start of the delivery process till it is delivered to the receiver. When a delivery order is created, the Logistic company calls a smart contract function called createOrder which takes in baseCoordinates - the coordinates of the location the order is created from, deliveryCoordinates - the coordinates of the receiver’s address, the trackerId - which uniquely identifies the package. This creates an order with a sender, receiver, trackingId, and deliveryStatus, and an event would be transmitted to the sender, receiver and the logistic company. As the package goes from one checkpoint in the logistic company’s chain of operation to the next, the package delivery status is updated by officers passing the coordinates of the package's last location, the trackingId and at every interaction with the contract, the involved parties are alerted. When the package arrives at the receiver's location, they are alerted by the notification and are required to sign a transaction to authenticate themselves before collecting their package.

How it's Made

We use solidity to write smart contracts, then went on to deploy our contracts; we use Nextjs to construct front-end pages and use ethers.js to realize contract calls and interactions and realize login and transaction signing and broadcasting by evoking Metamask. When building the frontend, we had a hard time connecting walletconnect which will help us connect with sequence wallet but after few trials, we were able to connect successfully

background image mobile

Join the mailing list

Get the latest news and updates