recoverWallet

fun recoverWallet(nameAndPath: String, recoveryKey: String, bc: Blockchain): Bip44Wallet
fun recoverWallet(nameAndPath: String, recoveryKey: String, cs: ChainSelector): Bip44Wallet

Create a new HD BIP44 wallet from an recovery phrase.

Parameters

nameAndPath

File path and name of this wallet. This will be used as the wallet's display name, log name, and the underlying database file name.

recoveryKey

Secret recovery phrase. The caller should ensure that this phrase adheres to recovery phrase standards. It should contain the correct number of words separated by a single space.

cs

Blockchain to attach this wallet to