| 程序包 | 说明 |
|---|---|
| com.github.DNAProject.common | |
| com.github.DNAProject.sdk.manager | |
| com.github.DNAProject.sdk.wallet | |
| com.github.DNAProject.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.addDnaIdController(String dnaid,
String key,
String id,
String pubkey) |
Identity |
Wallet.getIdentity(String dnaid) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Identity> |
Wallet.getIdentities() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Wallet.setIdentities(List<Identity> identityList) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
DnaId.sendRegister(Identity ident,
String password,
Account payerAcct,
long gaslimit,
long gasprice) |
String |
DnaId.sendRegister(Identity ident,
String password,
Account payerAcct,
long gaslimit,
long gasprice,
boolean isPreExec) |
String |
DnaId.sendRegisterPreExec(Identity ident,
String password,
Account payerAcct,
long gaslimit,
long gasprice) |
String |
DnaId.sendRegisterWithAttrs(Identity ident,
String password,
Attribute[] attributes,
Account payerAcct,
long gaslimit,
long gasprice) |
Copyright © 2021. All rights reserved.