LennartFr / 09-06-13-SF-Lunch-and-Learn

SF Lunch and Learn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Title: An introduction to the brand new IBM Blockchain Platform 2.0 in the Cloud!

From Hyperledger Fabric to IBM Blockchain Platform 2.0

linkedin.com/in/lennartfrantzell

09-06-13-SF-Lunch-and-Learn

Whitelisting

News

Does Hyperledger Fabric perform at scale?

Forbes: Blockchain Goes To Work At Walmart, Amazon, JPMorgan, Cargill and 46 Other Enterprises

Cargill Hyperledger Grid

Target Blockchain for Supply Chain

Why new off-chain storage is required for blockchains

IBM Blockchain Twitter feeds:

Christopher Ferris IBM Fellow CTO Open Technology https://twitter.com/christo4ferris

Arnaud J Le Hors. Senior Technical Staff Member: https://twitter.com/lehors

Christian Cachin IBM Cryptographer, Zurich. https://twitter.com/cczurich?lang=en

IBM Blockchain: https://twitter.com/ibmblockchain?lang=en

Mark Parzygnat.Program Director IBM Blockchain: https://twitter.com/meetmarkp?lang=en

blueband

Learning Objectives:

  1. Introduction

  2. How to launch the brand new IBM Blockchain Platform 2.0 in the IBM Cloud

  3. On your laptop: how to install the IBM Visual Studio Code with the brand new IBP plugin

  4. How to create your first Smart Contract with Visual Studio Code

blueband

Learning Objective 1: Introduction

It all started in October during the Global Financial Crisis in 2008 with Satoshi Nakamoto and his paper BitCoin: A Peer-to-Peer Electronic Cash System which addressed a key problem in electronic commerce:

A purely peer-to-peer version of electronic cash would allow online payments to be sent directly from one party to another without going through a financial institution.

Digital signatures provide part of the solution, but the main benefits are lost if a trusted third party is still required to prevent double-spending.

We propose a solution to the double-spending problem using a peer-to-peer network.

Cryptocurrencies

Facebook Libra

Facebook says Libra would be tied to a basket of low-risk securities and traditional, government-issued currencies, such as the dollar, euro, pound and yen. Expected to be launched in 2020, Libra is described as a blockchain-based digital coin that will let Facebook users send and receive money or to pay for services. The goal is for Libra to be used outside of the social network as well: Consumers may eventually be able to use it to pay for a cab or a cup of morning coffee.

Let's start with Hyperledger Fabric:

Enterprise grade permissioned distributed ledger platform that offers modularity and versatility for a broad set of industry use cases.

  1. Hyperledger Fabric’s First long term support release

  2. Raft ordering service Fault Tolerance consensus algorithm

Blockchain Use Cases

IBM Blockchain Garage Services

blueband

Learning Objective 2: How to launch the brand new IBM Blockchain Platform 2.0 in the IBM Cloud

Now let's talk about IBM Blockchain Platform

IBM Cloud sign-up link: https://ibm.biz/Bdzqsf

IBM Cloud Catalog link: https://cloud.ibm.com/catalog/

IBM Blockchain Platform in the IBM Cloud: https://cloud.ibm.com/catalog?search=blockchain. Select "Blockchain Platform IBM IAM-enabled"

IAM Enabled= "Identidy and Access Management"

Kubernetes Cluster in the IBM Cloud

Blockchain IBP Pricing "** Preview the IBM Blockchain Platform at no charge for 30 days when you link your IBM Blockchain Platform service instance to an IBM Cloud Kubernetes free cluster. Performance will be limited by throughput, storage and functionality. IBM Cloud will delete your Kubernetes cluster after 30 days and you cannot migrate any nodes or data from a free cluster to a paid cluster. "

Learning Objective 3: On your laptop: how to install the IBM Visual Studio Code with the brand new IBP plugin

An introduction to programming Hyperledger Fabric SlideShare

IBM Blockchain Platform SlideShare

IBM Blockchain Solutions SlideShare

blueband

Learning Objective 4: Developing smart contracts with Visual Studio Code extension

Install IBM Blockchain Platform VS Code extension for free

Download Visual Studio Code

Install IBM Blockchain Platform for VS Code

Go through Tutorial One in VS Code: Local Smart Contract Development.

Follow the typical workflow from generating a new smart contract project, deploying code to the local_fabric_runtime and testing your transactions via an application gateway

blueband

Debugging

  1. The application uses Node.js and can sometimes get the wrong version of Node.
  2. If npm install gets errors,
  3. do: npm rebuild, npm install
  4. And if that doesn't work, do:
  5. nvm use 8.12.0 npm install or nvm use 8.12.0 npm rebuild npm install
  6. the same if npm start gets errors 1 You can also do the same if Visual Studio Code console, Local Fabric Ops pane, do Teardown and Restart Fabric Runtime

Where do we go from here?

June 21: Blockchain Developer Summit

Build a blockchain insurance app

IBM Developer SF Bay Area

IBM SF Bay Area Meetups

About

SF Lunch and Learn