From b335585a7fb94b315eb52bd88f2da6d3489fa508 Mon Sep 17 00:00:00 2001 From: cyan Date: Mon, 21 Apr 2025 10:45:11 +0000 Subject: add wallet close function --- impls/monero.dart/lib/src/wallet2.dart | 1 + 1 file changed, 1 insertion(+) (limited to 'impls/monero.dart/lib/src/wallet2.dart') diff --git a/impls/monero.dart/lib/src/wallet2.dart b/impls/monero.dart/lib/src/wallet2.dart index 3c58949..2c07548 100644 --- a/impls/monero.dart/lib/src/wallet2.dart +++ b/impls/monero.dart/lib/src/wallet2.dart @@ -382,6 +382,7 @@ abstract class Wallet2WalletManager { Wallet2Wallet createWallet({ required String path, required String password, String language = "English", int networkType = 0, }); Wallet2Wallet openWallet({ required String path, required String password, int networkType = 0, }); + void closeWallet(Wallet2Wallet wallet, bool store); Wallet2Wallet recoveryWallet({ required String path, required String password, required String mnemonic, int networkType = 0, required int restoreHeight, int kdfRounds = 0, required String seedOffset, }); Wallet2Wallet createWalletFromKeys({ required String path, required String password, String language = "English", int nettype = 1, required int restoreHeight, required String addressString, required String viewKeyString, required String spendKeyString, int kdf_rounds = 1, }); Wallet2Wallet createDeterministicWalletFromSpendKey({ required String path, required String password, String language = "English", int networkType = 0, required String spendKeyString, required bool newWallet, required int restoreHeight, int kdfRounds = 1, }); -- cgit v1.2.3