Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

Commit

Permalink
Add Cardano testnet currency support (#814)
Browse files Browse the repository at this point in the history
* use cardanoscan explorer for cardano

* add cardano_testnet currency
  • Loading branch information
pavanvora authored Mar 22, 2022
1 parent 5101f23 commit a4c4c66
Showing 1 changed file with 33 additions and 2 deletions.
35 changes: 33 additions & 2 deletions packages/cryptoassets/src/currencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -519,8 +519,39 @@ const cryptocurrenciesById: Record<string, CryptoCurrency> = {
],
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",
},
],
},
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",
},
],
},
Expand Down

0 comments on commit a4c4c66

Please sign in to comment.