Package org.hyperledger.fabric.gateway
This package provides the set of interfaces that enable a Java application to interact with a Fabric blockchain network. It provides a simple API to submit transactions to a ledger or query the contents of a ledger with minimal code. The Gateway SDK implements the Fabric programming model as described in the Developing Applications chapter of the Fabric documentation.
- See Also:
- Developing Fabric Applications
-
Interface Summary Interface Description Contract Represents a smart contract instance in a network.ContractEvent Event emitted by the business logic of a smart contract during execution of a transaction.Gateway The Gateway provides the connection point for an application to access the Fabric network as a specific user.Gateway.Builder The Gateway Builder interface defines the options that can be configured prior to connection.Identity Common behavior shared by all identity implementations.Network A Network object represents the set of peers in a Fabric network (channel).Transaction A Transaction represents a specific invocation of a transaction function, and provides flexibility over how that transaction is invoked.Wallet A wallet stores identity information used to connect to a Hyperledger Fabric network.X509Identity Identity comprising an X.509 certificate and associated private key. -
Class Summary Class Description DefaultCheckpointers Provides static factory methods used to create instances of defaultCheckpointer
implementations.Identities This class consists exclusively of static methods used to create and operate on identity information.Wallets Factory methods for creating wallets to hold identity information, using various backing stores. -
Enum Summary Enum Description DefaultCommitHandlers Default commit handler implementations.DefaultQueryHandlers Default query handler implementations. -
Exception Summary Exception Description ContractException Thrown when an error occurs invoking a smart contract.GatewayException Base class for exceptions thrown by the Gateway SDK or by components of the underlying Fabric.GatewayRuntimeException Runtime exception for gateway classes.