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

IBM Blockchain Platform and Hyperledger Fabric

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub URL: https://bit.ly/2IqATCK

Note: Capital "i" after the number "2" in the URL. blueband

An Introduction to IBM Blockchain Platform (IBP)!

From Hyperledger Fabric to IBM Blockchain Platform 2.0

Presented by: Lennart Frantzell

Contents

blueband

IBM Cloud and IBM Blockchain Platform

Sign-up for IBM Cloud

Run IBM Blockchain Platform on the IBM Cloud

  • Select the "Blockchain Platform | IBM IAM-enabled" option. (IAM refers to Identity Access Management)

Run a Kubernetes Cluster (free) on the IBM Cloud

Kubernetes Service is a managed container service for the rapid delivery of applications that can bind to advanced services like IBM Watson® and blockchain.

IBM Blockchain Platform

Reference
  • IBM Cloud Catalog
  • IBP Pricing
    Note: "You can 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."

blueband

Development

Prerequisites

Linux

Open your terminal environment and update the respositories and installed packages using the following command:

sudo apt-get update && sudo apt-get upgrade

Mac OS

We recommend using a package installer like Homebrew to facilitate the installation of packages.

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

If needed, there are other installation options available.

Windows

We recommend using a package installer like Chocolately to facilitate the installation of packages.

  • Install with cmd.exe using the following command:

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

  • Install with PowerShell.exe* using the following command:

Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

  • An additional step is needed to ensure Get-ExecutionPolicy is not Restricted.

If needed, reference the installation instructions.

Required Packages

  • Install Docker using apt, brew or choco.
  • Install Node (which should install NPM) using apt, brew or choco.
  • Install Yeoman using npm install -g yo

For reference, IBM Cloud documentation for developing smart contracts with Visual Studio Code extension.

Install Visual Studio Code

Download and Install VS Code - a free source-code editor developed by Microsoft and available for Windows, Linux and Mac OS. It includes support for debugging, embedded Git control and GitHub, syntax highlighting, intelligent code completion, snippets, and code refactoring.

Install IBM Blockchain Platform (extension) for VS Code

blueband

Run IBP on IBM Cloud or locally on your machine.

Hands-On Lab 📒

Developing Smart Contracts using Visual Studio (VS) Code

In VS Code, go through Tutorial One: 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.

Additional Lab 📒

Build a Blockchain Insurance App

blueband

Reference

Upcoming Events

📅 Blockchain Developer Summit | June 21, 2019

Join our Meetup Group: IBM Developer SF Bay Area

Review our Meetup Events: IBM Developer SF Bay Area Events

Recent News

Blockchain Genesis: How did it all start?

During the Global Financial Crisis of 2008, Blockchain was invented by a person (or group of people) using the name Satoshi Nakamoto to serve as the public transaction ledger of the cryptocurrency bitcoin. The identity of Satoshi Nakamoto is unknown. His whitepaper BitCoin: A Peer-to-Peer Electronic Cash System is available to read through and focuses on addressing 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 or any intermediary.

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.

Hyperledger Fabric

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

Twitter Accounts to Follow

blueband

About

IBM Blockchain Platform and Hyperledger Fabric