The global Call for Code is well underway, we want to share some visual recognition models which could help you. These AI models can operate on the edge, which could be particularly useful for this years’ theme: disaster preparedness. How could visual recognition help in relief work? From satellite and drone imagery analysis, to classifying...
Explore Hyperledger Fabric through a complete set of APIs
Create and deploy a blockchain network using Hyperledger Fabric SDK for Node.js
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.
Updated to support Hyperledger Fabric V1.1
Have you been putting off building a Hyperledger blockchain application because you didn’t know where or how to start? Procrastinate no longer because 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 command-line interface; and Hyperledger supports both methodologies.
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.
- Run a build script that launches the network in 3 steps.
- Ensure that all old Docker images are removed so you build the network from a clean system.
- Generate the cryptographic material. The Crypto configuration file (crypto-config.yaml) defines the identity of who is who. It tells peers and orderers what organization and domain they belong to. It then initializes a blockchain network or channel and services with an Orderer Genesis Block, which serves as the first chain block. Membership services are installed on each channel peer.
- Install the chaincode on the peers, and build the Docker images of the orderer, peers, channel, network.
- Launch the network.