-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
incorporate JZ comments.. couple outdated links changed to accurate URL [ci-skip] Change-Id: I2530d9243d330360f11efc8cd4e60b98135b6082 Signed-off-by: Nick Gaski <ngaski@us.ibm.com>
- Loading branch information
Showing
2 changed files
with
13 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,16 @@ | ||
Hyperledger Fabric Client (HFC) SDK for Node.js | ||
Hyperledger Fabric SDK for Node.js | ||
----------------------------------------------- | ||
|
||
The Hyperledger Fabric Client (HFC) SDK provides a powerful and easy to | ||
use API to interact with a Hyperledger Fabric blockchain. | ||
The Hyperledger Fabric SDK for Node.js 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 <https://nodejs.org/en/download/package-manager/>`__ 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. | ||
Refer to the `Hyperledger Fabric SDK for Node.js <https://github.com/hyperledger/fabric-sdk-node>__` | ||
library for prerequisites and instructions on setting up your local environment. | ||
The library contains scripts and sample applications to facilitate development and | ||
run end-to-end testing. | ||
|
||
Installing the hfc module | ||
~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
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 <http://fabric-sdk-node.readthedocs.io/en/latest/node-sdk-guide>`__ | ||
for more information. | ||
|
||
Hyperledger fabric network | ||
-------------------------- | ||
|
||
First, you'll want to have a running peer node and member services. The | ||
instructions for setting up a network are `here <Network-setup.md>`__. | ||
You may also use the | ||
`Fabric-starter-kit <../starter/fabric-starter-kit.md>`__ that provides | ||
the network. | ||
See the `Hyperledger Fabric SDK for Node.js <https://fabric-sdk-node.github.io/>`__ | ||
documentation for API reference on classes and methods. | ||
|
||
.. Licensed under Creative Commons Attribution 4.0 International License | ||
https://creativecommons.org/licenses/by/4.0/ | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters