Git Product home page Git Product logo

azure-basic-provenance-box's Introduction

Basic Provenance Sample Application for Azure Blockchain Workbench

Overview

The Basic Provenance application expresses a workflow for a simple record of ownership or responsibility. The state transition diagram below shows the interactions among the states in this workflow.


Application Roles

Name Description
InitiatingCounterParty The first participant in the supply chain.
Counterparty A party to whom responsibility for a product has been assigned. For example, a shipper
Owner The organization that owns the product being transported. For example, a manufacturer
Observer The individual or organization monitoring the supply chain. For example, a government agency

ย 

States

Name Description
Created Indicates that the contract has initiated and tracking is in progress.
InTransit Indicates that a Counterparty currently is in possession and responsible for goods being transported.
Completed Indicates the product has reached it's intended destination.

Workflow Details

state diagram of the workflow

An instance of the Basic Provenance application's workflow starts in the Created state when an owner wants to begin a process for tracking ownership or responsibility. An owner is also the InitiatingCounterParty since the owner initiates the process for tracking the ownership or responsibility. The state changes to InTransit whenever a new counterparty that can take on the responsibility is identified. The owner in the InitiatingCounterParty role calls a function to transfer responsibility by specifying a counterparty. Upon reaching the InTransit state, the counterparty can transfer the responsibility to another counterparty or the owner can decide to complete the transfers of responsibility and call the Complete function to reach the Completed state.

The happy path shown in the transition diagram traces the owner transferring responsibility to a counterparty once and then completing the workflow.


Application Files

BasicProvenance.json

BasicProvenance.sol

azure-basic-provenance-box's People

Contributors

benjamincburns avatar caleteeter avatar cgcardona avatar cruzmolina avatar dependabot[bot] avatar lukepicci 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.