Coder Social home page Coder Social logo

supply-blockchain's Introduction

Supply-Blockchain

Blockchain has become a trending topic with the increasing interest of public in crypto-currency such as Bitcoin ๐Ÿ’ฐ. This project demonstrates a use-case of blockchain in IoT. This use-case is based on the Christidis, K. and Devetsikiotis, M., 2016. Blockchains and smart contracts for the internet of things. IEEE Access, 4, pp.2292-2303.

Asset Tracking

Compared to the traditional tracking, a blockchain network that is set up to track this asset would mean that there is only a single shared database to keep track of, where updates come with cryptographic verifiability, get propagated along the network automatically, and create an auditable trail of information. This allows to prevent disputes between the different parties.

Architecture Diagram

The concept could be understood from the below picture: Architecture Diagram

Development

The program looks at the functionality that is mandatory for a asset tracking blockchain. The program has been developed on Python 3.6.1

Usage

  1. Run python3 Supply-Blockchain.py in the downloaded directory.
  2. The number of manufacturer and stakeholder keys need to be specified.
  3. The genesis block is generated and the menu is shown to the user.
  4. The transactions can be added according to the shipment movement.
  5. The mining process selects a random number of transactions to be verified during each run.

Functionalities

  • View blockchain - This allows the user to view the entire blockchain structure.
  • Enter transaction - This allows the user to enter new transactions to the UTXO.
  • View UTXO - This views the entire list of un-confirmed transactions.
  • Mine block - This does verification of transactions to be added to a block.
  • Verify blockchain - This verifies the entire blockchain structure.
  • Generate RSA keys - New RSA keys for the manufacturer and stakeholders can be created.
  • Track an item - This allows to track a particular item through the blockchain.

Screenshots

supply-blockchain's People

Contributors

dheeraj1998 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.