Skip to content

Commit

Permalink
Merge pull request #188 from oraichain/feat/export-chainInfosWithIcon
Browse files Browse the repository at this point in the history
export chainInfosWithIcon
  • Loading branch information
marxeille authored Feb 28, 2024
2 parents 8aa4d2c + 10ebb41 commit 265d850
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/oraidex-common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oraichain/oraidex-common",
"version": "1.0.71",
"version": "1.0.72",
"main": "build/index.js",
"files": [
"build/"
Expand Down
7 changes: 7 additions & 0 deletions packages/oraidex-common/src/config/chainInfosWithIcon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -117,6 +119,11 @@ export const tokensIcon: TokenIcon[] = [
coinGeckoId: "scatom",
Icon: ScAtomIcon,
IconLight: ScAtomIcon
},
{
coinGeckoId: "och",
Icon: OCHIcon,
IconLight: OCHIcon
}
];

Expand Down
1 change: 1 addition & 0 deletions packages/oraidex-common/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ export * from "./typechain-types";
export * from "./tx";
export * from "./bigdecimal";
export * from "./interface";
export * from "./config/chainInfosWithIcon";

0 comments on commit 265d850

Please sign in to comment.