@pioneer-platform/pioneer-coins 9.2.14 → 9.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/paths.js +18 -0
- package/package.json +1 -1
package/lib/paths.js
CHANGED
|
@@ -349,6 +349,24 @@ function getPaths(blockchains, isTestnet) {
|
|
|
349
349
|
};
|
|
350
350
|
output.push(entry);
|
|
351
351
|
}
|
|
352
|
+
if (blockchains.indexOf('bip122:0000000000196a45') >= 0) {
|
|
353
|
+
var entry = {
|
|
354
|
+
note: "Default zcash path",
|
|
355
|
+
type: "address",
|
|
356
|
+
coin: 'Zcash',
|
|
357
|
+
symbol: 'ZEC',
|
|
358
|
+
symbolSwapKit: 'ZEC',
|
|
359
|
+
network: 'bip122:0000000000196a45',
|
|
360
|
+
blockchain: 'zcash',
|
|
361
|
+
script_type: "p2pkh",
|
|
362
|
+
available_scripts_types: ['p2pkh'],
|
|
363
|
+
addressNList: [0x80000000 + 44, 0x80000000 + 133, 0x80000000 + 0],
|
|
364
|
+
addressNListMaster: [0x80000000 + 44, 0x80000000 + 133, 0x80000000 + 0, 0, 0],
|
|
365
|
+
curve: 'secp256k1',
|
|
366
|
+
showDisplay: false, // Not supported by TrezorConnect or Ledger, but KeepKey should do it
|
|
367
|
+
};
|
|
368
|
+
output.push(entry);
|
|
369
|
+
}
|
|
352
370
|
return output;
|
|
353
371
|
}
|
|
354
372
|
exports.getPaths = getPaths;
|