fabric-common
The fabric-common module encapsulates low-level APIs to interact with network components in the Hyperledger Fabric network. Although the module provides a low-level API to invoke and query chaincodes in the network, the recommended approach is to use fabric-network for such purpose. Some features of fabric-common are used in the fabric-network implementation.
The fabric-common module helps you to perform the following tasks:
Submit transactions and query chaincodes for the latest state (low-level API)
Monitor events (low-level API) - Connect to a peer's event stream - Listen to the block events - Listen to the transactions events tracing the validity of a transaction - Listen to the custom chaincode events.
Manage hierarchical configurations with multiple layers of overrides: files, environmental variables, program arguments, in-memory settings, etc.
Implement a pluggable interface describing cryptographic operations required for successful interactions with the Hyperledger Fabric network. Two implementations are provided out of box: - Software-based ECDSA - PKCS#11-compliant ECDSA.
The main API surface to interact with a network of peers and orderers is the Client class.
Last updated
Was this helpful?