Get the code
by Ishan Gulhane | Updated July 3, 2018 - Published March 16, 2018
The Hyperledger Fabric SDK for Node.js is designed in an object-oriented programming style. Its modular construction enables application developers to plug in alternative implementations of key functions, such as crypto suites, state persistence store, and a logging utility. It provides an easy-to-use API to interact with a Hyperledger Fabric blockchain from a Node.js application. It provides a set of APIs to register and enroll new network clients, deploy new chaincodes to the network, and interact with existing chaincodes through chaincode function invocations and queries. This developer pattern demonstrates how to create and deploy the network.
This code pattern was updated to support Hyperledger Fabric V1.1.
If you have been putting off building a Hyperledger blockchain application because you didn’t know where or how to start, procrastinate no longer. This developer pattern will help you get the process started.
Developers often have different preferences in the way they build applications. Some like using a GUI that steps through the process of building applications, while others like to do it via a command-line interface. Hyperledger supports both approaches.
In this pattern, you will learn how to begin the process of building a Hyperledger blockchain application using the Hyperledger Fabric SDK API. The SDK supports Node and Python. This pattern focuses on the Node version. After you deploy the network, you will have created two certificate authorities, two peers, one orderer, and two CouchDB systems to hold the ledgers.
Get the Code »
Back to top