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.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 Wallet defines the interface for storing and managing users' identities in a Fabric network.Wallet.Identity Represents a user's identity that is required to connect to a Fabric network. -
Class Summary Class Description DefaultCheckpointers Provides static factory methods used to create instances of defaultCheckpointer
implementations. -
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.