Giter Club home page Giter Club logo

adineshreddy1 / supplychainmanagementintoblockchain Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 1.0 16.29 MB

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.

hyperledger-fabric blockchain-technology logistics supply-chain-management supplychain-blockchain private-blockchain hyperledger chaincode transaction blockchain

supplychainmanagementintoblockchain's Introduction

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

supplychainmanagementintoblockchain's People

Contributors

adineshreddy1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

karashutosh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.