Skip to content

Commit

Permalink
feat add hmstr
Browse files Browse the repository at this point in the history
  • Loading branch information
haunv3 committed Sep 26, 2024
1 parent 3d2e256 commit b4f2fc7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
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.1.19",
"version": "1.1.20",
"main": "build/index.js",
"files": [
"build/"
Expand Down
12 changes: 12 additions & 0 deletions packages/oraidex-common/src/config/chainInfosWithIcon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ const NobleIcon = "https://raw.githubusercontent.com/cosmos/chain-registry/maste
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";
const PepeIcon = "https://assets.coingecko.com/coins/images/29850/standard/pepe-token.jpeg?1696528776";
const HamsterIcon = "https://assets.coingecko.com/coins/images/39102/standard/hamster-removebg-preview.png?1720514486";

import { flatten } from "lodash";
import { chainInfos as customChainInfos, CustomChainInfo } from "../network";
Expand Down Expand Up @@ -124,6 +126,16 @@ export const tokensIcon: TokenIcon[] = [
coinGeckoId: "och",
Icon: OCHIcon,
IconLight: OCHIcon
},
{
coinGeckoId: "pepe",
Icon: PepeIcon,
IconLight: PepeIcon
},
{
coinGeckoId: "hamster-kombat",
Icon: HamsterIcon,
IconLight: HamsterIcon
}
];

Expand Down
2 changes: 1 addition & 1 deletion packages/oraidex-common/src/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ export const oraichainNetwork: CustomChainInfo = {
coinMinimalDenom: HMSTR_ORAICHAIN_DENOM,
coinDecimals: 9,
coinGeckoId: "hamster-kombat",
coinImageUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/32195.png"
coinImageUrl: "https://assets.coingecko.com/coins/images/39102/standard/hamster-removebg-preview.png?1720514486"
}
]
};
Expand Down

0 comments on commit b4f2fc7

Please sign in to comment.