mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-05-08 01:52:13 +00:00
* feat: Enhance Wallet Groups Implementation by using hashedIdentifiers instead of parentAddresses * fix: Call updateWalletGroups even if group has an hash identifier * feat: Add secrets to workflow * feat: Enhance Wallet Groups Implementation by using hashedIdentifiers instead of parentAddresses * Handle wallet grouping edgecase where wallet is restored via non seed medium * fix: Valid wallet/wallet groups not showing up when choosing wallet/groups for creating new wallets
27 lines
632 B
Dart
27 lines
632 B
Dart
import 'package:cw_core/wallet_info.dart';
|
|
|
|
abstract class WalletCredentials {
|
|
WalletCredentials({
|
|
required this.name,
|
|
this.height,
|
|
this.seedPhraseLength,
|
|
this.walletInfo,
|
|
this.password,
|
|
this.passphrase,
|
|
this.derivationInfo,
|
|
this.hardwareWalletType,
|
|
}) {
|
|
if (this.walletInfo != null && derivationInfo != null) {
|
|
this.walletInfo!.derivationInfo = derivationInfo;
|
|
}
|
|
}
|
|
|
|
final String name;
|
|
final int? height;
|
|
int? seedPhraseLength;
|
|
String? password;
|
|
String? passphrase;
|
|
WalletInfo? walletInfo;
|
|
DerivationInfo? derivationInfo;
|
|
HardwareWalletType? hardwareWalletType;
|
|
}
|