newWallet

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

Create a new wallet. A HD BIP44 compliant recovery key will be automatically generated.

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.

cs

Blockchain to attach this wallet to