Get Hyperledger Composer and Playground

In this project we will make use of the Hyperledger Composer development tools. Hyperledger Composer is an application development framework, which helps us in getting started quickly, and which simplifies the creation of Hyperledger Fabric (https://hyperledger-fabric.readthedocs.io/en/latest/) blockchain applications. 

We start by installing the most important utility, composer-cli, which will help us to perform administrative, operational, and development tasks:

npm install -g [email protected]

Next, we'll also pick up generator-hyperledger-composer and composer-rest-server. We start by installing the first package, which is a Yeoman module that creates project templates for using with Hyperledger Composer: 

npm install –g generator-hyperledger-composer      

Then, we install the Hyperledger Composer REST server, which allows for RESTful interactions between our deployed business network and a web client:

npm install -g composer-rest-server

Afterwards, we install Yeoman, which is a tool for generating skeleton web applications. We install it in order to use the previously installed generator, generator-hyperledger-composer :

npm install –g yo  

We need then to install Hyperledger Playground, which provides you with a user interface for viewing and demonstrating your business networks, as follows:

npm install –g composer-playground
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset