recoverWallet

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

Create a new HD BIP44 wallet from an recovery phrase.

Parameters

name

Name of this wallet. The name will be used as the wallet's display name, log name, and part of the wallet's filename.

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