public static async Task <Wallet> OpenWallet(string wallet, string key) { string config = WalletUtils.GetCreateWalletConfig(wallet); string cred = WalletUtils.GetOpenWalletCredentials(key); return(await Wallet.OpenWalletAsync(config, cred)); }
public static async Task DeleteWallet(string walletName, string key) { string config = WalletUtils.GetCreateWalletConfig(walletName); string cred = WalletUtils.GetOpenWalletCredentials(key); await Wallet.DeleteWalletAsync(config, cred); }
public static async Task <Wallet> CreateAndOpenWallet(string pool, string wallet, string key) { await WalletUtils.CreateWallet(pool, wallet); return(await OpenWallet(wallet, key)); }