importHDWalletWithEncryption

open fun importHDWalletWithEncryption(mnemonic: String, name: String, password: Array<Byte>, coin: CoinType, encryption: StoredKeyEncryption): StoredKey

Imports an HD wallet.

Return

Nullptr if the key can't be imported, the stored key otherwise

Parameters

mnemonic

Non-null bip39 mnemonic

name

The name of the stored key to import as a non-null string

password

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

coin

the coin type

encryption

cipher encryption mode