Class: NativeWallet

NativeWallet

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

new NativeWallet()

Source:
hdwallet/wallets/nativewallet.js

Methods


<static> fromMnemonic()

Source:
hdwallet/wallets/nativewallet.js

<static> fromMasterSeed()

Source:
hdwallet/wallets/nativewallet.js

<static> id()

Identity number
Source:
hdwallet/wallets/nativewallet.js

open()

Source:
hdwallet/wallets/nativewallet.js

close()

Source:
hdwallet/wallets/nativewallet.js

<async> healthCheck()

Source:
hdwallet/wallets/nativewallet.js

getPublicKey()

Source:
hdwallet/wallets/nativewallet.js

getPrivateKey()

Source:
hdwallet/wallets/nativewallet.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/nativewallet.js
Returns:
- {r, s, v}
Type
Object