mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-18 02:07:37 +00:00
22 lines
670 B
Dart
22 lines
670 B
Dart
|
import 'package:cake_wallet/core/wallet_credentials.dart';
|
||
|
|
||
|
class BitcoinNewWalletCredentials extends WalletCredentials {
|
||
|
BitcoinNewWalletCredentials({String name}) : super(name: name);
|
||
|
}
|
||
|
|
||
|
class BitcoinRestoreWalletFromSeedCredentials extends WalletCredentials {
|
||
|
BitcoinRestoreWalletFromSeedCredentials(
|
||
|
{String name, String password, this.mnemonic})
|
||
|
: super(name: name, password: password);
|
||
|
|
||
|
final String mnemonic;
|
||
|
}
|
||
|
|
||
|
class BitcoinRestoreWalletFromWIFCredentials extends WalletCredentials {
|
||
|
BitcoinRestoreWalletFromWIFCredentials(
|
||
|
{String name, String password, this.wif})
|
||
|
: super(name: name, password: password);
|
||
|
|
||
|
final String wif;
|
||
|
}
|