iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: http://github.com/adineshreddy1/SupplyChainManagementIntoBlockchain
GitHub - adineshreddy1/SupplyChainManagementIntoBlockchain: A blockchain based system which records the temperature,location and other paramaters of a shipment/consignment during shipment. Depending upon our requirements for tracking the consignment , we can keep those details into blockchain such as location,status, time,temperature and others. Looking forward for the contribution from front end developers. Please feel free to ping me.
Skip to content

A blockchain based system which records the temperature,location and other paramaters of a shipment/consignment during shipment. Depending upon our requirements for tracking the consignment , we can keep those details into blockchain such as location,status, time,temperature and others. Looking forward for the contribution from front end develop…

Notifications You must be signed in to change notification settings

adineshreddy1/SupplyChainManagementIntoBlockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

SupplyChain Management Into Blockchain

Node.js npm Platforms

Looking forward for the contibution from front end developers. Please feel free to ping me.

Prerequisites For Hyperledger Fabric-1.4

Configured with Hyperledger Explorer

Configured with Grafana and Prometheus

Dependencies of Hyperledger Fabric-1.4

Description/Summary

A blockchain based solution which records the temperature,location,status of a shipment/consignment and gives the details of the consignment to Seller,Buyer and logistics.

Depending upon our requirements for tracking the consignment , we can store those details such as location,status, time,temperature and others into blockchain.

Architecture diagram :

Network Diagram-Blockchain Network setup details:

alt text

Usage

Pull the docker images 1.4 and place bin directory into network folder.

1)Run ./remove.sh to remove certificate. Removes all the certificates generated ---> Inside network folder 
2)Run ./stopdocker.sh For removing all the running container and dev images related to chaincode --> inside network folder 
3)Run ./generate.sh Generate new certificats for all the orgization --> Inside network folder
3)Come back to root folder where your ./start.sh is present  
5) Run ./start.sh script to bring your network and server will run on 8080 port.

Postman Results:

RequestLogistic:

Generally Logistic transfer flow starts from the buyer who need to get some product/consignment from seller, will request for the products/consignment with id,type,Buyerid,BuyerLocation,Sellerid,SellerLocation,status . The seller has to accept the request and logistics will come into picture who have to transport the goods/consignment from seller to buyer.

Postman for generating transaction id

alt text

console with transaction id

alt text

Postman for transaction id

alt text

Couchb with transaction id

alt text

TransitLogistics:

In this phase, logistics will be transported from seller to buyer and details like location,status,time,temperature,etc., of the products/consignment will be getting from GPS/IOT devices attached to consignment and stores the details into blockchain.

Postman for TransitLogistics id

alt text

console with TransitLogistics transaction id

alt text

Postman for TransitLogistics transaction id

alt text

Couchb with TransitLogistics transaction id

alt text

DeliveryLogistics:

In this phase,logistics will delivery the product/consignment to the buyer.

Postman for DeliveryLogistics transction id

alt text

console with DeliveryLogistics transaction id

alt text

Postman for DeliveryLogistics transaction id

alt text

Couchb with DeliveryLogistics transaction id

alt text

GetAllProducts:

Get all the Product details within the blockchain alt text

QueryProduct:

Get the product details of a particular product.

Console Results

![alt text]https://github.com/adineshreddy1/LogisticsIntoBlockchain/blob/master/screenshots/QueryNAme_console.png)

Postman Results

alt text

GetTransactionHistoryForKey:

Get all the transactions for a particular logistics product id like request logistic,transitlogistic and deliveryof logistics of the product.

Console Results

alt text

Postman Results

alt text

Written by

Dinesh Reddy A
https://www.linkedin.com/in/adineshreddy1/
https://stackoverflow.com/users/9599959/adineshreddy1

About

A blockchain based system which records the temperature,location and other paramaters of a shipment/consignment during shipment. Depending upon our requirements for tracking the consignment , we can keep those details into blockchain such as location,status, time,temperature and others. Looking forward for the contribution from front end develop…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published