add supported deviation path

This commit is contained in:
julian 2024-05-10 10:39:34 -06:00
parent 667560372d
commit f6decc2fb4

View file

@ -28,11 +28,12 @@ class Peercoin extends Bip39HDCurrency {
bool get torSupport => true; bool get torSupport => true;
@override @override
String constructDerivePath( String constructDerivePath({
{required DerivePathType derivePathType, required DerivePathType derivePathType,
int account = 0, int account = 0,
required int chain, required int chain,
required int index}) { required int index,
}) {
String coinType; String coinType;
switch (networkParams.wifPrefix) { switch (networkParams.wifPrefix) {
case 183: // PPC mainnet wif. case 183: // PPC mainnet wif.
@ -164,6 +165,7 @@ class Peercoin extends Bip39HDCurrency {
@override @override
List<DerivePathType> get supportedDerivationPathTypes => [ List<DerivePathType> get supportedDerivationPathTypes => [
DerivePathType.bip44, DerivePathType.bip44,
DerivePathType.bip84,
]; ];
@override @override