blueband

URL to this repo: https://bit.ly/2PhVNrP

How to Create a Supply Chain Blockchain App

Lennart Frantzell, IBM Devloper Advocate San Francisco alf@us.ibm.com

David Nugent, IBM Developer Advocate, San Francisco

Grant Steinfeld, IBM Developer Advocate New York City

Blockchain in the news

Satoshi Nakamoto's paper: Bitcoin: A Peer-to-Peer Electronic Cash System https://bitcoin.org/bitcoin.pdf from 2008.

Hyperledger Fabric – from The Linux Foundation – is the open source modular blockchain framework that has become the de facto standard for enterprise blockchain platforms.

In addition to the Open Source Hyperledger Fabric there is the cloud-based IBM Blockchain Platform:

  1. Deploy on IBM Cloud
  2. Deploy using Software as a Service (SaaS)
  3. $0.29 USD
  4. Price per Allocated CPU-Hour (VPC-hour) ㅤㅤ ㅤㅤ ㅤㅤ

IBM Cloud advantages:

  1. No membership fees: Invest directly in your blockchain components
  2. Estimation clarity: Simple hourly pricing model for easier cost control
  3. Scalability to compute: Adjust compute up or down to minimize expense
  4. Leverage your existing IBM Cloud services and components
  5. Billing transparency: Pay as you go with updates on your dashboard

ㅤㅤ ㅤㅤ ㅤㅤ Please note: The IBM Blockchain Platform for IBM Cloud requires the IBM Cloud Kubernetes Service and storage, which are billed separately.

blueband

Food industry without Blockchain

Food industry with Blockchain

Smart Contracts to program the Internet

blueband

Some Supply Chain Apps written in Blockchain

blueband

Developing Supply Chain Apps, prerequisites and downloads

  1. Check Pre-requisites 2.0
  2. Download Visual Studio Code: https://code.visualstudio.com/updates/v1_39. Sept 2019 version 1.39.x Be sure to change Setttings/Update:Mode to manual
  3. Download the IBM Blockchain Platform Extension for VS Code: https://bit.ly/2RS2R02
  4. Trouble-shoot installation: https://github.com/IBMDeveloperNYC/coffee-supply-chain-blockchain/blob/master/TROUBLE-SHOOTING.md

Hands-on Blockchain

Follow tutorials

Tutorial 1 Local Smart Contract Development

Follow the typical workflow from generating a new default smart contract project, deploying code to the Local Fabric environment, and testing out your transactions via an application gateway.

Tutorial 2

Create a cloud blockchain deployment

After developing a smart contract against the local runtime, you'll need somewhere more permanent to deploy for further dev, proof of concept, or production use. IBM Blockchain Platform includes an offering on IBM Cloud for creating and operating a suitable runtime environment for such purposes. Its full name is "IBM Blockchain Platform on IBM Cloud", but for the sake of brevity we'll refer to it from here on out as "the cloud service". In this tutorial you will learn how to get a cloud environment set up using the cloud service.

Tutorial 3

Deploying and transacting with IBM Cloud

Important: You will need a smart contract package and a suitable cloud environment to follow this tutorial. Follow parts 1 and 2 of this series first for instructions.

blueband

Appendix

1.3 IBM Blockchain 101: https://ibm.co/36U1QZM

1.4 Blockchain code patterns: https://ibm.co/2GROsL0