From ce78d993d0fef60ab1ceb887fc4c09a28024c048 Mon Sep 17 00:00:00 2001 From: Henri Ly Date: Fri, 16 Oct 2020 11:31:16 +0200 Subject: [PATCH] add polkadot currencies --- packages/cryptoassets/src/currencies.js | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/packages/cryptoassets/src/currencies.js b/packages/cryptoassets/src/currencies.js index 11ef93e39..6ad871e87 100644 --- a/packages/cryptoassets/src/currencies.js +++ b/packages/cryptoassets/src/currencies.js @@ -1760,6 +1760,34 @@ const cryptocurrenciesById: { [name: string]: CryptoCurrency } = { }, ], }, + polkadot: { + type: "CryptoCurrency", + id: "polkadot", + coinType: 354, + name: "Polkadot", + managerAppName: "polkadot", + ticker: "DOT", + scheme: "polkadot", + color: "#E6007A", + family: "polkadot", + units: [ + { + name: "DOT", + code: "DOT", + magnitude: 10, + }, + { + name: "planck", + code: "PLANCK", + magnitude: 1, + }, + ], + explorerViews: [ + { + tx: "https://polkadot.subscan.io/extrinsic/$hash", // TODO + }, + ], + }, poswallet: { type: "CryptoCurrency", id: "poswallet",