Skip to content

Latest commit

 

History

History
 
 

node

Hyperledger Fabric Gateway Client API for Node

The Fabric Gateway client API allows applications to interact with a Hyperledger Fabric blockchain network. It implements the Fabric programming model, providing a simple API to submit transactions to a ledger or query the contents of a ledger with minimal code.

How to use

Samples showing how to create a client application that updates and queries the ledger, and listens for events, are available in the fabric-samples repository:

API documentation

The Gateway client API documentation for Node is available here:

Installation

Add a dependency to your project's package.json file with the command:

npm install @hyperledger/fabric-gateway

Compatibility

This API requires Fabric 2.4 with a Gateway enabled Peer. Additional compatibility information is available in the documentation: