2021-12-24 12:52:08 +00:00
|
|
|
import 'package:cw_core/wallet_credentials.dart';
|
|
|
|
import 'package:cw_core/wallet_info.dart';
|
|
|
|
|
|
|
|
class BitcoinNewWalletCredentials extends WalletCredentials {
|
2023-03-30 22:33:59 +00:00
|
|
|
BitcoinNewWalletCredentials({required String name, WalletInfo? walletInfo, String? password})
|
|
|
|
: super(name: name, walletInfo: walletInfo, password: password);
|
2021-12-24 12:52:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class BitcoinRestoreWalletFromSeedCredentials extends WalletCredentials {
|
|
|
|
BitcoinRestoreWalletFromSeedCredentials(
|
2022-10-12 17:09:57 +00:00
|
|
|
{required String name, required String password, required this.mnemonic, WalletInfo? walletInfo})
|
2021-12-24 12:52:08 +00:00
|
|
|
: super(name: name, password: password, walletInfo: walletInfo);
|
|
|
|
|
|
|
|
final String mnemonic;
|
|
|
|
}
|
|
|
|
|
|
|
|
class BitcoinRestoreWalletFromWIFCredentials extends WalletCredentials {
|
|
|
|
BitcoinRestoreWalletFromWIFCredentials(
|
2022-10-12 17:09:57 +00:00
|
|
|
{required String name, required String password, required this.wif, WalletInfo? walletInfo})
|
2021-12-24 12:52:08 +00:00
|
|
|
: super(name: name, password: password, walletInfo: walletInfo);
|
|
|
|
|
|
|
|
final String wif;
|
|
|
|
}
|