Skip to content

A hyperledger blockchain inventory tracker proof of concept

License

Notifications You must be signed in to change notification settings

n3integration/itracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inventory Tracker

This project contains a proof of concept implementation for an inventory tracking system for a ficticious organization: widgets.org. Hyperledger Fabric provides the underlying blockchain implementation. Additionally, this project provides the following capabilities:

  • Fetch inventory from Blockchain
  • Fetch an inventory item (and history) from Blockchain
  • Insert a new inventory item
  • Transfer an inventory item between facilities (e.g. IADFactory => Warehouse)
  • Mark an inventory item as unavailable (e.g. installed)

Blockchain Network

Network Diagram

Project Structure

chaincode
contains the blockchain code that will be deployed to the network
network
contains the scripts and template files to manage the network
service
contains the web api
ui
contains the web ui

Deployment

To build and deploy this project, you should be running on a *NIX-compatible machine with at least the following software installed:

Network

To bring the blockchain network online, run the following command:

$ make netup

Web API

To serve the Web API/UI, run the following command:

$ make run

Inventory Data

The inventory data was imported from Datasn.io with randomized quantities and bogus serial numbers.