@pioneer-platform/pioneer-coins 9.0.4 → 9.0.6

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 CHANGED
@@ -294,14 +294,14 @@ function getPaths(blockchains, isTestnet) {
294
294
  }
295
295
  output.push(entry);
296
296
  }
297
- if (blockchains.indexOf('bip122:dash-hash') >= 0) {
297
+ if (blockchains.indexOf('bip122:00000ffd590b1485b3caadc19b22e637') >= 0) {
298
298
  var entry = {
299
299
  note: "Default dash path",
300
300
  type: "xpub",
301
301
  coin: 'Dash',
302
302
  symbol: 'DASH',
303
303
  symbolSwapKit: 'DASH',
304
- network: 'bip122:dash-hash',
304
+ network: 'bip122:00000ffd590b1485b3caadc19b22e637',
305
305
  blockchain: 'dash',
306
306
  script_type: "p2pkh",
307
307
  available_scripts_types: ['p2pkh'],
@@ -312,6 +312,24 @@ function getPaths(blockchains, isTestnet) {
312
312
  };
313
313
  output.push(entry);
314
314
  }
315
+ if (blockchains.indexOf('ripple:4109C6F2045FC7EFF4CDE8F9905D19C2') >= 0) {
316
+ var entry = {
317
+ note: "Default ripple path",
318
+ type: "address",
319
+ coin: 'Ripple',
320
+ symbol: 'XRP',
321
+ symbolSwapKit: 'XRP',
322
+ network: 'ripple:4109C6F2045FC7EFF4CDE8F9905D19C2',
323
+ blockchain: 'ripple',
324
+ script_type: "p2pkh",
325
+ available_scripts_types: ['p2pkh'],
326
+ addressNList: [0x80000000 + 44, 0x80000000 + 144, 0x80000000 + 0],
327
+ addressNListMaster: [0x80000000 + 44, 0x80000000 + 144, 0x80000000 + 0, 0, 0],
328
+ curve: 'secp256k1',
329
+ showDisplay: false, // Not supported by TrezorConnect or Ledger, but KeepKey should do it
330
+ };
331
+ output.push(entry);
332
+ }
315
333
  return output;
316
334
  }
317
335
  exports.getPaths = getPaths;
package/lib/pubkey.d.ts CHANGED
@@ -1 +1 @@
1
- export declare function classifyPubkey(address: string): "BTC" | "ETH" | "BCH" | "LTC" | "DOGE" | "DASH" | "XMR" | "XRP" | "NEO" | "Cryptocurrency could not be detected";
1
+ export declare function classifyPubkey(address: string): "BTC" | "ETH" | "BCH" | "LTC" | "DOGE" | "DASH" | "XRP" | "XMR" | "NEO" | "Cryptocurrency could not be detected";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pioneer-platform/pioneer-coins",
3
- "version": "9.0.4",
3
+ "version": "9.0.6",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/main.d.ts",
6
6
  "_moduleAliases": {