From e2b58a27f362cc2062b2d9db55728baed38bc22a Mon Sep 17 00:00:00 2001 From: Hedi EDELBLOUTE Date: Tue, 31 Oct 2023 11:04:43 +0100 Subject: [PATCH] add logo and gasprices --- .../src/config/defaultConfig.ts | 2 +- .../src/data/icons/svg/DYDX.svg | 18 ++++++++++++++++++ .../packages/cryptoassets/src/currencies.ts | 10 +++++----- libs/ui/packages/crypto-icons/src/svg/DYDX.svg | 18 ++++++++++++++++++ 4 files changed, 42 insertions(+), 6 deletions(-) create mode 100644 libs/ledger-live-common/src/data/icons/svg/DYDX.svg create mode 100644 libs/ui/packages/crypto-icons/src/svg/DYDX.svg diff --git a/libs/ledger-live-common/src/config/defaultConfig.ts b/libs/ledger-live-common/src/config/defaultConfig.ts index 681b8bd92c49..b5a15b6135bb 100644 --- a/libs/ledger-live-common/src/config/defaultConfig.ts +++ b/libs/ledger-live-common/src/config/defaultConfig.ts @@ -19,7 +19,7 @@ const defaultConfig = { }, dydx: { lcd: "https://api.dydx.nodestake.top:443", - minGasPrice: 0.0025, + minGasPrice: 12500000000, }, nyx: { lcd: "https://api.nyx.nodes.guru", diff --git a/libs/ledger-live-common/src/data/icons/svg/DYDX.svg b/libs/ledger-live-common/src/data/icons/svg/DYDX.svg new file mode 100644 index 000000000000..5c8d58e5deea --- /dev/null +++ b/libs/ledger-live-common/src/data/icons/svg/DYDX.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/libs/ledgerjs/packages/cryptoassets/src/currencies.ts b/libs/ledgerjs/packages/cryptoassets/src/currencies.ts index 38fdf555056a..3adce7549ee9 100644 --- a/libs/ledgerjs/packages/cryptoassets/src/currencies.ts +++ b/libs/ledgerjs/packages/cryptoassets/src/currencies.ts @@ -981,21 +981,21 @@ export const cryptocurrenciesById: Record = { type: "CryptoCurrency", id: "dydx", coinType: CoinType.ATOM, - name: "Dydx", + name: "dYdX", managerAppName: "Cosmos", ticker: "DYDX", scheme: "dydx", - color: "#ed6c53", + color: "#6966FF", family: "cosmos", units: [ { - name: "dydx", + name: "dYdX", code: "dydx", - magnitude: 6, + magnitude: 18, }, { name: "Micro-dydx", - code: "udydx", + code: "adydx", magnitude: 0, }, ], diff --git a/libs/ui/packages/crypto-icons/src/svg/DYDX.svg b/libs/ui/packages/crypto-icons/src/svg/DYDX.svg new file mode 100644 index 000000000000..5c8d58e5deea --- /dev/null +++ b/libs/ui/packages/crypto-icons/src/svg/DYDX.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + +