| 程序包 | 说明 |
|---|---|
| com.github.ontio.common | |
| com.github.ontio.sdk.manager | |
| com.github.ontio.sdk.wallet | |
| com.github.ontio.smartcontract.nativevm |
| 限定符和类型 | 方法和说明 |
|---|---|
static Map |
WalletQR.exportIdentityQRCode(Scrypt scrypt,
Identity identity) |
static Map |
WalletQR.exportIdentityQRCode(Wallet walletFile,
Identity identity) |
| 限定符和类型 | 方法和说明 |
|---|---|
Identity |
WalletMgr.createIdentity(String password) |
Identity |
WalletMgr.createIdentity(String label,
String password) |
Identity |
WalletMgr.createIdentityFromPriKey(String password,
String prikey) |
Identity |
WalletMgr.createIdentityFromPriKey(String label,
String password,
String prikey) |
Identity |
WalletMgr.getDefaultIdentity() |
Identity |
WalletMgr.importIdentity(String encryptedPrikey,
String password,
byte[] salt,
String address) |
Identity |
WalletMgr.importIdentity(String label,
String encryptedPrikey,
String password,
byte[] salt,
String address) |
| 限定符和类型 | 方法和说明 |
|---|---|
Identity |
Wallet.addOntIdController(String ontid,
String key,
String id,
String pubkey) |
Identity |
Wallet.getIdentity(String ontid) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Identity> |
Wallet.getIdentities() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Wallet.setIdentities(List<Identity> identityList) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
SideChainGovernance.registerSideChain(Account account,
RegisterSideChainParam param,
Identity identity,
String password,
Account payer,
long gaslimit,
long gasprice) |
Copyright © 2022. All rights reserved.