mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 20:09:23 +00:00
add supported deviation path
This commit is contained in:
parent
667560372d
commit
f6decc2fb4
1 changed files with 7 additions and 5 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue