summaryrefslogtreecommitdiff
path: root/impls/monero.dart/lib/src/wallet2.dart
diff options
context:
space:
mode:
authorcyan <cyjan@mrcyjanek.net>2025-04-21 10:45:11 +0000
committercyan <cyjan@mrcyjanek.net>2025-04-21 10:45:11 +0000
commitb335585a7fb94b315eb52bd88f2da6d3489fa508 (patch)
tree6d97124eeb0b80b6dbb369a696b405877b960bd2 /impls/monero.dart/lib/src/wallet2.dart
parent24cce8f2cff643f8dcdd4740c529e1ac066dd717 (diff)
add wallet close functionoo-monerodart
Diffstat (limited to 'impls/monero.dart/lib/src/wallet2.dart')
-rw-r--r--impls/monero.dart/lib/src/wallet2.dart1
1 files changed, 1 insertions, 0 deletions
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, });