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

Commit

Permalink
add currencies for crypto.com (#590)
Browse files Browse the repository at this point in the history
* add currencies for crypto.com

* change terminology
  • Loading branch information
thomas-nguy authored May 4, 2021
1 parent e758da1 commit 9acd849
Showing 1 changed file with 59 additions and 1 deletion.
60 changes: 59 additions & 1 deletion packages/cryptoassets/src/currencies.js
Original file line number Diff line number Diff line change
Expand Up @@ -2616,7 +2616,35 @@ const cryptocurrenciesById: { [name: string]: CryptoCurrency } = {
],
explorerViews: [],
},

crypto_org: {
type: "CryptoCurrency",
id: "crypto_org",
coinType: 394,
name: "Crypto.org Coin",
managerAppName: "Crypto.org Chain",
ticker: "CRO",
scheme: "crypto_org",
color: "#0e1c37",
family: "crypto_org",
units: [
{
name: "CRO",
code: "cro",
magnitude: 8,
},
{
name: "baseCRO",
code: "basecro",
magnitude: 0,
},
],
explorerViews: [
{
tx: "https://crypto.org/explorer/tx/$hash",
address: "https://crypto.org/explorer/account/$address",
},
],
},
// Testnets
bitcoin_testnet: {
type: "CryptoCurrency",
Expand Down Expand Up @@ -2698,6 +2726,36 @@ const cryptocurrenciesById: { [name: string]: CryptoCurrency } = {
},
],
},
crypto_org_croeseid: {
type: "CryptoCurrency",
id: "crypto_org_croeseid",
coinType: 394,
name: "Crypto.org Croeseid Coin",
managerAppName: "Crypto.org Chain",
ticker: "CRO",
scheme: "crypto_org_croeseid",
color: "#0e1c37",
family: "crypto_org",
units: [
{
name: "TCRO",
code: "tcro",
magnitude: 8,
},
{
name: "baseTCRO",
code: "basetcro",
magnitude: 0,
},
],
isTestnetFor: "crypto_org",
explorerViews: [
{
tx: "https://crypto.org/explorer/croeseid/tx/$hash",
address: "https://crypto.org/explorer/croeseid/account/$address",
},
],
},
};

const cryptocurrenciesByScheme: { [_: string]: CryptoCurrency } = {};
Expand Down

0 comments on commit 9acd849

Please sign in to comment.