wallet

open fun wallet(password: Array<Byte>): HDWallet

Decrypts and returns the HD Wallet for mnemonic phrase keys. Returned object needs to be deleted.

Return

Null pointer on failure, pointer to the HDWallet otherwise

Parameters

key

Non-null pointer to a stored key

password

Non-null block of data, password of the stored key