Inspiration
============== We are attempting to build a collaboration token-based payment platform that allows and manages interactions between Shippers, Freight Forwarders and Airlines on-boarded on this cargo chain enabling time/milestone-based guaranteed payment by adhering with the contracts mutually accepted and stored on this platform, empowered by blockchain. This platform provides removes the need of reconciliation of the payments from both ends in a decentralized manner which simplify processes, making them leaner and digitizing the information. In the demo, ‘MedSecure’(Shipper) will request ‘Moving Mountain (a Freight Forwarder) which is a partner of ‘Harmony Airlines’ (Airlines or Transporter) on this platform for transporting a consignment.
APIs used – ONE Record, Pay Cargo and KLM API Collection
What it does
======================= Our solution brings all parties in the Cargo chain on a platform powered by Blockchain and IPFS. It is easily integrable with Airlines existing payment system. The Airline can onboard partners on the platform and establish contracts with the partners. The platform provides a means to negotiate on the terms (revenue sharing on transportation costs, incentives, penalties etc.). Once the contract is finalized, a wallet is created for the partner, this wallet is directly linked to banking accounts of partnered Freight Forwarders and Airlines. For any booking, the quotation from Airlines will specify the amounts to be paid based on the milestones.
While the broader solution covers the booking flows as well as, every booking made on the platform will establish the parties that will fulfill the shipment based on contracts. The booking component transfers the details of the booking to the fulfillment process. Any documents uploaded as part of the shipment details are stored in IPFS for sharing with the partners involved in the shipment.
Our demo for the day, details the payment process using QR code where all parties send events to the platform when fulfilling their part of the shipment, all the events are stored on the Blockchain. The airline makes payments to the wallets of their partners (Freight forwarders, Ground handlers, Trucking agencies etc.) as soon as their stage of the shipment is completed. This is done based on proof of delivery. The transactions on the wallet are also stored on the Blockchain. Hence, all parties can see the details of all transactions within their wallet.
We will also demonstrate the payment process using QR code (but other options like: - Payment using SMS and Payment using link is also available on the platform). All the partners will be able to see their transaction history, the solution can be extended to generating invoices too or integrate with accounting/invoicing systems of the partners.
The platform will also be extended to allow partners to transfer money from the wallet to a bank account of their choice when they choose to do so, this will not be demoed in the solution. Only one set of transactions will be performed during the demo.
All the features demonstrated are exposed through API’s making the platform developer friendly and enhancing adoption.
How we built it
======================
We built this solution using technologies:
Blockchain – ERC20 based Token Contract Implementation and Hyperledger Fabric 2.3.3, (Contains 3 nodes – 1 Shipper, 1 Freight forwarder 1 Airlines on one channel)
UI – Angular 10
APIs – NodeJS 14 LTS
Document Storage – IPFS DB
APIs used – ONE Record, Pay Cargo and KLM API Collection
Payment Gateway: Cashfree – NACH Mandate & API Banking
Deployment: Docker & Docker-Compose
Mobile development: Ionic v5
Wallet: ERC20 token-based Contract implementation in HLF V2.3
Challenges we ran into
=======================
- API Integration with PayCargo + ONE Record + KLM
- Integration with PaymentGateway using QR Code
Accomplishments that we're proud of
================================== We are proud of coming up with a solution that • will reduce carbon emissions and increased digitization • stopped payment uncertainty ad supporting cost optimization • provides a platform for partners to work together and succeed together • provides greater transparency and trust amongst the partners in the Cargo industry • will be able to create new revenue models between partners • provides quick returns to partners for services offered
What we learned
=====================
- gained knowledge on ONE-RECORD Concept
- excited to see the APIs are prefectly matched for the usecase
What's next for CargoHub
========================== • We see us enhancing the platform to comply with the IATA one record spec in its entirety. • Develop an adapter layer on top of Blockchain to ensure airlines that do not comply with the IATA One record spec can easily integrate with our platform • Work with Fintech’s to enhance the offering by integrating with virtual account providers in different geographies • Enhance document processing capabilities using Deep learning techniques to extract required information • Enhance the platform to store images of Cargo at various points in the journey augmented by image processing capabilities to detect damage of Cargo and help with claims • Enhance this platform to share the credit worthiness of the organizations
Built With
- angular.js
- cashfree
- docker
- docker-compose
- erc20
- fabric
- hyperledger
- ionic
- ipfs
- klm
- node.js
- onerecord
- paycargo

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