mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 20:19:25 +00:00
18 lines
No EOL
627 B
Dart
18 lines
No EOL
627 B
Dart
import 'package:cake_wallet/entities/wallet.dart';
|
|
import 'package:cake_wallet/entities/wallet_description.dart';
|
|
|
|
abstract class WalletsManager {
|
|
Future<Wallet> create(String name, String password, String language);
|
|
|
|
Future<Wallet> restoreFromSeed(
|
|
String name, String password, String seed, int restoreHeight);
|
|
|
|
Future<Wallet> restoreFromKeys(String name, String password, String language,
|
|
int restoreHeight, String address, String viewKey, String spendKey);
|
|
|
|
Future<Wallet> openWallet(String name, String password);
|
|
|
|
Future<bool> isWalletExit(String name);
|
|
|
|
Future remove(WalletDescription wallet);
|
|
} |