mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-28 06:28:41 +01:00
* initial * wip * ironwood detection, migration * dev: zec address validation on rt * fix: ironwood spend * ironwood regressions * fix: tx history * bump: zkool2 * fix: tx amounts on pending fix: ironwood pending balance fix: orchard->ironwood migration fix: orchard->any pre ironwood txs fix: ironwood -> any txs fix: WrongSpendAuthorizingKey fix: tx history fix: autoshield to ironwood fix: zkool to latest version break: my sleep schedule :sweating: :worksonmymachine: * thx fable * downgrade frb to 2.11.1 * fix: tx amounts in history * Migating... / migration label for O->I txs
48 lines
1.3 KiB
Dart
48 lines
1.3 KiB
Dart
import 'package:cw_core/wallet_credentials.dart';
|
|
|
|
class ZcashNewWalletCredentials extends WalletCredentials {
|
|
ZcashNewWalletCredentials({
|
|
required final String name,
|
|
final String? password,
|
|
required final String? passphrase,
|
|
final String? mnemonic,
|
|
final int? seedPhraseLength,
|
|
this.network = 0,
|
|
}) : super(
|
|
name: name,
|
|
password: password,
|
|
passphrase: passphrase,
|
|
seedPhraseLength: seedPhraseLength,
|
|
) {
|
|
this.mnemonic = mnemonic;
|
|
}
|
|
|
|
String? mnemonic;
|
|
int network;
|
|
}
|
|
|
|
class ZcashFromSeedWalletCredentials extends WalletCredentials {
|
|
ZcashFromSeedWalletCredentials({
|
|
required final String name,
|
|
final String? password,
|
|
required final String? passphrase,
|
|
required this.seed,
|
|
required super.height,
|
|
this.network = 0,
|
|
}) : super(name: name, password: password, passphrase: passphrase);
|
|
final String? seed;
|
|
int network;
|
|
}
|
|
|
|
class ZcashFromKeysWalletCredentials extends WalletCredentials {
|
|
ZcashFromKeysWalletCredentials({
|
|
required final String name,
|
|
final String? password,
|
|
required final int? height,
|
|
required this.privateKey,
|
|
this.network = 0,
|
|
}) : super(name: name, password: password, height: height);
|
|
final String? privateKey;
|
|
int network;
|
|
}
|