Blockchain is an interesting technology that I hope one day will find itself applicable in fields beyond finance. I saw that it is great for supply chain & logistics, so I wanted to create an application that does such with Neo.

What it does

This project integrates the Neo blockchain with not only e-commerce, but also supply chain and logistics. Purchases of products are made with GAS tokens.

Users involved in the network are awarded NEO and GAS tokens for several reasons. If a user's product receives more than one star, they will be rewarded a certain amount; although this yet to be defined, conceptually, five stars gives you the highest amount, and two the lowest amount. For the parties involved in the package delivery, they will be rewarded NEO and GAS, higher than the regular users (e.g., non-manufacturers, buyers).

How it is built it

The project architecture consists of three tiers: external wallet, web application, and smart contracts.

The external wallet utilizes NeoLine. This is where purchases are made from.

For the web application, the application uses Vue.js for the UI, and neon-js for middleware for executing Neo contracts here.

For smart contracts, the neow3j Java SDK is used to create them.

Challenges encountered

I ran into issues with deploying the Java smart contracts. Upon deployment, the contract was not visible on the blockchain. On top of this, when running the test file "," the program does not seem to find the NEF and manifest files. After getting it visible, I needed a signer for it to function correctly. This hinders the process of going forward to invoke the contract, and implement it with neon-js using its hash.

What's next for Pippin

In the future, we can improve the UI, have the Google Maps API functional, get the character counts for product name and description in the "Upload New Product" page working, and most importantly have the contracts running in the backend.

Built With

Share this project: