openWalletDB

fun openWalletDB(name: String, chainSelector: ChainSelector? = null): WalletDatabase
fun openWalletDB(pathAndName: Path, name: String, chainSelector: ChainSelector? = null): WalletDatabase

If you are going to create a wallet DB, you must specify the chain. Otherwise its optional (will be loaded from the db)