mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-16 09:17:37 +00:00
add transactionVersion overrides for all coins
ecash and particl may vary, need to verify.
This commit is contained in:
parent
b909c72cb9
commit
88f462f43e
8 changed files with 29 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
import 'package:coinlib_flutter/coinlib_flutter.dart' as coinlib;
|
||||
|
||||
import '../../../models/isar/models/blockchain_data/address.dart';
|
||||
import '../../../models/node_model.dart';
|
||||
import '../../../utilities/amount/amount.dart';
|
||||
|
@ -291,4 +292,7 @@ class Bitcoin extends Bip39HDCurrency
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
int get transactionVersion => 1;
|
||||
}
|
||||
|
|
|
@ -364,4 +364,7 @@ class Bitcoincash extends Bip39HDCurrency with ElectrumXCurrencyInterface {
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
int get transactionVersion => 1;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import 'package:coinlib_flutter/coinlib_flutter.dart' as coinlib;
|
||||
|
||||
import '../../../models/isar/models/blockchain_data/address.dart';
|
||||
import '../../../models/node_model.dart';
|
||||
import '../../../utilities/amount/amount.dart';
|
||||
|
@ -248,4 +249,7 @@ class Dogecoin extends Bip39HDCurrency with ElectrumXCurrencyInterface {
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
int get transactionVersion => 1;
|
||||
}
|
||||
|
|
|
@ -338,4 +338,7 @@ class Ecash extends Bip39HDCurrency with ElectrumXCurrencyInterface {
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
int get transactionVersion => 1;
|
||||
}
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
import 'package:coinlib_flutter/coinlib_flutter.dart' as coinlib;
|
||||
|
||||
import '../../../models/isar/models/blockchain_data/address.dart';
|
||||
import '../../../models/node_model.dart';
|
||||
import '../../../utilities/amount/amount.dart';
|
||||
import '../../../utilities/default_nodes.dart';
|
||||
import '../../../utilities/enums/derive_path_type_enum.dart';
|
||||
import '../../wallet/wallet_mixin_interfaces/spark_interface.dart';
|
||||
import '../crypto_currency.dart';
|
||||
import '../interfaces/electrumx_currency_interface.dart';
|
||||
import '../intermediate/bip39_hd_currency.dart';
|
||||
import '../../wallet/wallet_mixin_interfaces/spark_interface.dart';
|
||||
|
||||
class Firo extends Bip39HDCurrency with ElectrumXCurrencyInterface {
|
||||
Firo(super.network) {
|
||||
|
@ -266,4 +267,7 @@ class Firo extends Bip39HDCurrency with ElectrumXCurrencyInterface {
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
int get transactionVersion => 1;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import 'package:coinlib_flutter/coinlib_flutter.dart' as coinlib;
|
||||
|
||||
import '../../../models/isar/models/blockchain_data/address.dart';
|
||||
import '../../../models/node_model.dart';
|
||||
import '../../../utilities/amount/amount.dart';
|
||||
|
@ -279,4 +280,7 @@ class Litecoin extends Bip39HDCurrency with ElectrumXCurrencyInterface {
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
int get transactionVersion => 1;
|
||||
}
|
||||
|
|
|
@ -252,4 +252,7 @@ class Namecoin extends Bip39HDCurrency with ElectrumXCurrencyInterface {
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
int get transactionVersion => 1;
|
||||
}
|
||||
|
|
|
@ -230,4 +230,7 @@ class Particl extends Bip39HDCurrency with ElectrumXCurrencyInterface {
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
int get transactionVersion => 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue