From f9d813d501717bb532eeef79fd5de2ae23859514 Mon Sep 17 00:00:00 2001 From: Pavan Vora Date: Wed, 2 Mar 2022 18:57:55 +0530 Subject: [PATCH 1/2] use cardanoscan explorer for cardano --- packages/cryptoassets/src/currencies.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cryptoassets/src/currencies.ts b/packages/cryptoassets/src/currencies.ts index 18a184bc5..bd356bdaf 100644 --- a/packages/cryptoassets/src/currencies.ts +++ b/packages/cryptoassets/src/currencies.ts @@ -520,8 +520,8 @@ const cryptocurrenciesById: Record = { ], explorerViews: [ { - tx: "https://cardanoexplorer.com/tx/$hash", - address: "https://cardanoexplorer.com/address/$address", + tx: "https://cardanoscan.io/transaction/$hash", + address: "https://cardanoscan.io/address/$address", }, ], }, From d5d9b600185e6bee9b7a7e84086ea3bc48d85c61 Mon Sep 17 00:00:00 2001 From: Pavan Vora Date: Wed, 16 Mar 2022 10:25:18 +0530 Subject: [PATCH 2/2] add cardano_testnet currency --- packages/cryptoassets/src/currencies.ts | 31 +++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/packages/cryptoassets/src/currencies.ts b/packages/cryptoassets/src/currencies.ts index bd356bdaf..e3c20e1b0 100644 --- a/packages/cryptoassets/src/currencies.ts +++ b/packages/cryptoassets/src/currencies.ts @@ -525,6 +525,37 @@ const cryptocurrenciesById: Record = { }, ], }, + cardano_testnet: { + type: "CryptoCurrency", + id: "cardano_testnet", + coinType: 1815, + name: "Cardano (Testnet)", + managerAppName: "Cardano ADA", + ticker: "tADA", + scheme: "cardano_testnet", + isTestnetFor: "cardano", + color: "#0A1D2C", + family: "cardano", + blockAvgTime: 20, + units: [ + { + name: "ada", + code: "tADA", + magnitude: 6, + }, + { + name: "Lovelace", + code: "tLovelace", + magnitude: 0, + }, + ], + explorerViews: [ + { + tx: "https://testnet.cardanoscan.io/transaction/$hash", + address: "https://testnet.cardanoscan.io/address/$address", + }, + ], + }, celo: { type: "CryptoCurrency", id: "celo",