Saturday, August 18, 2018

IBM Blockchain platform

IBM Blockchain Platform makes use of the most prevalent and popular open source Blockchain technologies, and is big supporter and contributor to OS projects.



https://ibm-blockchain.github.io/develop/

Hyperledger is the Open Source platform for Blockchain technology managed by Linux Foundation.

 






IBM Blockchain Typical Solution Architecture





High Level Components

  • Execution Runtimes 
    • Hyperledger Fabric, Web, Embedded Node JS, Connection Profiles
  • JavaScript SDK 
    • Node JS npm modules like composer-client, composer-admin 
  • CLI 
  • REST Server
  • LoopBack Connector
  • Playground Web User Interface
  • Yeoman Code generator 
    • Angular Web App, Node JS app, Skeleton business network
  • VSCode and Atom editor plugins

Installation Steps

Step-1: CLI Tools


    • npm install --global --production windows-build-tools
    • npm config set PYTHON "C:\Users\stalam0\Python\python.exe"
    • npm install -g composer-cli@0.20

    • npm install -g composer-cli
    • npm install -g composer-rest-server
    • npm install -g generator-hyperledger-composer
    • npm install -g yo



      Step-2: Install Playground

      • npm install -g composer-playgound

        Step-3: Setup IDE

        • install VSCode and install Hyperledger composer extension



          Step-4: Install Hyperledge Fabric

          • mkdir ~/fabric-dev-servers 
          • cd ~/fabric-dev-servers
          • curl -O https://raw.githubusercontent.com/hyperledger/composer-tools/master/packages/fabric-dev-servers/fabric-dev-servers.tar.gz
          • tar -xvf fabric-dev-servers.tar.gz

          • cd ~/fabric-dev-servers
          • ./downloadFabric.sh

          Starting and stopping Hyperledger Fabric


          •  cd ~/fabric-dev-servers
          •  ./startFabric.sh
          •  ./createPeerAdminCard.sh
          • ~/fabric-dev-servers/stopFabric.sh, and start it again with 
          • ~/fabric-dev-servers/startFabric.sh.

          Start the web app ("Playground")

          •     composer-playground
           

          http://localhost:8080/login

          No comments: