The Hyperledger Fabric Client (HFC) SDK provides a powerful and easy to use API to interact with a Hyperledger Fabric blockchain.
This document assumes that you already have set up a Node.js development
environment. If not, go here
to download and install Node.js for your OS. You'll also want the latest version
of npm
installed. For that, execute sudo npm install npm -g
to get the
latest version.
We publish the hfc
node module to npm
. To install hfc
from npm simply
execute the following command:
npm install -g hfc
See Hyperledger fabric Node.js client SDK for more information.
First, you'll want to have a running peer node and member services. The instructions for setting up a network are here. You may also use the Fabric-starter-kit that provides the network.