项目作者: suvambasak

项目描述 :
Supply Chain Management using Ethereum-Blockchain
高级语言: JavaScript
项目地址: git://github.com/suvambasak/supply-chain-ethereum.git
创建时间: 2021-01-26T20:51:19Z
项目社区:https://github.com/suvambasak/supply-chain-ethereum

开源协议:

下载


Supply Chain Management using Ethereum-Blockchain

Functionalities

  • The producer can register him as a producer
  • After registration he can add products, the attributes of a product are
    • Product ID
    • Product name
    • Price
    • Quantity
  • The producer should be able to change the price if he wants.
  • Customer can view the products
  • Customer can order the products (no need of sending money, only COD)
  • Customer can track the product using the order ID
  • The status of the order are
    • Placed
    • Rejected
    • Delivered
  • The producer has the authority to change the status of the product (when the customer places an order, the status will be “Placed”).

Want to run on your machine?

Install metamask wallet

Install metamask wallet using this Link. Just collect some ether and you are good to go.

Setup a local server

Install node.js and npm then http-server

  1. $ sudo apt install nodejs npm
  2. $ sudo npm install http-server -g

Run

Clone the repository and start http-server.

  1. $ git clone https://github.com/suvambasak/supply-chain-ethereum.git
  2. $ cd supply-chain-ethereum/
  3. $ http-server

Goto : http://localhost:8080/

Screenshots

Register as a producer





Adding products





Change price of any product





View the products



Order products





Customer can track the product by order ID



View of orders



Status change