mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-24 20:49:28 +00:00
26 lines
917 B
Dart
26 lines
917 B
Dart
import 'package:cw_core/wallet_credentials.dart';
|
|
import 'package:cw_core/wallet_info.dart';
|
|
|
|
class NanoNewWalletCredentials extends WalletCredentials {
|
|
NanoNewWalletCredentials({required String name, WalletInfo? walletInfo})
|
|
: super(name: name, walletInfo: walletInfo);
|
|
}
|
|
|
|
class NanoRestoreWalletFromSeedCredentials extends WalletCredentials {
|
|
NanoRestoreWalletFromSeedCredentials(
|
|
{required String name,
|
|
required String password,
|
|
required this.mnemonic,
|
|
WalletInfo? walletInfo})
|
|
: super(name: name, password: password, walletInfo: walletInfo);
|
|
|
|
final String mnemonic;
|
|
}
|
|
|
|
class NanoRestoreWalletFromWIFCredentials extends WalletCredentials {
|
|
NanoRestoreWalletFromWIFCredentials(
|
|
{required String name, required String password, required this.wif, WalletInfo? walletInfo})
|
|
: super(name: name, password: password, walletInfo: walletInfo);
|
|
|
|
final String wif;
|
|
}
|