Class: RawKeyWallet

RawKeyWallet

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

new RawKeyWallet()

Source:
hdwallet/wallets/rawkey.js

Methods


<static> id()

Identity number
Source:
hdwallet/wallets/rawkey.js

open()

Source:
hdwallet/wallets/rawkey.js

close()

Source:
hdwallet/wallets/rawkey.js

<async> healthCheck()

Source:
hdwallet/wallets/rawkey.js

getPublicKey()

Source:
hdwallet/wallets/rawkey.js

getPrivateKey()

Source:
hdwallet/wallets/rawkey.js

importPrivateKey()

Source:
hdwallet/wallets/rawkey.js

size()

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