From 5f7707a5d96da6bde527c703ae7cf746faebac6e Mon Sep 17 00:00:00 2001 From: Samy RABAH-MONTAROU Date: Thu, 22 Aug 2024 18:46:53 +0200 Subject: [PATCH] remove code from ledgerjs --- .../packages/cryptoassets/src/currencies.ts | 35 ------------------- .../packages/types-cryptoassets/src/index.ts | 1 - .../packages/types-cryptoassets/src/slip44.ts | 1 - 3 files changed, 37 deletions(-) diff --git a/libs/ledgerjs/packages/cryptoassets/src/currencies.ts b/libs/ledgerjs/packages/cryptoassets/src/currencies.ts index 9fbc16b7f974..4114d9197fdd 100644 --- a/libs/ledgerjs/packages/cryptoassets/src/currencies.ts +++ b/libs/ledgerjs/packages/cryptoassets/src/currencies.ts @@ -2088,41 +2088,6 @@ export const cryptocurrenciesById: Record = { }, ], }, - pivx: { - type: "CryptoCurrency", - id: "pivx", - coinType: CoinType.PIVX, - name: "PivX", - managerAppName: "PivX", - ticker: "PIVX", - scheme: "pivx", - color: "#46385d", - family: "bitcoin", - blockAvgTime: 150, - bitcoinLikeInfo: { - P2PKH: 30, - P2SH: 13, - XPUBVersion: 0x022d2533, - }, - units: [ - { - name: "pivx", - code: "PIVX", - magnitude: 8, - }, - { - name: "satoshi", - code: "sat", - magnitude: 0, - }, - ], - explorerViews: [ - { - tx: "https://chainz.cryptoid.info/pivx/tx.dws?$hash.htm", - address: "https://chainz.cryptoid.info/pivx/address.dws?$address.htm", - }, - ], - }, poa: { type: "CryptoCurrency", id: "poa", diff --git a/libs/ledgerjs/packages/types-cryptoassets/src/index.ts b/libs/ledgerjs/packages/types-cryptoassets/src/index.ts index 6cd2ce0b9a93..ccff03081a2e 100644 --- a/libs/ledgerjs/packages/types-cryptoassets/src/index.ts +++ b/libs/ledgerjs/packages/types-cryptoassets/src/index.ts @@ -81,7 +81,6 @@ export type CryptoCurrencyId = | "particl" | "persistence" | "pirl" - | "pivx" | "poa" | "polkadot" | "polygon" diff --git a/libs/ledgerjs/packages/types-cryptoassets/src/slip44.ts b/libs/ledgerjs/packages/types-cryptoassets/src/slip44.ts index ef4fd5f8f3aa..9afe2886fb5b 100644 --- a/libs/ledgerjs/packages/types-cryptoassets/src/slip44.ts +++ b/libs/ledgerjs/packages/types-cryptoassets/src/slip44.ts @@ -68,7 +68,6 @@ export enum CoinType { ONTOLOGY = 1024, PARTICL = 44, PIRL = 164, - PIVX = 77, POA = 178, POLKADOT = 354, POSWALLET = 47,