mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
* feat: initial hive -> SQLite Includes migration script and initial work done to remove dependency on hive generators. Also contains some refactoring to make sync code async. Features new dev screen that lists all SQLite tables Aspects that need testing: - backups (from this version, and from previous versions as well) - wallet loading / wallet list - almost everything else - renaming - deletion - sorting in wallet list - wallet groups - wallet seed/keys - wallet switching - wallet creation / restore - all methods - wallet address page - hardware wallet connection (and prompts from mall screens) - contacts - advanced settings in wallet creation - derivation paths - some minor wownero fixes - base, hardware wallets * fix: build errors * fix: Bad state: No element in backup restore * address comments from review * fix: HardwareWalletType
24 lines
504 B
Dart
24 lines
504 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,
|
|
});
|
|
|
|
final String name;
|
|
final int? height;
|
|
int? seedPhraseLength;
|
|
String? password;
|
|
String? passphrase;
|
|
WalletInfo? walletInfo;
|
|
DerivationInfo? derivationInfo;
|
|
HardwareWalletType? hardwareWalletType;
|
|
}
|