@pioneer-platform/pioneer-coins 9.2.20 → 9.2.22

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/coins.d.ts CHANGED
@@ -106,6 +106,7 @@ export declare const COIN_MAP_KEEPKEY_LONG: {
106
106
  AVAX: string;
107
107
  EOS: string;
108
108
  FIO: string;
109
+ ZEC: string;
109
110
  };
110
111
  export declare const SLIP_44_BY_LONG: any;
111
112
  export declare const GET_NETWORK_NAME: (network: string) => string;
package/lib/coins.js CHANGED
@@ -284,6 +284,7 @@ exports.COIN_MAP_KEEPKEY_LONG = {
284
284
  AVAX: "Avalanche",
285
285
  EOS: "Eos",
286
286
  FIO: "Fio",
287
+ ZEC: 'Zcash',
287
288
  };
288
289
  exports.SLIP_44_BY_LONG = {
289
290
  bitcoin: 0,
package/lib/paths.js CHANGED
@@ -23,7 +23,7 @@ exports.blockchains = [
23
23
  // 'eip155:10',
24
24
  'cosmos:osmosis-1',
25
25
  // 'eip155:137',
26
- 'ripple:unknown',
26
+ 'ripple:4109c6f2045fc7eff4cde8f9905d19c2',
27
27
  'cosmos:thorchain-mainnet-v1',
28
28
  'bip122:0000000000196a45'
29
29
  ];
@@ -72,7 +72,7 @@ function getPaths(blockchains, isTestnet) {
72
72
  //legacy bip44
73
73
  output.push({
74
74
  note: "Bitcoin account 0",
75
- network: ['bip122:000000000019d6689c085ae165831e93'],
75
+ networks: ['bip122:000000000019d6689c085ae165831e93'],
76
76
  script_type: "p2pkh",
77
77
  available_scripts_types: ['p2pkh', 'p2sh', 'p2wpkh', 'p2sh-p2wpkh'],
78
78
  type: "xpub",
@@ -85,7 +85,7 @@ function getPaths(blockchains, isTestnet) {
85
85
  //bech32 bip84
86
86
  output.push({
87
87
  note: "Bitcoin account Native Segwit (Bech32)",
88
- network: ['bip122:000000000019d6689c085ae165831e93'],
88
+ networks: ['bip122:000000000019d6689c085ae165831e93'],
89
89
  script_type: "p2wpkh", //bech32
90
90
  available_scripts_types: ['p2pkh', 'p2sh', 'p2wpkh', 'p2sh-p2wpkh'],
91
91
  type: "zpub",
@@ -203,7 +203,7 @@ function getPaths(blockchains, isTestnet) {
203
203
  addressNListMaster: [0x80000000 + 44, 0x80000000 + 118, 0x80000000 + 0, 0, 0],
204
204
  curve: 'secp256k1',
205
205
  showDisplay: false, // Not supported by TrezorConnect or Ledger, but KeepKey should do it
206
- network: ['cosmos:osmosis-1'],
206
+ networks: ['cosmos:osmosis-1'],
207
207
  };
208
208
  if (isTestnet) {
209
209
  entry.testnet = true;
@@ -246,7 +246,7 @@ function getPaths(blockchains, isTestnet) {
246
246
  //bech32 bip84
247
247
  output.push({
248
248
  note: "Litecoin account Native Segwit (Bech32)",
249
- network: ['bip122:12a765e31ffd4059bada1e25190f6e98'],
249
+ networks: ['bip122:12a765e31ffd4059bada1e25190f6e98'],
250
250
  script_type: "p2wpkh", //bech32
251
251
  available_scripts_types: ['p2pkh', 'p2sh', 'p2wpkh', 'p2sh-p2wpkh'],
252
252
  type: "zpub",
@@ -292,7 +292,7 @@ function getPaths(blockchains, isTestnet) {
292
292
  var entry = {
293
293
  note: "Default ripple path",
294
294
  type: "address",
295
- networks: ['ripple:4109C6F2045FC7EFF4CDE8F9905D19C2'],
295
+ networks: ['ripple:4109c6f2045fc7eff4cde8f9905d19c2'],
296
296
  blockchain: 'ripple',
297
297
  script_type: "p2pkh",
298
298
  available_scripts_types: ['p2pkh'],
@@ -307,7 +307,7 @@ function getPaths(blockchains, isTestnet) {
307
307
  var entry = {
308
308
  note: "Default zcash path",
309
309
  type: "address",
310
- network: ['bip122:0000000000196a45'],
310
+ networks: ['bip122:0000000000196a45'],
311
311
  blockchain: 'zcash',
312
312
  script_type: "p2pkh",
313
313
  available_scripts_types: ['p2pkh'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pioneer-platform/pioneer-coins",
3
- "version": "9.2.20",
3
+ "version": "9.2.22",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "_moduleAliases": {