Coder Social home page Coder Social logo

sumba101 / decentralized-supply-chain Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 165 KB

A decentralized supply chain trace- ability application that uses input at every step of the way to ensure accountability and quality.

Solidity 75.93% JavaScript 24.07%

decentralized-supply-chain's Introduction

Decentralized-supply-chain

A decentralized supply chain trace- ability application that uses input at every step of the way to ensure accountability and quality.

Structures used

  • Party Each party is represented by a party object. The contract has a global list of parties identified by their unique addresses.

    It tracks the parties name, role (Whether delivery party or not), tier, and location

  • Component Type It is the basic blueprint of the component, tracking its pre-requisite sub components

    It tracks component type name and subcomponents

  • Component A component is any part or a product of multiple parts in the manufacturing process. A set of components can only be combined to form a new component if the correct amounts of them are available.

    It tracks the subcomponents, component type and manufacturer address

  • Order It is a purchase of a particular component types in a specified quantity by a given party

    It tracks shipment id, buyer, seller, order status and components with their corresponding quantities

  • Shipment The delivery requirement from one delivery partner to a non delivery partner is tracked in shipment.

    It tracks the list of orders, buyer, seller, shipping location and the logistics service provider

Workflow

  • Required parties in the process (both delivery providers and non delivery providers) are created with addParty function
  • Basic component types are added along with corresponding components with addComponentType and addComponent
  • Orders are placed using placeOrder
  • The respective orders are filled using fillOrder
  • Orders are confirmed by delivery providers with confirmOrder
    • Up until an order has been confirmed, either order buyer or seller have the ability to cancel it with cancelOrder
  • Shipment is created by delivery service providing party and orders are added to shipment with addOrderToShipment
  • Upon shipment completion the orders are finished with completeShipment

decentralized-supply-chain's People

Contributors

sumba101 avatar palutlaanirudh avatar

Watchers

James Cloos 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.