程序包 | 说明 |
---|---|
org.hyperledger.fabric.gateway |
This package provides the set of interfaces that enable a Java application to
interact with a Fabric blockchain network.
|
限定符和类型 | 方法和说明 |
---|---|
static Wallet |
Wallets.newCouchDBWallet(URL serverUrl,
String databaseName)
Create a wallet backed by a CouchDB database.
|
static Wallet |
Wallets.newFileSystemWallet(Path storeDirectory)
Create a wallet backed by a directory on the file system.
|
static Wallet |
Wallets.newInMemoryWallet()
Create a wallet backed by an in-memory (non-persistent) store.
|
static Wallet |
Wallets.newWallet(WalletStore store)
Create a wallet backed by a custom store implementation.
|
限定符和类型 | 方法和说明 |
---|---|
Gateway.Builder |
Gateway.Builder.identity(Wallet wallet,
String id)
Specifies the identity that is to be used to connect to the network.
|
Copyright © 2023. All rights reserved.