CW-1157-Use-correct-derivation-paths-for-other-address-types (#2825)

* feat: use bitcoin standard derivation paths per address type

* add support for Electrum derivation type in wallet

* fix merge conflict

* Use segwit HD for key export and simplify _hdFor

* skip derivation chooser for standard scan paths

* add legacy and P2SH derivation paths
This commit is contained in:
Serhii
2026-03-26 22:46:08 +01:00
committed by GitHub
parent d0851df2c6
commit 6378e929b6
18 changed files with 432 additions and 146 deletions
+3 -1
View File
@@ -167,13 +167,15 @@ import "package:breez_sdk_spark_flutter/src/rust/errors.dart";
required this.address,
required this.txCount,
required this.balance,
required this.isChange});
required this.isChange,
this.isLegacyDerivation = false});
final int id;
final String name;
final String address;
final int txCount;
final int balance;
final bool isChange;
final bool isLegacyDerivation;
}
abstract class Bitcoin {