cake_wallet/cw_core/lib/wallet_credentials.dart
David Adegoke 09f20b2a7b
CW-843: Enhance Wallet Groups Implementation ()
* 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
2025-03-06 02:25:38 +02:00

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;
}