@pioneer-platform/pioneer-coins 9.11.2 → 9.11.3

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.
@@ -1,2 +1 @@
1
-
2
- $ tsc -p .
1
+ $ tsc -p .
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @pioneer-platform/pioneer-coins
2
2
 
3
+ ## 9.11.3
4
+
5
+ ### Patch Changes
6
+
7
+ - zcash working!
8
+
3
9
  ## 9.11.2
4
10
 
5
11
  ### Patch Changes
package/lib/paths.js CHANGED
@@ -377,12 +377,14 @@ function getPaths(blockchains, isTestnet) {
377
377
  };
378
378
  output.push(entry);
379
379
  }
380
- if (blockchains.indexOf('bip122:0000000000196a45') >= 0) {
380
+ if (blockchains.indexOf('bip122:00040fe8ec8471911baa1db1266ea15d') >= 0) {
381
381
  var entry = {
382
382
  note: "Default zcash path",
383
- type: "address",
384
- networks: ['bip122:0000000000196a45'],
383
+ name: "Zcash",
384
+ type: "xpub", // Zcash is a UTXO chain, uses xpubs like Bitcoin
385
+ networks: ['bip122:00040fe8ec8471911baa1db1266ea15d'],
385
386
  blockchain: 'zcash',
387
+ symbol: 'ZEC',
386
388
  script_type: "p2pkh",
387
389
  available_scripts_types: ['p2pkh'],
388
390
  addressNList: [0x80000000 + 44, 0x80000000 + 133, 0x80000000 + 0],
@@ -392,6 +394,21 @@ function getPaths(blockchains, isTestnet) {
392
394
  };
393
395
  output.push(entry);
394
396
  }
397
+ if (blockchains.indexOf('solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp') >= 0) {
398
+ var entry = {
399
+ note: "Default Solana path",
400
+ type: "address",
401
+ networks: ['solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp'],
402
+ blockchain: 'solana',
403
+ script_type: "solana",
404
+ available_scripts_types: ['solana'],
405
+ addressNList: [0x80000000 + 44, 0x80000000 + 501, 0x80000000 + 0, 0x80000000 + 0],
406
+ addressNListMaster: [0x80000000 + 44, 0x80000000 + 501, 0x80000000 + 0, 0x80000000 + 0],
407
+ curve: 'ed25519',
408
+ showDisplay: false,
409
+ };
410
+ output.push(entry);
411
+ }
395
412
  return output;
396
413
  }
397
414
  // {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pioneer-platform/pioneer-coins",
3
- "version": "9.11.2",
3
+ "version": "9.11.3",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "_moduleAliases": {