GitHub URL: https://bit.ly/2IqATCK
Note: Capital "i" after the number "2" in the URL.
Presented by: Lennart Frantzell
Contents
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 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."
Open your terminal environment and update the respositories and installed packages using the following command:
sudo apt-get update && sudo apt-get upgrade
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.
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.
- Install Docker using
apt
,brew
orchoco
. - Install Node (which should install NPM) using
apt
,brew
orchoco
. - Install Yeoman using
npm install -g yo
For reference, IBM Cloud documentation for developing smart contracts with Visual Studio Code extension.
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.
Run IBP on IBM Cloud or locally on your machine.Developing Smart Contracts using Visual Studio (VS) Code
- Ensure you have VS Code installed and the IBM Blockchain Platform extension.
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.
Build a Blockchain Insurance App
📅 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
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.
Enterprise-grade permissioned distributed ledger platform that offers modularity and versatility for a broad set of industry use cases.
-
Writing your first application using Smart Contracts (Node.js) in Hyperledger Fabric
-
Hyperledger Fabric 1.4.1 - Release Notes
-
Raft Ordering Service - Fault Tolerance Consensus Algorithm
-
Christopher Ferris | IBM Fellow CTO - Open Technology
-
Arnaud J Le Hors | IBM - Senior Technical Staff Member
-
Christian Cachin | IBM Cryptographer, Zurich
-
Mark Parzygnat | IBM Blockchain Program Director