Class: KeyStoreWallet

KeyStoreWallet

private key wallet implementation. This provides a software wallet. And all HD wallet should follow it's API

new KeyStoreWallet()

Source:
hdwallet/wallets/keystore.js

Methods


<static> id()

Identity number
Source:
hdwallet/wallets/keystore.js

open()

Source:
hdwallet/wallets/keystore.js

close()

Source:
hdwallet/wallets/keystore.js

healthCheck()

Source:
hdwallet/wallets/keystore.js

getPublicKey()

Source:
hdwallet/wallets/keystore.js

getPrivateKey()

Source:
hdwallet/wallets/keystore.js

getAddress()

Source:
hdwallet/wallets/keystore.js

importKeyStore(object)

Import keystore into wallet
Parameters:
Name Type Description
object opt { "oldPassword" : string "newPassword" : string }
Source:
hdwallet/wallets/keystore.js

exportKeyStore()

Source:
hdwallet/wallets/keystore.js

size()

Source:
hdwallet/wallets/keystore.js

_getPrivateKey()

Source:
hdwallet/wallets/keystore.js

sec256k1sign(string,, Buffer,)

Sign raw message using SEC(Standard for Efficent Cryptography) 256k1 curve
Parameters:
Name Type Description
string, path BIP44 path to locate private to sign the message
Buffer, buf raw message to sign
Source:
hdwallet/wallets/keystore.js
Returns:
- {r, s, v}
Type
Object