From 21f750c00efe2309f41e9fc3be5ff433e6bcd73e Mon Sep 17 00:00:00 2001 From: sonlha Date: Wed, 28 Feb 2024 17:16:11 +0700 Subject: [PATCH 1/2] export chainInfosWithIcon --- packages/oraidex-common/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/oraidex-common/src/index.ts b/packages/oraidex-common/src/index.ts index 27f43fcb..31795e1c 100644 --- a/packages/oraidex-common/src/index.ts +++ b/packages/oraidex-common/src/index.ts @@ -9,3 +9,4 @@ export * from "./typechain-types"; export * from "./tx"; export * from "./bigdecimal"; export * from "./interface"; +export * from "./config/chainInfosWithIcon"; From 10ebb4142d0f181b7f4c6d93d93e204ef868c933 Mon Sep 17 00:00:00 2001 From: sonlha Date: Wed, 28 Feb 2024 17:33:20 +0700 Subject: [PATCH 2/2] och icon --- packages/oraidex-common/package.json | 2 +- packages/oraidex-common/src/config/chainInfosWithIcon.ts | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/oraidex-common/package.json b/packages/oraidex-common/package.json index a0d413d7..333f0bae 100644 --- a/packages/oraidex-common/package.json +++ b/packages/oraidex-common/package.json @@ -1,6 +1,6 @@ { "name": "@oraichain/oraidex-common", - "version": "1.0.71", + "version": "1.0.72", "main": "build/index.js", "files": [ "build/" diff --git a/packages/oraidex-common/src/config/chainInfosWithIcon.ts b/packages/oraidex-common/src/config/chainInfosWithIcon.ts index 760850d4..61c6ba67 100644 --- a/packages/oraidex-common/src/config/chainInfosWithIcon.ts +++ b/packages/oraidex-common/src/config/chainInfosWithIcon.ts @@ -18,6 +18,8 @@ const InjIcon = "https://s2.coinmarketcap.com/static/img/coins/64x64/7226.png"; const OraixLightIcon = "https://assets.coingecko.com/coins/images/28104/standard/oraix.png?1696527113"; const NobleIcon = "https://raw.githubusercontent.com/cosmos/chain-registry/master/noble/images/stake.png"; const BtcIcon = "https://s2.coinmarketcap.com/static/img/coins/64x64/1.png"; +const OCHIcon = + "https://assets.coingecko.com/coins/images/34236/standard/orchai_logo_white_copy_4x-8_%281%29.png?1704307670"; import { flatten } from "lodash"; import { chainInfos as customChainInfos, CustomChainInfo } from "../network"; @@ -117,6 +119,11 @@ export const tokensIcon: TokenIcon[] = [ coinGeckoId: "scatom", Icon: ScAtomIcon, IconLight: ScAtomIcon + }, + { + coinGeckoId: "och", + Icon: OCHIcon, + IconLight: OCHIcon } ];