Wallet
Wallet to manager accounts.
Kind: global class
Param | Type |
---|---|
networkId | number |
Set network id
Param | Type |
---|---|
networkId | number |
Check if address exist
Param | Type |
---|---|
address | string |
Drop one account by address
Param | Type |
---|---|
address | string |
Drop all account in wallet
Param | Type | Description |
---|---|---|
address | any | Key of account, usually is address |
account | any | Account instance |
Param | Type |
---|---|
address | string |
Param | Type | Description |
---|---|---|
privateKey | string | Buffer | Private key of account |
Param | Type | Description |
---|---|---|
[entropy] | string | Buffer | Entropy of random account |
Param | Type | Description |
---|---|---|
keystore | object | Keystore version 3 object. |
password | string | Buffer | Password for keystore to decrypt with. |
Last modified 1yr ago