From 52f68ff3c5eeb72f39a7aa4d8a3047d1c457948c Mon Sep 17 00:00:00 2001 From: Hau Nguyen Van Date: Thu, 26 Sep 2024 15:40:08 +0700 Subject: [PATCH 1/3] add hamter token --- src/assets/icons/hmstr.svg | 9 + src/config/chainInfos.ts | 2022 ++++++++++++++++++------------------ src/config/iconInfos.ts | 6 + 3 files changed, 1023 insertions(+), 1014 deletions(-) create mode 100644 src/assets/icons/hmstr.svg diff --git a/src/assets/icons/hmstr.svg b/src/assets/icons/hmstr.svg new file mode 100644 index 000000000..92354cac4 --- /dev/null +++ b/src/assets/icons/hmstr.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/config/chainInfos.ts b/src/config/chainInfos.ts index 9ccd99974..48f348bb4 100644 --- a/src/config/chainInfos.ts +++ b/src/config/chainInfos.ts @@ -1,94 +1,90 @@ import { - TokenItemType, tokens, oraichainNetwork as customOraichainNetwork, chainInfos as customChainInfos, - OsmoToken, - AtomToken, - InjectiveToken, ChainIdEnum, - PEPE_ORAICHAIN_EXT_DENOM as PEPE_ORAICHAIN_DENOM, - PEPE_ETH_CONTRACT, - PEPE_BSC_CONTRACT + BridgeAppCurrency, + CustomChainInfo, + defaultBech32Config + // PEPE_ORAICHAIN_EXT_DENOM as PEPE_ORAICHAIN_DENOM + // PEPE_ETH_CONTRACT, + // PEPE_BSC_CONTRACT, + // TokenItemType, + // OsmoToken, + // AtomToken, + // InjectiveToken, + // AIRI_BSC_CONTRACT, + // AIRI_CONTRACT, + // ATOM_ORAICHAIN_DENOM, + // INJECTIVE_CONTRACT, + // INJECTIVE_ORAICHAIN_DENOM, + // KWTBSC_ORAICHAIN_DENOM, + // KWT_BSC_CONTRACT, + // KWT_CONTRACT, + // KWT_DENOM, + // KWT_SUB_NETWORK_DENOM, + // MILKYBSC_ORAICHAIN_DENOM, + // MILKY_BSC_CONTRACT, + // MILKY_CONTRACT, + // MILKY_DENOM, + // MILKY_ERC_CONTRACT, + // MILKY_SUB_NETWORK_DENOM, + // ORAIIBC_INJECTIVE_DENOM, + // ORAIX_CONTRACT, + // ORAI_BRIDGE_EVM_DENOM_PREFIX, + // ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, + // ORAI_BRIDGE_EVM_TRON_DENOM_PREFIX, + // ORAI_BSC_CONTRACT, + // ORAI_ETH_CONTRACT, + // OSMOSIS_ORAICHAIN_DENOM, + // SCATOM_CONTRACT, + // SCORAI_CONTRACT, + // TRX_CONTRACT, + // USDC_CONTRACT, + // USDC_ETH_CONTRACT, + // USDT_BSC_CONTRACT, + // USDT_CONTRACT, + // USDT_TRON_CONTRACT, + // WRAP_BNB_CONTRACT, + // WRAP_ETH_CONTRACT, + // WRAP_TRON_TRX_CONTRACT, + // WETH_CONTRACT, + // USDT_ETH_CONTRACT, + // NEUTARO_ORAICHAIN_DENOM, + // OCH_CONTRACT, + // OCH_ETH_CONTRACT, + // ORAIX_ETH_CONTRACT, + // TON_ORAICHAIN_DENOM } from '@oraichain/oraidex-common'; -import { ReactComponent as AiriIcon } from 'assets/icons/airi.svg'; -import { ReactComponent as AtomIcon } from 'assets/icons/atom_cosmos.svg'; -import { ReactComponent as BnbIcon } from 'assets/icons/bnb.svg'; -import { ReactComponent as EthIcon } from 'assets/icons/ethereum.svg'; -import { ReactComponent as KwtIcon } from 'assets/icons/kwt.svg'; -import { ReactComponent as MilkyIcon } from 'assets/icons/milky-token.svg'; -import { ReactComponent as OraiIcon } from 'assets/icons/oraichain.svg'; +// import { ReactComponent as AiriIcon } from 'assets/icons/airi.svg'; +// import { ReactComponent as AtomIcon } from 'assets/icons/atom_cosmos.svg'; +// import { ReactComponent as BnbIcon } from 'assets/icons/bnb.svg'; +// import { ReactComponent as EthIcon } from 'assets/icons/ethereum.svg'; +// import { ReactComponent as KwtIcon } from 'assets/icons/kwt.svg'; +// import { ReactComponent as MilkyIcon } from 'assets/icons/milky-token.svg'; +// import { ReactComponent as OraixIcon } from 'assets/icons/oraix.svg'; +// import { ReactComponent as OraixLightIcon } from 'assets/icons/oraix_light.svg'; +// import { ReactComponent as OsmoIcon } from 'assets/icons/osmosis_light.svg'; +// import { ReactComponent as ScOraiIcon } from 'assets/icons/orchai.svg'; +// import { ReactComponent as UsdtIcon } from 'assets/icons/tether.svg'; +// import { ReactComponent as TronIcon } from 'assets/icons/tron.svg'; +// import { ReactComponent as UsdcIcon } from 'assets/icons/usd_coin.svg'; +// import { ReactComponent as ScAtomIcon } from 'assets/icons/scatom.svg'; +// import { ReactComponent as InjIcon } from 'assets/icons/inj.svg'; +// import { ReactComponent as NobleIcon } from 'assets/icons/noble.svg'; +// import { ReactComponent as TimpiIcon } from 'assets/icons/timpiIcon.svg'; +// import { ReactComponent as NeutaroIcon } from 'assets/icons/neutaro.svg'; +// import { ReactComponent as OrchaiIcon } from 'assets/icons/orchaiIcon.svg'; +// import { bitcoinChainId } from 'helper/constants'; +// import { OBTCContractAddress } from 'libs/nomic/models/ibc-chain'; +// import { listOsmosisToken } from './alphaNetwwork'; +import { ReactComponent as BitcoinIcon } from 'assets/icons/bitcoin.svg'; +import { ReactComponent as OraiIcon } from 'assets/icons/oraichain.svg'; import { ReactComponent as BTCIcon } from 'assets/icons/btc-icon.svg'; import { ReactComponent as OraiLightIcon } from 'assets/icons/oraichain_light.svg'; -import { ReactComponent as OraixIcon } from 'assets/icons/oraix.svg'; -import { ReactComponent as OraixLightIcon } from 'assets/icons/oraix_light.svg'; -import { ReactComponent as OsmoIcon } from 'assets/icons/osmosis_light.svg'; -import { ReactComponent as ScOraiIcon } from 'assets/icons/orchai.svg'; -import { ReactComponent as UsdtIcon } from 'assets/icons/tether.svg'; -import { ReactComponent as TronIcon } from 'assets/icons/tron.svg'; -import { ReactComponent as UsdcIcon } from 'assets/icons/usd_coin.svg'; -import { ReactComponent as ScAtomIcon } from 'assets/icons/scatom.svg'; -import { ReactComponent as InjIcon } from 'assets/icons/inj.svg'; -import { ReactComponent as NobleIcon } from 'assets/icons/noble.svg'; -import { ReactComponent as NobleLightIcon } from 'assets/icons/ic_noble_light.svg'; -import { ReactComponent as TimpiIcon } from 'assets/icons/timpiIcon.svg'; -import { ReactComponent as NeutaroIcon } from 'assets/icons/neutaro.svg'; -import { ReactComponent as OrchaiIcon } from 'assets/icons/orchaiIcon.svg'; -import { ReactComponent as BitcoinIcon } from 'assets/icons/bitcoin.svg'; -import { ReactComponent as CelestiaIcon } from 'assets/icons/celestia.svg'; -import { ReactComponent as TonIcon } from 'assets/icons/ton.svg'; -import { ReactComponent as PepeIcon } from 'assets/icons/pepe.svg'; +import flatten from 'lodash/flatten'; -import { - AIRI_BSC_CONTRACT, - AIRI_CONTRACT, - ATOM_ORAICHAIN_DENOM, - INJECTIVE_CONTRACT, - INJECTIVE_ORAICHAIN_DENOM, - KWTBSC_ORAICHAIN_DENOM, - KWT_BSC_CONTRACT, - KWT_CONTRACT, - KWT_DENOM, - KWT_SUB_NETWORK_DENOM, - MILKYBSC_ORAICHAIN_DENOM, - MILKY_BSC_CONTRACT, - MILKY_CONTRACT, - MILKY_DENOM, - MILKY_ERC_CONTRACT, - MILKY_SUB_NETWORK_DENOM, - ORAIIBC_INJECTIVE_DENOM, - ORAIX_CONTRACT, - ORAI_BRIDGE_EVM_DENOM_PREFIX, - ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, - ORAI_BRIDGE_EVM_TRON_DENOM_PREFIX, - ORAI_BSC_CONTRACT, - ORAI_ETH_CONTRACT, - OSMOSIS_ORAICHAIN_DENOM, - SCATOM_CONTRACT, - SCORAI_CONTRACT, - TRX_CONTRACT, - USDC_CONTRACT, - USDC_ETH_CONTRACT, - USDT_BSC_CONTRACT, - USDT_CONTRACT, - USDT_TRON_CONTRACT, - WRAP_BNB_CONTRACT, - WRAP_ETH_CONTRACT, - WRAP_TRON_TRX_CONTRACT, - WETH_CONTRACT, - USDT_ETH_CONTRACT, - NEUTARO_ORAICHAIN_DENOM, - OCH_CONTRACT, - OCH_ETH_CONTRACT, - ORAIX_ETH_CONTRACT, - TON_ORAICHAIN_DENOM -} from '@oraichain/oraidex-common'; -import { BridgeAppCurrency, CustomChainInfo, defaultBech32Config } from '@oraichain/oraidex-common'; -import { flatten } from 'lodash'; -import { bitcoinChainId } from 'helper/constants'; -import { OBTCContractAddress } from 'libs/nomic/models/ibc-chain'; -import { listOsmosisToken } from './alphaNetwwork'; import { chainIconsInfos, tokensIconInfos, mapListWithIcon } from './iconInfos'; export const tokensIcon = tokensIconInfos; @@ -147,7 +143,6 @@ export const bitcoinMainnet: CustomChainInfo = { // mapped chain info with icon export const chainInfosWithIcon = mapListWithIcon([...customChainInfos, bitcoinMainnet], chainIcons, 'chainId'); -// mapped token with icon export const oraichainTokensWithIcon = mapListWithIcon(oraichainTokens, tokensIcon, 'coinGeckoId'); export const otherTokensWithIcon = mapListWithIcon(otherChainTokens, tokensIcon, 'coinGeckoId'); @@ -169,40 +164,29 @@ export const OraiToken: BridgeAppCurrency = { } }; -const OraiBToken: BridgeAppCurrency = { - coinDenom: 'ORAIB', - coinMinimalDenom: 'uoraib', - coinDecimals: 6, - gasPriceStep: { - low: 0, - average: 0, - high: 0 - } -}; +// const OraiBToken: BridgeAppCurrency = { +// coinDenom: 'ORAIB', +// coinMinimalDenom: 'uoraib', +// coinDecimals: 6, +// gasPriceStep: { +// low: 0, +// average: 0, +// high: 0 +// } +// }; -const OraiBTCToken: BridgeAppCurrency = { - coinDenom: 'ORAIBTC', - coinMinimalDenom: 'uoraibtc', - coinDecimals: 6, - gasPriceStep: { - low: 0, - average: 0, - high: 0 - } -}; - -const KawaiiToken: BridgeAppCurrency = { - coinDenom: 'ORAIE', - coinMinimalDenom: 'oraie', - coinDecimals: 18, - coinGeckoId: 'kawaii-islands', - Icon: KwtIcon, - gasPriceStep: { - low: 0, - average: 0.000025, - high: 0.00004 - } -}; +// const KawaiiToken: BridgeAppCurrency = { +// coinDenom: 'ORAIE', +// coinMinimalDenom: 'oraie', +// coinDecimals: 18, +// coinGeckoId: 'kawaii-islands', +// Icon: KwtIcon, +// gasPriceStep: { +// low: 0, +// average: 0.000025, +// high: 0.00004 +// } +// }; export const oraichainNetwork: CustomChainInfo = { ...customOraichainNetwork @@ -211,244 +195,244 @@ export const oraichainNetwork: CustomChainInfo = { /** * @deprecated */ -export const oraichainNetworkOld: CustomChainInfo = { - rpc: 'https://rpc.orai.io', - rest: 'https://lcd.orai.io', - chainId: 'Oraichain', - chainName: 'Oraichain', - networkType: 'cosmos', - stakeCurrency: OraiToken, - bip44: { - coinType: 118 - }, - bech32Config: defaultBech32Config('orai'), - feeCurrencies: [OraiToken], +// export const oraichainNetworkOld: CustomChainInfo = { +// rpc: 'https://rpc.orai.io', +// rest: 'https://lcd.orai.io', +// chainId: 'Oraichain', +// chainName: 'Oraichain', +// networkType: 'cosmos', +// stakeCurrency: OraiToken, +// bip44: { +// coinType: 118 +// }, +// bech32Config: defaultBech32Config('orai'), +// feeCurrencies: [OraiToken], - Icon: OraiIcon, - IconLight: OraiLightIcon, - features: ['ibc-transfer', 'cosmwasm', 'wasmd_0.24+'], - currencies: [ - OraiToken, - { - coinDenom: 'ATOM', - coinGeckoId: 'cosmos', - coinMinimalDenom: ATOM_ORAICHAIN_DENOM, - bridgeTo: ['cosmoshub-4'], - coinDecimals: 6, - Icon: AtomIcon, - IconLight: AtomIcon - }, - { - coinDenom: 'NTMPI', - coinGeckoId: 'neutaro', - coinMinimalDenom: NEUTARO_ORAICHAIN_DENOM, - bridgeTo: ['Neutaro-1'], - coinDecimals: 6, - Icon: TimpiIcon, - IconLight: TimpiIcon - }, - // { - // coinDenom: 'BEP20 AIRI', - // coinGeckoId: 'airight', - // coinMinimalDenom: AIRIBSC_ORAICHAIN_DENOM, - // coinDecimals: 18, - // Icon: AiriIcon - // }, - { - coinDenom: 'AIRI', - coinGeckoId: 'airight', - coinMinimalDenom: 'airi', - type: 'cw20', - contractAddress: AIRI_CONTRACT, - bridgeTo: ['0x38'], - coinDecimals: 6, - Icon: AiriIcon - }, - { - coinDenom: 'USDT', - coinGeckoId: 'tether', - coinMinimalDenom: 'usdt', - type: 'cw20', - contractAddress: USDT_CONTRACT, - bridgeTo: ['0x38', '0x2b6653dc', '0x01'], - coinDecimals: 6, - Icon: UsdtIcon - }, - { - coinDenom: 'USDC', - coinGeckoId: 'usd-coin', - coinMinimalDenom: 'usdc', - type: 'cw20', - contractAddress: USDC_CONTRACT, - bridgeTo: ['0x01', 'noble-1'], - coinDecimals: 6, - Icon: UsdcIcon - }, - { - coinDenom: 'OSMO', - coinMinimalDenom: OSMOSIS_ORAICHAIN_DENOM, - coinDecimals: 6, - coinGeckoId: 'osmosis', - bridgeTo: ['osmosis-1'], - Icon: OsmoIcon, - IconLight: OsmoIcon - }, - { - coinDenom: 'BEP20 KWT', - coinGeckoId: 'kawaii-islands', - coinMinimalDenom: KWTBSC_ORAICHAIN_DENOM, - coinDecimals: 18, - Icon: KwtIcon - }, - { - coinDenom: 'KWT', - coinGeckoId: 'kawaii-islands', - coinMinimalDenom: 'kwt', - type: 'cw20', - contractAddress: KWT_CONTRACT, - bridgeTo: ['kawaii_6886-1', '0x38'], - coinDecimals: 6, - Icon: KwtIcon - }, - { - coinDenom: 'BEP20 MILKY', - coinGeckoId: 'milky-token', - coinMinimalDenom: MILKYBSC_ORAICHAIN_DENOM, - coinDecimals: 18, - Icon: MilkyIcon - }, - { - coinDenom: 'MILKY', - coinGeckoId: 'milky-token', - coinMinimalDenom: 'milky', - type: 'cw20', - contractAddress: MILKY_CONTRACT, - bridgeTo: ['kawaii_6886-1', '0x38'], - coinDecimals: 6, - Icon: MilkyIcon - }, - { - coinDenom: 'ORAIX', - coinMinimalDenom: 'oraix', - type: 'cw20', - contractAddress: ORAIX_CONTRACT, - coinGeckoId: 'oraidex', - coinDecimals: 6, - bridgeTo: ['0x01'], - Icon: OraixIcon, - IconLight: OraixLightIcon - }, - { - coinDenom: 'scORAI', - coinMinimalDenom: 'scorai', - type: 'cw20', - contractAddress: SCORAI_CONTRACT, - coinGeckoId: 'scorai', - coinDecimals: 6, - Icon: ScOraiIcon - }, - { - coinDenom: 'wTRX', - coinGeckoId: 'tron', - coinMinimalDenom: 'trx', - type: 'cw20', - contractAddress: TRX_CONTRACT, - bridgeTo: ['0x2b6653dc'], - coinDecimals: 6, - Icon: TronIcon - }, - { - coinDenom: 'scATOM', - coinMinimalDenom: 'scatom', - type: 'cw20', - contractAddress: SCATOM_CONTRACT, - coinGeckoId: 'scatom', - coinDecimals: 6, - Icon: ScAtomIcon - }, - { - coinDenom: 'IBC INJ', - coinGeckoId: 'injective-protocol', - coinMinimalDenom: INJECTIVE_ORAICHAIN_DENOM, - coinDecimals: 18, - Icon: InjIcon, - IconLight: InjIcon - }, - { - coinDenom: 'INJ', - coinGeckoId: 'injective-protocol', - coinMinimalDenom: 'injective', - contractAddress: INJECTIVE_CONTRACT, - bridgeTo: ['injective-1'], - type: 'cw20', - coinDecimals: 6, - Icon: InjIcon, - IconLight: InjIcon - }, - { - coinDenom: 'WETH', - coinGeckoId: 'weth', - coinMinimalDenom: 'weth', - type: 'cw20', - contractAddress: WETH_CONTRACT, - bridgeTo: ['0x01'], - coinDecimals: 6, - coinImageUrl: 'https://s2.coinmarketcap.com/static/img/coins/64x64/1027.png', - Icon: EthIcon, - IconLight: EthIcon - }, - { - coinDenom: 'OCH', - coinGeckoId: 'och', - coinMinimalDenom: 'och', - type: 'cw20', - contractAddress: OCH_CONTRACT, - bridgeTo: ['0x01'], - coinDecimals: 6, - coinImageUrl: - 'https://assets.coingecko.com/coins/images/34236/standard/orchai_logo_white_copy_4x-8_%281%29.png?1704307670', - Icon: OrchaiIcon, - IconLight: OrchaiIcon - }, - { - coinDenom: 'BTC', - coinGeckoId: 'bitcoin', - coinMinimalDenom: 'usat', - type: 'cw20', - contractAddress: OBTCContractAddress, - bridgeTo: [bitcoinChainId], - coinDecimals: 6, - Icon: BTCIcon, - IconLight: BTCIcon, - coinImageUrl: 'https://s2.coinmarketcap.com/static/img/coins/64x64/1.png' - }, - { - coinDenom: 'TON', - coinMinimalDenom: TON_ORAICHAIN_DENOM, - coinDecimals: 9, - coinGeckoId: 'the-open-network', - coinImageUrl: 'https://assets.coingecko.com/coins/images/17980/standard/ton_symbol.png?1696517498' - }, - { - coinDenom: 'PEPE', - coinGeckoId: 'pepe', - coinMinimalDenom: PEPE_ORAICHAIN_DENOM, - bridgeTo: ['0x38', '0x01'], - coinDecimals: 6, - coinImageUrl: 'https://assets.coingecko.com/coins/images/29850/standard/pepe-token.jpeg?1696528776' - } - // { - // coinDenom: 'ATOM-CW20', - // coinGeckoId: 'cosmos', - // coinMinimalDenom: 'uatom', - // type: 'cw20', - // contractAddress: 'orai17l2zk3arrx0a0fyuneyx8raln68622a2lrsz8ph75u7gw9tgz3esayqryf', - // bridgeTo: ['cosmoshub-4'], - // coinDecimals: 6, - // Icon: AtomIcon - // } - ] -}; +// Icon: OraiIcon, +// IconLight: OraiLightIcon, +// features: ['ibc-transfer', 'cosmwasm', 'wasmd_0.24+'], +// currencies: [ +// OraiToken, +// { +// coinDenom: 'ATOM', +// coinGeckoId: 'cosmos', +// coinMinimalDenom: ATOM_ORAICHAIN_DENOM, +// bridgeTo: ['cosmoshub-4'], +// coinDecimals: 6, +// Icon: AtomIcon, +// IconLight: AtomIcon +// }, +// { +// coinDenom: 'NTMPI', +// coinGeckoId: 'neutaro', +// coinMinimalDenom: NEUTARO_ORAICHAIN_DENOM, +// bridgeTo: ['Neutaro-1'], +// coinDecimals: 6, +// Icon: TimpiIcon, +// IconLight: TimpiIcon +// }, +// // { +// // coinDenom: 'BEP20 AIRI', +// // coinGeckoId: 'airight', +// // coinMinimalDenom: AIRIBSC_ORAICHAIN_DENOM, +// // coinDecimals: 18, +// // Icon: AiriIcon +// // }, +// { +// coinDenom: 'AIRI', +// coinGeckoId: 'airight', +// coinMinimalDenom: 'airi', +// type: 'cw20', +// contractAddress: AIRI_CONTRACT, +// bridgeTo: ['0x38'], +// coinDecimals: 6, +// Icon: AiriIcon +// }, +// { +// coinDenom: 'USDT', +// coinGeckoId: 'tether', +// coinMinimalDenom: 'usdt', +// type: 'cw20', +// contractAddress: USDT_CONTRACT, +// bridgeTo: ['0x38', '0x2b6653dc', '0x01'], +// coinDecimals: 6, +// Icon: UsdtIcon +// }, +// { +// coinDenom: 'USDC', +// coinGeckoId: 'usd-coin', +// coinMinimalDenom: 'usdc', +// type: 'cw20', +// contractAddress: USDC_CONTRACT, +// bridgeTo: ['0x01', 'noble-1'], +// coinDecimals: 6, +// Icon: UsdcIcon +// }, +// { +// coinDenom: 'OSMO', +// coinMinimalDenom: OSMOSIS_ORAICHAIN_DENOM, +// coinDecimals: 6, +// coinGeckoId: 'osmosis', +// bridgeTo: ['osmosis-1'], +// Icon: OsmoIcon, +// IconLight: OsmoIcon +// }, +// { +// coinDenom: 'BEP20 KWT', +// coinGeckoId: 'kawaii-islands', +// coinMinimalDenom: KWTBSC_ORAICHAIN_DENOM, +// coinDecimals: 18, +// Icon: KwtIcon +// }, +// { +// coinDenom: 'KWT', +// coinGeckoId: 'kawaii-islands', +// coinMinimalDenom: 'kwt', +// type: 'cw20', +// contractAddress: KWT_CONTRACT, +// bridgeTo: ['kawaii_6886-1', '0x38'], +// coinDecimals: 6, +// Icon: KwtIcon +// }, +// { +// coinDenom: 'BEP20 MILKY', +// coinGeckoId: 'milky-token', +// coinMinimalDenom: MILKYBSC_ORAICHAIN_DENOM, +// coinDecimals: 18, +// Icon: MilkyIcon +// }, +// { +// coinDenom: 'MILKY', +// coinGeckoId: 'milky-token', +// coinMinimalDenom: 'milky', +// type: 'cw20', +// contractAddress: MILKY_CONTRACT, +// bridgeTo: ['kawaii_6886-1', '0x38'], +// coinDecimals: 6, +// Icon: MilkyIcon +// }, +// { +// coinDenom: 'ORAIX', +// coinMinimalDenom: 'oraix', +// type: 'cw20', +// contractAddress: ORAIX_CONTRACT, +// coinGeckoId: 'oraidex', +// coinDecimals: 6, +// bridgeTo: ['0x01'], +// Icon: OraixIcon, +// IconLight: OraixLightIcon +// }, +// { +// coinDenom: 'scORAI', +// coinMinimalDenom: 'scorai', +// type: 'cw20', +// contractAddress: SCORAI_CONTRACT, +// coinGeckoId: 'scorai', +// coinDecimals: 6, +// Icon: ScOraiIcon +// }, +// { +// coinDenom: 'wTRX', +// coinGeckoId: 'tron', +// coinMinimalDenom: 'trx', +// type: 'cw20', +// contractAddress: TRX_CONTRACT, +// bridgeTo: ['0x2b6653dc'], +// coinDecimals: 6, +// Icon: TronIcon +// }, +// { +// coinDenom: 'scATOM', +// coinMinimalDenom: 'scatom', +// type: 'cw20', +// contractAddress: SCATOM_CONTRACT, +// coinGeckoId: 'scatom', +// coinDecimals: 6, +// Icon: ScAtomIcon +// }, +// { +// coinDenom: 'IBC INJ', +// coinGeckoId: 'injective-protocol', +// coinMinimalDenom: INJECTIVE_ORAICHAIN_DENOM, +// coinDecimals: 18, +// Icon: InjIcon, +// IconLight: InjIcon +// }, +// { +// coinDenom: 'INJ', +// coinGeckoId: 'injective-protocol', +// coinMinimalDenom: 'injective', +// contractAddress: INJECTIVE_CONTRACT, +// bridgeTo: ['injective-1'], +// type: 'cw20', +// coinDecimals: 6, +// Icon: InjIcon, +// IconLight: InjIcon +// }, +// { +// coinDenom: 'WETH', +// coinGeckoId: 'weth', +// coinMinimalDenom: 'weth', +// type: 'cw20', +// contractAddress: WETH_CONTRACT, +// bridgeTo: ['0x01'], +// coinDecimals: 6, +// coinImageUrl: 'https://s2.coinmarketcap.com/static/img/coins/64x64/1027.png', +// Icon: EthIcon, +// IconLight: EthIcon +// }, +// { +// coinDenom: 'OCH', +// coinGeckoId: 'och', +// coinMinimalDenom: 'och', +// type: 'cw20', +// contractAddress: OCH_CONTRACT, +// bridgeTo: ['0x01'], +// coinDecimals: 6, +// coinImageUrl: +// 'https://assets.coingecko.com/coins/images/34236/standard/orchai_logo_white_copy_4x-8_%281%29.png?1704307670', +// Icon: OrchaiIcon, +// IconLight: OrchaiIcon +// }, +// { +// coinDenom: 'BTC', +// coinGeckoId: 'bitcoin', +// coinMinimalDenom: 'usat', +// type: 'cw20', +// contractAddress: OBTCContractAddress, +// bridgeTo: [bitcoinChainId], +// coinDecimals: 6, +// Icon: BTCIcon, +// IconLight: BTCIcon, +// coinImageUrl: 'https://s2.coinmarketcap.com/static/img/coins/64x64/1.png' +// }, +// { +// coinDenom: 'TON', +// coinMinimalDenom: TON_ORAICHAIN_DENOM, +// coinDecimals: 9, +// coinGeckoId: 'the-open-network', +// coinImageUrl: 'https://assets.coingecko.com/coins/images/17980/standard/ton_symbol.png?1696517498' +// }, +// { +// coinDenom: 'PEPE', +// coinGeckoId: 'pepe', +// coinMinimalDenom: PEPE_ORAICHAIN_DENOM, +// bridgeTo: ['0x38', '0x01'], +// coinDecimals: 6, +// coinImageUrl: 'https://assets.coingecko.com/coins/images/29850/standard/pepe-token.jpeg?1696528776' +// } +// // { +// // coinDenom: 'ATOM-CW20', +// // coinGeckoId: 'cosmos', +// // coinMinimalDenom: 'uatom', +// // type: 'cw20', +// // contractAddress: 'orai17l2zk3arrx0a0fyuneyx8raln68622a2lrsz8ph75u7gw9tgz3esayqryf', +// // bridgeTo: ['cosmoshub-4'], +// // coinDecimals: 6, +// // Icon: AtomIcon +// // } +// ] +// }; export const OraiBTCBridgeNetwork = { chainId: 'oraibtc-mainnet-1', @@ -504,7 +488,17 @@ export const OraiBTCBridgeNetwork = { } }; -const bitcoinNetwork = bitcoinMainnet; +const OraiBTCToken: BridgeAppCurrency = { + coinDenom: 'ORAIBTC', + coinMinimalDenom: 'uoraibtc', + coinDecimals: 6, + gasPriceStep: { + low: 0, + average: 0, + high: 0 + } +}; + const oraibtcNetwork = { rpc: 'https://btc.rpc.orai.io', rest: 'https://btc.lcd.orai.io/', @@ -531,677 +525,677 @@ const oraibtcNetwork = { ] }; -export const chainInfosWithSdk = [...customChainInfos, bitcoinNetwork, oraibtcNetwork]; +export const chainInfosWithSdk = [...customChainInfos, bitcoinMainnet, oraibtcNetwork]; export const chainInfos = mapListWithIcon(chainInfosWithSdk, chainIcons, 'chainId'); /** * @deprecated */ -export const chainInfosOld: CustomChainInfo[] = [ - // networks to add on keplr - oraichainNetwork, - bitcoinNetwork, - { - rpc: 'https://bridge-v2.rpc.orai.io', - rest: 'https://bridge-v2.lcd.orai.io', - chainId: 'oraibridge-subnet-2', - chainName: 'OraiBridge', - networkType: 'cosmos', - bip44: { - coinType: 118 - }, - bech32Config: defaultBech32Config('oraib'), +// export const chainInfosOld: CustomChainInfo[] = [ +// // networks to add on keplr +// oraichainNetwork, +// bitcoinMainnet, +// { +// rpc: 'https://bridge-v2.rpc.orai.io', +// rest: 'https://bridge-v2.lcd.orai.io', +// chainId: 'oraibridge-subnet-2', +// chainName: 'OraiBridge', +// networkType: 'cosmos', +// bip44: { +// coinType: 118 +// }, +// bech32Config: defaultBech32Config('oraib'), - features: ['ibc-transfer'], - stakeCurrency: OraiBToken, - feeCurrencies: [OraiBToken], - // not use oraib as currency - currencies: [ - OraiBToken, - { - coinDenom: 'ORAI', - coinMinimalDenom: ORAI_BRIDGE_EVM_DENOM_PREFIX + ORAI_BSC_CONTRACT, - bridgeNetworkIdentifier: '0x38', - coinDecimals: 18, - coinGeckoId: 'oraichain-token', - IconLight: OraiLightIcon, - Icon: OraiIcon - }, - { - coinDenom: 'ORAI', - coinMinimalDenom: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX + ORAI_ETH_CONTRACT, - bridgeNetworkIdentifier: '0x01', - coinDecimals: 18, - coinGeckoId: 'oraichain-token', - IconLight: OraiLightIcon, - prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, - Icon: OraiIcon - }, - { - coinDenom: 'USDC', - coinMinimalDenom: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX + USDC_ETH_CONTRACT, - bridgeNetworkIdentifier: '0x01', - coinDecimals: 6, - coinGeckoId: 'usd-coin', - prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, - Icon: UsdcIcon - }, - { - coinDenom: 'WETH', - coinMinimalDenom: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX + WRAP_ETH_CONTRACT, - bridgeNetworkIdentifier: '0x01', - coinDecimals: 6, - coinGeckoId: 'weth', - prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, - Icon: EthIcon - }, - { - coinDenom: 'AIRI', - coinMinimalDenom: ORAI_BRIDGE_EVM_DENOM_PREFIX + AIRI_BSC_CONTRACT, - bridgeNetworkIdentifier: '0x38', - coinDecimals: 18, - coinGeckoId: 'airight', - Icon: AiriIcon - }, - { - coinDenom: 'USDT', - coinMinimalDenom: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX + USDT_ETH_CONTRACT, - bridgeNetworkIdentifier: '0x01', - coinDecimals: 6, - coinGeckoId: 'tether', - prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, - Icon: UsdtIcon - }, - { - coinDenom: 'USDT', - coinMinimalDenom: ORAI_BRIDGE_EVM_DENOM_PREFIX + USDT_BSC_CONTRACT, - bridgeNetworkIdentifier: '0x38', - coinDecimals: 18, - coinGeckoId: 'tether', - Icon: UsdtIcon - }, - { - coinDenom: 'USDT', - coinMinimalDenom: ORAI_BRIDGE_EVM_TRON_DENOM_PREFIX + USDT_TRON_CONTRACT, - bridgeNetworkIdentifier: '0x2b6653dc', - prefixToken: ORAI_BRIDGE_EVM_TRON_DENOM_PREFIX, - coinDecimals: 6, - coinGeckoId: 'tether', - Icon: UsdtIcon - }, - { - coinDenom: 'wTRX', - coinMinimalDenom: ORAI_BRIDGE_EVM_TRON_DENOM_PREFIX + WRAP_TRON_TRX_CONTRACT, - bridgeNetworkIdentifier: '0x2b6653dc', - coinDecimals: 6, - coinGeckoId: 'tron', - prefixToken: ORAI_BRIDGE_EVM_TRON_DENOM_PREFIX, - Icon: TronIcon - }, - { - coinDenom: 'KWT', - bridgeNetworkIdentifier: '0x38', - coinMinimalDenom: KWT_DENOM, - coinDecimals: 18, - coinGeckoId: 'kawaii-islands', - Icon: KwtIcon - }, - { - coinDenom: 'MILKY', - bridgeNetworkIdentifier: '0x38', - coinMinimalDenom: MILKY_DENOM, - coinDecimals: 18, - coinGeckoId: 'milky-token', - Icon: MilkyIcon - }, - { - coinDenom: 'OCH', - coinMinimalDenom: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX + OCH_ETH_CONTRACT, - bridgeNetworkIdentifier: '0x01', - coinDecimals: 18, - coinGeckoId: 'och', - prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, - coinImageUrl: - 'https://assets.coingecko.com/coins/images/34236/standard/orchai_logo_white_copy_4x-8_%281%29.png?1704307670' - }, - { - coinDenom: 'ORAIX', - coinMinimalDenom: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX + ORAIX_ETH_CONTRACT, - bridgeNetworkIdentifier: '0x01', - coinDecimals: 18, - coinGeckoId: 'oraidex', - prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, - coinImageUrl: 'https://i.ibb.co/VmMJtf7/oraix.png' - }, - { - coinDenom: 'PEPE', - coinMinimalDenom: ORAI_BRIDGE_EVM_DENOM_PREFIX + PEPE_BSC_CONTRACT, - bridgeNetworkIdentifier: '0x38', - coinDecimals: 18, - coinGeckoId: 'pepe', - prefixToken: ORAI_BRIDGE_EVM_DENOM_PREFIX, - coinImageUrl: 'https://assets.coingecko.com/coins/images/29850/standard/pepe-token.jpeg?1696528776' - }, - { - coinDenom: 'PEPE', - coinMinimalDenom: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX + PEPE_ETH_CONTRACT, - bridgeNetworkIdentifier: '0x01', - coinDecimals: 18, - coinGeckoId: 'pepe', - prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, - coinImageUrl: 'https://assets.coingecko.com/coins/images/29850/standard/pepe-token.jpeg?1696528776' - } - ] - }, +// features: ['ibc-transfer'], +// stakeCurrency: OraiBToken, +// feeCurrencies: [OraiBToken], +// // not use oraib as currency +// currencies: [ +// OraiBToken, +// { +// coinDenom: 'ORAI', +// coinMinimalDenom: ORAI_BRIDGE_EVM_DENOM_PREFIX + ORAI_BSC_CONTRACT, +// bridgeNetworkIdentifier: '0x38', +// coinDecimals: 18, +// coinGeckoId: 'oraichain-token', +// IconLight: OraiLightIcon, +// Icon: OraiIcon +// }, +// { +// coinDenom: 'ORAI', +// coinMinimalDenom: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX + ORAI_ETH_CONTRACT, +// bridgeNetworkIdentifier: '0x01', +// coinDecimals: 18, +// coinGeckoId: 'oraichain-token', +// IconLight: OraiLightIcon, +// prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, +// Icon: OraiIcon +// }, +// { +// coinDenom: 'USDC', +// coinMinimalDenom: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX + USDC_ETH_CONTRACT, +// bridgeNetworkIdentifier: '0x01', +// coinDecimals: 6, +// coinGeckoId: 'usd-coin', +// prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, +// Icon: UsdcIcon +// }, +// { +// coinDenom: 'WETH', +// coinMinimalDenom: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX + WRAP_ETH_CONTRACT, +// bridgeNetworkIdentifier: '0x01', +// coinDecimals: 6, +// coinGeckoId: 'weth', +// prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, +// Icon: EthIcon +// }, +// { +// coinDenom: 'AIRI', +// coinMinimalDenom: ORAI_BRIDGE_EVM_DENOM_PREFIX + AIRI_BSC_CONTRACT, +// bridgeNetworkIdentifier: '0x38', +// coinDecimals: 18, +// coinGeckoId: 'airight', +// Icon: AiriIcon +// }, +// { +// coinDenom: 'USDT', +// coinMinimalDenom: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX + USDT_ETH_CONTRACT, +// bridgeNetworkIdentifier: '0x01', +// coinDecimals: 6, +// coinGeckoId: 'tether', +// prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, +// Icon: UsdtIcon +// }, +// { +// coinDenom: 'USDT', +// coinMinimalDenom: ORAI_BRIDGE_EVM_DENOM_PREFIX + USDT_BSC_CONTRACT, +// bridgeNetworkIdentifier: '0x38', +// coinDecimals: 18, +// coinGeckoId: 'tether', +// Icon: UsdtIcon +// }, +// { +// coinDenom: 'USDT', +// coinMinimalDenom: ORAI_BRIDGE_EVM_TRON_DENOM_PREFIX + USDT_TRON_CONTRACT, +// bridgeNetworkIdentifier: '0x2b6653dc', +// prefixToken: ORAI_BRIDGE_EVM_TRON_DENOM_PREFIX, +// coinDecimals: 6, +// coinGeckoId: 'tether', +// Icon: UsdtIcon +// }, +// { +// coinDenom: 'wTRX', +// coinMinimalDenom: ORAI_BRIDGE_EVM_TRON_DENOM_PREFIX + WRAP_TRON_TRX_CONTRACT, +// bridgeNetworkIdentifier: '0x2b6653dc', +// coinDecimals: 6, +// coinGeckoId: 'tron', +// prefixToken: ORAI_BRIDGE_EVM_TRON_DENOM_PREFIX, +// Icon: TronIcon +// }, +// { +// coinDenom: 'KWT', +// bridgeNetworkIdentifier: '0x38', +// coinMinimalDenom: KWT_DENOM, +// coinDecimals: 18, +// coinGeckoId: 'kawaii-islands', +// Icon: KwtIcon +// }, +// { +// coinDenom: 'MILKY', +// bridgeNetworkIdentifier: '0x38', +// coinMinimalDenom: MILKY_DENOM, +// coinDecimals: 18, +// coinGeckoId: 'milky-token', +// Icon: MilkyIcon +// }, +// { +// coinDenom: 'OCH', +// coinMinimalDenom: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX + OCH_ETH_CONTRACT, +// bridgeNetworkIdentifier: '0x01', +// coinDecimals: 18, +// coinGeckoId: 'och', +// prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, +// coinImageUrl: +// 'https://assets.coingecko.com/coins/images/34236/standard/orchai_logo_white_copy_4x-8_%281%29.png?1704307670' +// }, +// { +// coinDenom: 'ORAIX', +// coinMinimalDenom: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX + ORAIX_ETH_CONTRACT, +// bridgeNetworkIdentifier: '0x01', +// coinDecimals: 18, +// coinGeckoId: 'oraidex', +// prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, +// coinImageUrl: 'https://i.ibb.co/VmMJtf7/oraix.png' +// }, +// { +// coinDenom: 'PEPE', +// coinMinimalDenom: ORAI_BRIDGE_EVM_DENOM_PREFIX + PEPE_BSC_CONTRACT, +// bridgeNetworkIdentifier: '0x38', +// coinDecimals: 18, +// coinGeckoId: 'pepe', +// prefixToken: ORAI_BRIDGE_EVM_DENOM_PREFIX, +// coinImageUrl: 'https://assets.coingecko.com/coins/images/29850/standard/pepe-token.jpeg?1696528776' +// }, +// { +// coinDenom: 'PEPE', +// coinMinimalDenom: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX + PEPE_ETH_CONTRACT, +// bridgeNetworkIdentifier: '0x01', +// coinDecimals: 18, +// coinGeckoId: 'pepe', +// prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, +// coinImageUrl: 'https://assets.coingecko.com/coins/images/29850/standard/pepe-token.jpeg?1696528776' +// } +// ] +// }, - { - rpc: 'https://tendermint1.kawaii.global', - rest: 'https://cosmos1.kawaii.global', - chainId: 'kawaii_6886-1', - chainName: 'Kawaiiverse', - networkType: 'cosmos', - stakeCurrency: KawaiiToken, - bip44: { - coinType: 60 - }, - bech32Config: defaultBech32Config('oraie'), - feeCurrencies: [KawaiiToken], +// { +// rpc: 'https://tendermint1.kawaii.global', +// rest: 'https://cosmos1.kawaii.global', +// chainId: 'kawaii_6886-1', +// chainName: 'Kawaiiverse', +// networkType: 'cosmos', +// stakeCurrency: KawaiiToken, +// bip44: { +// coinType: 60 +// }, +// bech32Config: defaultBech32Config('oraie'), +// feeCurrencies: [KawaiiToken], - Icon: KwtIcon, - // features: ['ibc-transfer'], - features: ['ibc-transfer', 'ibc-go', 'stargate', 'eth-address-gen', 'eth-key-sign'], - currencies: [ - KawaiiToken, - { - coinDenom: 'MILKY', - coinGeckoId: 'milky-token', - coinMinimalDenom: MILKY_SUB_NETWORK_DENOM, - coinDecimals: 18, - bridgeTo: ['Oraichain', 'kawaii_6886-1'], - Icon: MilkyIcon - }, - { - coinDenom: 'ERC20 MILKY', - coinMinimalDenom: 'erc20_milky', - bridgeTo: ['Oraichain', 'kawaii_6886-1'], - contractAddress: MILKY_ERC_CONTRACT, - coinDecimals: 18, - coinGeckoId: 'milky-token', - Icon: MilkyIcon - }, - { - coinDenom: 'KWT', - coinMinimalDenom: KWT_SUB_NETWORK_DENOM, - coinDecimals: 18, - bridgeTo: ['Oraichain', 'kawaii_6886-1'], - coinGeckoId: 'kawaii-islands', - Icon: KwtIcon - }, - { - coinDenom: 'ERC20 KWT', - bridgeTo: ['Oraichain', 'kawaii_6886-1'], - coinMinimalDenom: 'erc20_kwt', - contractAddress: '0x80b5a32E4F032B2a058b4F29EC95EEfEEB87aDcd', - coinDecimals: 18, - coinGeckoId: 'kawaii-islands', - Icon: KwtIcon - } - ] - }, +// Icon: KwtIcon, +// // features: ['ibc-transfer'], +// features: ['ibc-transfer', 'ibc-go', 'stargate', 'eth-address-gen', 'eth-key-sign'], +// currencies: [ +// KawaiiToken, +// { +// coinDenom: 'MILKY', +// coinGeckoId: 'milky-token', +// coinMinimalDenom: MILKY_SUB_NETWORK_DENOM, +// coinDecimals: 18, +// bridgeTo: ['Oraichain', 'kawaii_6886-1'], +// Icon: MilkyIcon +// }, +// { +// coinDenom: 'ERC20 MILKY', +// coinMinimalDenom: 'erc20_milky', +// bridgeTo: ['Oraichain', 'kawaii_6886-1'], +// contractAddress: MILKY_ERC_CONTRACT, +// coinDecimals: 18, +// coinGeckoId: 'milky-token', +// Icon: MilkyIcon +// }, +// { +// coinDenom: 'KWT', +// coinMinimalDenom: KWT_SUB_NETWORK_DENOM, +// coinDecimals: 18, +// bridgeTo: ['Oraichain', 'kawaii_6886-1'], +// coinGeckoId: 'kawaii-islands', +// Icon: KwtIcon +// }, +// { +// coinDenom: 'ERC20 KWT', +// bridgeTo: ['Oraichain', 'kawaii_6886-1'], +// coinMinimalDenom: 'erc20_kwt', +// contractAddress: '0x80b5a32E4F032B2a058b4F29EC95EEfEEB87aDcd', +// coinDecimals: 18, +// coinGeckoId: 'kawaii-islands', +// Icon: KwtIcon +// } +// ] +// }, - /// popular networks already included - { - rpc: 'https://osmosis.rpc.orai.io/', - rest: 'https://osmosis.lcd.orai.io/', - chainId: 'osmosis-1', - chainName: 'Osmosis', - networkType: 'cosmos', - bip44: { - coinType: 118 - }, - Icon: OsmoIcon, - IconLight: OsmoIcon, - bech32Config: defaultBech32Config('osmo'), - feeCurrencies: [OsmoToken], - currencies: [ - { - coinDenom: 'OSMO', - coinMinimalDenom: 'uosmo', - coinDecimals: 6, - coinGeckoId: 'osmosis', - bridgeTo: ['Oraichain'], - Icon: OsmoIcon, - IconLight: OsmoIcon - }, - ...listOsmosisToken - ] - }, - { - rpc: 'https://btc.rpc.orai.io', - rest: 'https://btc.lcd.orai.io/', - chainId: 'oraibtc-mainnet-1' as any, - chainName: 'OraiBTC' as any, - networkType: 'cosmos', - bip44: { - coinType: 118 - }, - Icon: BitcoinIcon, - IconLight: BitcoinIcon, - bech32Config: defaultBech32Config('oraibtc'), - feeCurrencies: [OraiBTCToken], - currencies: [ - { - coinDenom: 'BTC', - coinMinimalDenom: 'uoraibtc', - coinDecimals: 6, - coinGeckoId: 'bitcoin', - bridgeTo: ['Oraichain'], - Icon: BitcoinIcon, - IconLight: BitcoinIcon - } - ] - }, - /// popular networks already included - { - rpc: 'https://injective.rpc.orai.io', - rest: 'https://injective.lcd.orai.io', - chainId: 'injective-1', - chainName: 'Injective', - networkType: 'cosmos', - bip44: { - coinType: 60 - }, - Icon: InjIcon, - IconLight: InjIcon, - bech32Config: defaultBech32Config('inj'), - feeCurrencies: [InjectiveToken], - currencies: [ - { - coinDenom: 'INJ', - coinMinimalDenom: 'inj', - coinDecimals: 18, - coinGeckoId: 'injective-protocol', - bridgeTo: ['Oraichain'], - Icon: InjIcon, - IconLight: InjIcon - }, - { - coinDenom: 'ORAI', - coinMinimalDenom: ORAIIBC_INJECTIVE_DENOM, - coinDecimals: 6, - coinGeckoId: 'oraichain-token', - bridgeTo: ['Oraichain'], - Icon: OraiIcon, - IconLight: OraiLightIcon - } - ] - }, - { - rpc: 'https://noble-rpc.polkachu.com/', - rest: 'https://noble-api.polkachu.com', - chainId: 'noble-1', - chainName: 'Noble', - networkType: 'cosmos', - bip44: { - coinType: 118 - }, - bech32Config: defaultBech32Config('noble'), - features: ['stargate', 'ibc-transfer', 'no-legacy-stdTx', 'ibc-go'], - Icon: NobleIcon, - IconLight: NobleIcon, - currencies: [ - { - coinDenom: 'USDC', - coinMinimalDenom: 'uusdc', - coinDecimals: 6, - coinGeckoId: 'usd-coin', - coinImageUrl: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/noble/images/USDCoin.png', - gasPriceStep: { - low: 0, - average: 0.025, - high: 0.03 - }, - bridgeTo: ['Oraichain'], - Icon: UsdcIcon, - IconLight: UsdcIcon - } - ], - feeCurrencies: [ - { - coinDenom: 'USDC', - coinMinimalDenom: 'uusdc', - coinDecimals: 6, - coinGeckoId: 'usd-coin', - coinImageUrl: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/noble/images/USDCoin.png', - gasPriceStep: { - low: 0, - average: 0.025, - high: 0.03 - } - } - ], - stakeCurrency: { - coinDecimals: 6, - coinDenom: 'STAKE', - coinMinimalDenom: 'ustake', - coinImageUrl: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/noble/images/stake.png' - }, - chainSymbolImageUrl: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/noble/images/stake.png', - txExplorer: { - name: 'Mintscan', - txUrl: 'https://www.mintscan.io/noble/txs/{txHash}' - } - }, - { - // rpc: 'http://rpc.neutaro.tech:26657/', - rpc: 'https://neutaro.rpc.orai.io', - rest: 'https://neutaro.lcd.orai.io', - // rest: 'http://api.neutaro.tech:1317/', - chainId: 'Neutaro-1', - chainName: 'Neutaro', - networkType: 'cosmos', - bip44: { - coinType: 118 - }, - Icon: NeutaroIcon, - IconLight: NeutaroIcon, - bech32Config: defaultBech32Config('neutaro'), - stakeCurrency: { - coinDenom: 'ntmpi', - coinMinimalDenom: 'uneutaro', - coinDecimals: 6, - coinImageUrl: 'https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/Neutaro/chain.png' - }, - feeCurrencies: [ - { - coinDenom: 'ntmpi', - coinMinimalDenom: 'uneutaro', - coinDecimals: 6, - coinImageUrl: 'https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/Neutaro/chain.png', - gasPriceStep: { - low: 0.01, - average: 0.025, - high: 0.03 - } - } - ], - currencies: [ - { - coinDenom: 'NTMPI', - coinMinimalDenom: 'uneutaro', - coinDecimals: 6, - bridgeTo: ['Oraichain'], - coinGeckoId: 'neutaro', - Icon: TimpiIcon, - IconLight: TimpiIcon - } - ] - }, - { - rpc: 'https://rpc-cosmos.oraidex.io', - rest: 'https://lcd-cosmos.oraidex.io', - chainId: 'cosmoshub-4', - chainName: 'Cosmos Hub', - networkType: 'cosmos', - bip44: { - coinType: 118 - }, - Icon: AtomIcon, - IconLight: AtomIcon, - bech32Config: defaultBech32Config('cosmos'), - feeCurrencies: [AtomToken], - currencies: [ - { - coinDenom: 'ATOM', - coinGeckoId: 'cosmos', - coinMinimalDenom: 'uatom', - coinDecimals: 6, - bridgeTo: ['Oraichain'], - Icon: AtomIcon, - IconLight: AtomIcon - } - ] - }, +// /// popular networks already included +// { +// rpc: 'https://osmosis.rpc.orai.io/', +// rest: 'https://osmosis.lcd.orai.io/', +// chainId: 'osmosis-1', +// chainName: 'Osmosis', +// networkType: 'cosmos', +// bip44: { +// coinType: 118 +// }, +// Icon: OsmoIcon, +// IconLight: OsmoIcon, +// bech32Config: defaultBech32Config('osmo'), +// feeCurrencies: [OsmoToken], +// currencies: [ +// { +// coinDenom: 'OSMO', +// coinMinimalDenom: 'uosmo', +// coinDecimals: 6, +// coinGeckoId: 'osmosis', +// bridgeTo: ['Oraichain'], +// Icon: OsmoIcon, +// IconLight: OsmoIcon +// }, +// ...listOsmosisToken +// ] +// }, +// { +// rpc: 'https://btc.rpc.orai.io', +// rest: 'https://btc.lcd.orai.io/', +// chainId: 'oraibtc-mainnet-1' as any, +// chainName: 'OraiBTC' as any, +// networkType: 'cosmos', +// bip44: { +// coinType: 118 +// }, +// Icon: BitcoinIcon, +// IconLight: BitcoinIcon, +// bech32Config: defaultBech32Config('oraibtc'), +// feeCurrencies: [OraiBTCToken], +// currencies: [ +// { +// coinDenom: 'BTC', +// coinMinimalDenom: 'uoraibtc', +// coinDecimals: 6, +// coinGeckoId: 'bitcoin', +// bridgeTo: ['Oraichain'], +// Icon: BitcoinIcon, +// IconLight: BitcoinIcon +// } +// ] +// }, +// /// popular networks already included +// { +// rpc: 'https://injective.rpc.orai.io', +// rest: 'https://injective.lcd.orai.io', +// chainId: 'injective-1', +// chainName: 'Injective', +// networkType: 'cosmos', +// bip44: { +// coinType: 60 +// }, +// Icon: InjIcon, +// IconLight: InjIcon, +// bech32Config: defaultBech32Config('inj'), +// feeCurrencies: [InjectiveToken], +// currencies: [ +// { +// coinDenom: 'INJ', +// coinMinimalDenom: 'inj', +// coinDecimals: 18, +// coinGeckoId: 'injective-protocol', +// bridgeTo: ['Oraichain'], +// Icon: InjIcon, +// IconLight: InjIcon +// }, +// { +// coinDenom: 'ORAI', +// coinMinimalDenom: ORAIIBC_INJECTIVE_DENOM, +// coinDecimals: 6, +// coinGeckoId: 'oraichain-token', +// bridgeTo: ['Oraichain'], +// Icon: OraiIcon, +// IconLight: OraiLightIcon +// } +// ] +// }, +// { +// rpc: 'https://noble-rpc.polkachu.com/', +// rest: 'https://noble-api.polkachu.com', +// chainId: 'noble-1', +// chainName: 'Noble', +// networkType: 'cosmos', +// bip44: { +// coinType: 118 +// }, +// bech32Config: defaultBech32Config('noble'), +// features: ['stargate', 'ibc-transfer', 'no-legacy-stdTx', 'ibc-go'], +// Icon: NobleIcon, +// IconLight: NobleIcon, +// currencies: [ +// { +// coinDenom: 'USDC', +// coinMinimalDenom: 'uusdc', +// coinDecimals: 6, +// coinGeckoId: 'usd-coin', +// coinImageUrl: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/noble/images/USDCoin.png', +// gasPriceStep: { +// low: 0, +// average: 0.025, +// high: 0.03 +// }, +// bridgeTo: ['Oraichain'], +// Icon: UsdcIcon, +// IconLight: UsdcIcon +// } +// ], +// feeCurrencies: [ +// { +// coinDenom: 'USDC', +// coinMinimalDenom: 'uusdc', +// coinDecimals: 6, +// coinGeckoId: 'usd-coin', +// coinImageUrl: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/noble/images/USDCoin.png', +// gasPriceStep: { +// low: 0, +// average: 0.025, +// high: 0.03 +// } +// } +// ], +// stakeCurrency: { +// coinDecimals: 6, +// coinDenom: 'STAKE', +// coinMinimalDenom: 'ustake', +// coinImageUrl: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/noble/images/stake.png' +// }, +// chainSymbolImageUrl: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/noble/images/stake.png', +// txExplorer: { +// name: 'Mintscan', +// txUrl: 'https://www.mintscan.io/noble/txs/{txHash}' +// } +// }, +// { +// // rpc: 'http://rpc.neutaro.tech:26657/', +// rpc: 'https://neutaro.rpc.orai.io', +// rest: 'https://neutaro.lcd.orai.io', +// // rest: 'http://api.neutaro.tech:1317/', +// chainId: 'Neutaro-1', +// chainName: 'Neutaro', +// networkType: 'cosmos', +// bip44: { +// coinType: 118 +// }, +// Icon: NeutaroIcon, +// IconLight: NeutaroIcon, +// bech32Config: defaultBech32Config('neutaro'), +// stakeCurrency: { +// coinDenom: 'ntmpi', +// coinMinimalDenom: 'uneutaro', +// coinDecimals: 6, +// coinImageUrl: 'https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/Neutaro/chain.png' +// }, +// feeCurrencies: [ +// { +// coinDenom: 'ntmpi', +// coinMinimalDenom: 'uneutaro', +// coinDecimals: 6, +// coinImageUrl: 'https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/Neutaro/chain.png', +// gasPriceStep: { +// low: 0.01, +// average: 0.025, +// high: 0.03 +// } +// } +// ], +// currencies: [ +// { +// coinDenom: 'NTMPI', +// coinMinimalDenom: 'uneutaro', +// coinDecimals: 6, +// bridgeTo: ['Oraichain'], +// coinGeckoId: 'neutaro', +// Icon: TimpiIcon, +// IconLight: TimpiIcon +// } +// ] +// }, +// { +// rpc: 'https://rpc-cosmos.oraidex.io', +// rest: 'https://lcd-cosmos.oraidex.io', +// chainId: 'cosmoshub-4', +// chainName: 'Cosmos Hub', +// networkType: 'cosmos', +// bip44: { +// coinType: 118 +// }, +// Icon: AtomIcon, +// IconLight: AtomIcon, +// bech32Config: defaultBech32Config('cosmos'), +// feeCurrencies: [AtomToken], +// currencies: [ +// { +// coinDenom: 'ATOM', +// coinGeckoId: 'cosmos', +// coinMinimalDenom: 'uatom', +// coinDecimals: 6, +// bridgeTo: ['Oraichain'], +// Icon: AtomIcon, +// IconLight: AtomIcon +// } +// ] +// }, - /// evm chain info - { - rpc: 'https://rpc.ankr.com/eth', - chainId: '0x01', - chainName: 'Ethereum', - bip44: { - coinType: 60 - }, - Icon: EthIcon, - networkType: 'evm', - currencies: [ - { - coinDenom: 'ORAI', - coinMinimalDenom: 'erc20_orai', - contractAddress: ORAI_ETH_CONTRACT, - coinDecimals: 18, - bridgeTo: ['Oraichain'], - coinGeckoId: 'oraichain-token', - IconLight: OraiLightIcon, - prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, - Icon: OraiIcon - }, - { - coinDenom: 'USDC', - coinMinimalDenom: 'erc20_usdc', - contractAddress: USDC_ETH_CONTRACT, - coinDecimals: 6, - bridgeTo: ['Oraichain'], - coinGeckoId: 'usd-coin', - prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, - Icon: UsdcIcon - }, - { - coinDenom: 'WETH', - coinMinimalDenom: 'erc20_eth', - contractAddress: WRAP_ETH_CONTRACT, - coinDecimals: 18, - bridgeTo: ['Oraichain'], - coinGeckoId: 'weth', - prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, - Icon: EthIcon - }, - { - coinDenom: 'ETH', - coinMinimalDenom: 'eth', - contractAddress: '', - coinDecimals: 18, - bridgeTo: ['Oraichain'], - coinGeckoId: 'ethereum', - Icon: EthIcon, - prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX - }, - { - coinDenom: 'USDT', - coinMinimalDenom: 'erc20_usdt', - contractAddress: USDT_ETH_CONTRACT, - coinDecimals: 6, - bridgeTo: ['Oraichain'], - coinGeckoId: 'tether', - prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, - Icon: UsdtIcon - }, - { - coinDenom: 'OCH', - coinMinimalDenom: 'erc20_och', - contractAddress: OCH_ETH_CONTRACT, - coinDecimals: 18, - bridgeTo: ['Oraichain'], - coinGeckoId: 'och', - prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, - coinImageUrl: - 'https://assets.coingecko.com/coins/images/34236/standard/orchai_logo_white_copy_4x-8_%281%29.png?1704307670', - Icon: OrchaiIcon - }, - { - coinDenom: 'ORAIX', - coinMinimalDenom: 'erc20_oraix', - contractAddress: ORAIX_ETH_CONTRACT, - coinDecimals: 18, - bridgeTo: ['Oraichain'], - coinGeckoId: 'oraidex', - prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, - Icon: OraixIcon - } - ] - }, - { - rpc: 'https://api.trongrid.io/jsonrpc', - rest: 'https://api.trongrid.io', - chainId: '0x2b6653dc', - networkType: 'evm', - chainName: 'Tron Network', - Icon: TronIcon, - currencies: [ - { - coinDenom: 'USDT', - coinMinimalDenom: 'trx20_usdt', - contractAddress: USDT_TRON_CONTRACT, - bridgeTo: ['Oraichain'], - coinDecimals: 6, - coinGeckoId: 'tether', - prefixToken: ORAI_BRIDGE_EVM_TRON_DENOM_PREFIX, - Icon: UsdtIcon - }, - { - coinDenom: 'wTRX', - coinMinimalDenom: 'trx20_trx', - contractAddress: WRAP_TRON_TRX_CONTRACT, - bridgeTo: ['Oraichain'], - coinDecimals: 6, - coinGeckoId: 'tron', - prefixToken: ORAI_BRIDGE_EVM_TRON_DENOM_PREFIX, - Icon: TronIcon - } - ], - bip44: { - coinType: 195 - } - }, - { - rpc: 'https://bsc-dataseed1.binance.org', - networkType: 'evm', - Icon: BnbIcon, - chainId: '0x38', - chainName: 'BNB Chain', - bip44: { - coinType: 60 - }, - currencies: [ - { - coinDenom: 'ORAI', - coinMinimalDenom: 'bep20_orai', - contractAddress: ORAI_BSC_CONTRACT, - bridgeTo: ['Oraichain'], - coinDecimals: 18, - coinGeckoId: 'oraichain-token', - prefixToken: ORAI_BRIDGE_EVM_DENOM_PREFIX, - Icon: OraiIcon, - IconLight: OraiLightIcon - }, - { - coinDenom: 'AIRI', - coinMinimalDenom: 'bep20_airi', - contractAddress: AIRI_BSC_CONTRACT, - bridgeTo: ['Oraichain'], - coinDecimals: 18, - coinGeckoId: 'airight', - prefixToken: ORAI_BRIDGE_EVM_DENOM_PREFIX, - Icon: AiriIcon - }, - { - coinDenom: 'USDT', - coinMinimalDenom: 'bep20_usdt', - contractAddress: USDT_BSC_CONTRACT, - bridgeTo: ['Oraichain'], - coinDecimals: 18, - coinGeckoId: 'tether', - prefixToken: ORAI_BRIDGE_EVM_DENOM_PREFIX, - Icon: UsdtIcon - }, - { - coinDenom: 'KWT', - coinMinimalDenom: 'bep20_kwt', - contractAddress: KWT_BSC_CONTRACT, - bridgeTo: ['Oraichain'], - coinDecimals: 18, - coinGeckoId: 'kawaii-islands', - Icon: KwtIcon - }, - { - coinDenom: 'MILKY', - coinMinimalDenom: 'bep20_milky', - contractAddress: MILKY_BSC_CONTRACT, - coinDecimals: 18, - coinGeckoId: 'milky-token', - bridgeTo: ['Oraichain'], - Icon: MilkyIcon - }, - { - coinDenom: 'WBNB', - coinMinimalDenom: 'bep20_wbnb', - contractAddress: WRAP_BNB_CONTRACT, - coinDecimals: 18, - coinGeckoId: 'wbnb', - bridgeTo: ['Oraichain'], - Icon: BnbIcon - }, - { - coinDenom: 'BNB', - coinMinimalDenom: 'bnb', - contractAddress: '', - coinDecimals: 18, - coinGeckoId: 'binancecoin', - bridgeTo: ['Oraichain'], - prefixToken: ORAI_BRIDGE_EVM_DENOM_PREFIX, - Icon: BnbIcon - }, - { - coinDenom: 'PEPE', - coinMinimalDenom: 'bep20_pepe', - contractAddress: PEPE_BSC_CONTRACT, - coinDecimals: 18, - coinGeckoId: 'pepe', - bridgeTo: ['Oraichain'], - coinImageUrl: 'https://assets.coingecko.com/coins/images/29850/standard/pepe-token.jpeg?1696528776' - } - ] - }, - { - rpc: 'https://endpoint1.kawaii.global', - chainId: '0x1ae6', - networkType: 'evm', - chainName: 'Kawaiiverse EVM', - Icon: KwtIcon, - bip44: { - coinType: 60 - }, - currencies: [ - { - coinDenom: 'ERC20 MILKY', - coinMinimalDenom: 'erc20_milky', - bridgeTo: ['Oraichain', 'kawaii_6886-1'], - contractAddress: MILKY_ERC_CONTRACT, - coinDecimals: 18, - coinGeckoId: 'milky-token', - Icon: MilkyIcon - }, - { - coinDenom: 'ERC20 KWT', - bridgeTo: ['Oraichain', 'kawaii_6886-1'], - coinMinimalDenom: 'erc20_kwt', - contractAddress: '0x80b5a32E4F032B2a058b4F29EC95EEfEEB87aDcd', - coinDecimals: 18, - coinGeckoId: 'kawaii-islands', - Icon: KwtIcon - } - ] - } -]; +// /// evm chain info +// { +// rpc: 'https://rpc.ankr.com/eth', +// chainId: '0x01', +// chainName: 'Ethereum', +// bip44: { +// coinType: 60 +// }, +// Icon: EthIcon, +// networkType: 'evm', +// currencies: [ +// { +// coinDenom: 'ORAI', +// coinMinimalDenom: 'erc20_orai', +// contractAddress: ORAI_ETH_CONTRACT, +// coinDecimals: 18, +// bridgeTo: ['Oraichain'], +// coinGeckoId: 'oraichain-token', +// IconLight: OraiLightIcon, +// prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, +// Icon: OraiIcon +// }, +// { +// coinDenom: 'USDC', +// coinMinimalDenom: 'erc20_usdc', +// contractAddress: USDC_ETH_CONTRACT, +// coinDecimals: 6, +// bridgeTo: ['Oraichain'], +// coinGeckoId: 'usd-coin', +// prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, +// Icon: UsdcIcon +// }, +// { +// coinDenom: 'WETH', +// coinMinimalDenom: 'erc20_eth', +// contractAddress: WRAP_ETH_CONTRACT, +// coinDecimals: 18, +// bridgeTo: ['Oraichain'], +// coinGeckoId: 'weth', +// prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, +// Icon: EthIcon +// }, +// { +// coinDenom: 'ETH', +// coinMinimalDenom: 'eth', +// contractAddress: '', +// coinDecimals: 18, +// bridgeTo: ['Oraichain'], +// coinGeckoId: 'ethereum', +// Icon: EthIcon, +// prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX +// }, +// { +// coinDenom: 'USDT', +// coinMinimalDenom: 'erc20_usdt', +// contractAddress: USDT_ETH_CONTRACT, +// coinDecimals: 6, +// bridgeTo: ['Oraichain'], +// coinGeckoId: 'tether', +// prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, +// Icon: UsdtIcon +// }, +// { +// coinDenom: 'OCH', +// coinMinimalDenom: 'erc20_och', +// contractAddress: OCH_ETH_CONTRACT, +// coinDecimals: 18, +// bridgeTo: ['Oraichain'], +// coinGeckoId: 'och', +// prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, +// coinImageUrl: +// 'https://assets.coingecko.com/coins/images/34236/standard/orchai_logo_white_copy_4x-8_%281%29.png?1704307670', +// Icon: OrchaiIcon +// }, +// { +// coinDenom: 'ORAIX', +// coinMinimalDenom: 'erc20_oraix', +// contractAddress: ORAIX_ETH_CONTRACT, +// coinDecimals: 18, +// bridgeTo: ['Oraichain'], +// coinGeckoId: 'oraidex', +// prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, +// Icon: OraixIcon +// } +// ] +// }, +// { +// rpc: 'https://api.trongrid.io/jsonrpc', +// rest: 'https://api.trongrid.io', +// chainId: '0x2b6653dc', +// networkType: 'evm', +// chainName: 'Tron Network', +// Icon: TronIcon, +// currencies: [ +// { +// coinDenom: 'USDT', +// coinMinimalDenom: 'trx20_usdt', +// contractAddress: USDT_TRON_CONTRACT, +// bridgeTo: ['Oraichain'], +// coinDecimals: 6, +// coinGeckoId: 'tether', +// prefixToken: ORAI_BRIDGE_EVM_TRON_DENOM_PREFIX, +// Icon: UsdtIcon +// }, +// { +// coinDenom: 'wTRX', +// coinMinimalDenom: 'trx20_trx', +// contractAddress: WRAP_TRON_TRX_CONTRACT, +// bridgeTo: ['Oraichain'], +// coinDecimals: 6, +// coinGeckoId: 'tron', +// prefixToken: ORAI_BRIDGE_EVM_TRON_DENOM_PREFIX, +// Icon: TronIcon +// } +// ], +// bip44: { +// coinType: 195 +// } +// }, +// { +// rpc: 'https://bsc-dataseed1.binance.org', +// networkType: 'evm', +// Icon: BnbIcon, +// chainId: '0x38', +// chainName: 'BNB Chain', +// bip44: { +// coinType: 60 +// }, +// currencies: [ +// { +// coinDenom: 'ORAI', +// coinMinimalDenom: 'bep20_orai', +// contractAddress: ORAI_BSC_CONTRACT, +// bridgeTo: ['Oraichain'], +// coinDecimals: 18, +// coinGeckoId: 'oraichain-token', +// prefixToken: ORAI_BRIDGE_EVM_DENOM_PREFIX, +// Icon: OraiIcon, +// IconLight: OraiLightIcon +// }, +// { +// coinDenom: 'AIRI', +// coinMinimalDenom: 'bep20_airi', +// contractAddress: AIRI_BSC_CONTRACT, +// bridgeTo: ['Oraichain'], +// coinDecimals: 18, +// coinGeckoId: 'airight', +// prefixToken: ORAI_BRIDGE_EVM_DENOM_PREFIX, +// Icon: AiriIcon +// }, +// { +// coinDenom: 'USDT', +// coinMinimalDenom: 'bep20_usdt', +// contractAddress: USDT_BSC_CONTRACT, +// bridgeTo: ['Oraichain'], +// coinDecimals: 18, +// coinGeckoId: 'tether', +// prefixToken: ORAI_BRIDGE_EVM_DENOM_PREFIX, +// Icon: UsdtIcon +// }, +// { +// coinDenom: 'KWT', +// coinMinimalDenom: 'bep20_kwt', +// contractAddress: KWT_BSC_CONTRACT, +// bridgeTo: ['Oraichain'], +// coinDecimals: 18, +// coinGeckoId: 'kawaii-islands', +// Icon: KwtIcon +// }, +// { +// coinDenom: 'MILKY', +// coinMinimalDenom: 'bep20_milky', +// contractAddress: MILKY_BSC_CONTRACT, +// coinDecimals: 18, +// coinGeckoId: 'milky-token', +// bridgeTo: ['Oraichain'], +// Icon: MilkyIcon +// }, +// { +// coinDenom: 'WBNB', +// coinMinimalDenom: 'bep20_wbnb', +// contractAddress: WRAP_BNB_CONTRACT, +// coinDecimals: 18, +// coinGeckoId: 'wbnb', +// bridgeTo: ['Oraichain'], +// Icon: BnbIcon +// }, +// { +// coinDenom: 'BNB', +// coinMinimalDenom: 'bnb', +// contractAddress: '', +// coinDecimals: 18, +// coinGeckoId: 'binancecoin', +// bridgeTo: ['Oraichain'], +// prefixToken: ORAI_BRIDGE_EVM_DENOM_PREFIX, +// Icon: BnbIcon +// }, +// { +// coinDenom: 'PEPE', +// coinMinimalDenom: 'bep20_pepe', +// contractAddress: PEPE_BSC_CONTRACT, +// coinDecimals: 18, +// coinGeckoId: 'pepe', +// bridgeTo: ['Oraichain'], +// coinImageUrl: 'https://assets.coingecko.com/coins/images/29850/standard/pepe-token.jpeg?1696528776' +// } +// ] +// }, +// { +// rpc: 'https://endpoint1.kawaii.global', +// chainId: '0x1ae6', +// networkType: 'evm', +// chainName: 'Kawaiiverse EVM', +// Icon: KwtIcon, +// bip44: { +// coinType: 60 +// }, +// currencies: [ +// { +// coinDenom: 'ERC20 MILKY', +// coinMinimalDenom: 'erc20_milky', +// bridgeTo: ['Oraichain', 'kawaii_6886-1'], +// contractAddress: MILKY_ERC_CONTRACT, +// coinDecimals: 18, +// coinGeckoId: 'milky-token', +// Icon: MilkyIcon +// }, +// { +// coinDenom: 'ERC20 KWT', +// bridgeTo: ['Oraichain', 'kawaii_6886-1'], +// coinMinimalDenom: 'erc20_kwt', +// contractAddress: '0x80b5a32E4F032B2a058b4F29EC95EEfEEB87aDcd', +// coinDecimals: 18, +// coinGeckoId: 'kawaii-islands', +// Icon: KwtIcon +// } +// ] +// } +// ]; // exclude kawaiverse subnet and other special evm that has different cointype export const evmChains = chainInfos.filter( diff --git a/src/config/iconInfos.ts b/src/config/iconInfos.ts index 026a42b9e..db274c526 100644 --- a/src/config/iconInfos.ts +++ b/src/config/iconInfos.ts @@ -27,6 +27,7 @@ import { ReactComponent as CelestiaIcon } from 'assets/icons/celestia.svg'; import { ReactComponent as TonIcon } from 'assets/icons/ton.svg'; import { ReactComponent as PepeIcon } from 'assets/icons/pepe.svg'; import { ReactComponent as CatIcon } from 'assets/icons/icon-simoncat.svg'; +import { ReactComponent as HmstrIcon } from 'assets/icons/hmstr.svg'; import { CustomChainInfo, TokenItemType } from '@oraichain/oraidex-common'; import { bitcoinChainId } from 'helper/constants'; @@ -159,6 +160,11 @@ export const tokensIconInfos: TokenIcon[] = [ coinGeckoId: 'simon-s-cat', Icon: CatIcon, IconLight: CatIcon + }, + { + coinGeckoId: 'hamster-kombat', + Icon: HmstrIcon, + IconLight: HmstrIcon } ]; From f199e1b23ea7f97dbaa89386b79d5b9099b8ccd4 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Van Date: Thu, 26 Sep 2024 15:41:51 +0700 Subject: [PATCH 2/3] add hamter token --- src/config/iconInfos.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/iconInfos.ts b/src/config/iconInfos.ts index db274c526..51c0540ec 100644 --- a/src/config/iconInfos.ts +++ b/src/config/iconInfos.ts @@ -162,7 +162,7 @@ export const tokensIconInfos: TokenIcon[] = [ IconLight: CatIcon }, { - coinGeckoId: 'hamster-kombat', + coinGeckoId: 'hamster-kombat' as any, Icon: HmstrIcon, IconLight: HmstrIcon } From 32f13deddad0d8fd91f7e3db4d9c7783429bce59 Mon Sep 17 00:00:00 2001 From: quangdz1704 Date: Thu, 26 Sep 2024 17:41:26 +0700 Subject: [PATCH 3/3] chore: update pkg --- package.json | 2 +- yarn.lock | 49 +++++++++++++++++++++++++++++++++++++------------ 2 files changed, 38 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 628bf09b5..0e16e67be 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "@oraichain/common-contracts-build": "1.0.35", "@oraichain/cw-simulate": "^2.8.75", "@oraichain/oraidex-contracts-build": "1.0.22", - "@oraichain/oraiswap-v3": "0.1.12", + "@oraichain/oraiswap-v3": "0.1.18", "@sentry/webpack-plugin": "^2.10.3", "@types/classnames": "^2.2.10", "@types/jest": "^29.5.10", diff --git a/yarn.lock b/yarn.lock index 8220db2ad..3d7c8d66d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4374,10 +4374,10 @@ react-use "^17.4.0" react-use-websocket "^4.5.0" -"@oraichain/oraidex-common@^1.0.91", "@oraichain/oraidex-common@^1.1.6": - version "1.1.19" - resolved "https://registry.yarnpkg.com/@oraichain/oraidex-common/-/oraidex-common-1.1.19.tgz#4aa4a0789ffe151d1cefe3e7c1fd2899dd6c6519" - integrity sha512-O4OLU+5fBOZr9Zq6v9veqJ6t1z3/Ez4AUIQTcJ8HN/f+2uc27ZG/V4CQ02BW0Snh2+HydvLpsmIGKPQ3C/RDxw== +"@oraichain/oraidex-common@^1.0.91", "@oraichain/oraidex-common@^1.1.20": + version "1.1.21" + resolved "https://registry.yarnpkg.com/@oraichain/oraidex-common/-/oraidex-common-1.1.21.tgz#12c778191146bb05511446e7098795cd45cc59c8" + integrity sha512-/yxtjTTagTyfCmmnULpt3QfGcSYtRUz6iy/01kvNW/XtKQrCNNAxsotfKmn1LUOTWVkKD1jxvPpcRWeswGgX9g== dependencies: "@cosmjs/amino" "0.31.3" "@cosmjs/cosmwasm-stargate" "0.31.3" @@ -4434,13 +4434,13 @@ tronweb "5.3.2" ts-protoc-gen "^0.15.0" -"@oraichain/oraiswap-v3@0.1.12": - version "0.1.12" - resolved "https://registry.yarnpkg.com/@oraichain/oraiswap-v3/-/oraiswap-v3-0.1.12.tgz#f3715448da31be8ddf2d5265fd6a9a25ceeb305d" - integrity sha512-GNqyMurlv83PtFNcFR4zmDK6TlPFplCUtsGZrDDe5j3pL5YjgPCeNeU8wfpCPQ6mD1o0WVrVhTW7TmroVH+VPg== +"@oraichain/oraiswap-v3@0.1.18": + version "0.1.18" + resolved "https://registry.yarnpkg.com/@oraichain/oraiswap-v3/-/oraiswap-v3-0.1.18.tgz#bc551426e1dc8b9095de56f00ea45bffaaf76596" + integrity sha512-ZOWr4+IKzfytAMqsZzauijiigy5mnvoLfi0TYbVsOsfCusky61NAsXqwwfsnQ6SizafzLiJLvYtFKYzMt5enww== dependencies: "@cosmjs/cosmwasm-stargate" "^0.31.0" - "@oraichain/oraidex-common" "^1.1.6" + "@oraichain/oraidex-common" "^1.1.20" "@oraichain/oraidex-contracts-sdk" "^1.0.52" "@oraichain/wasm-json-toolkit@^1.0.24": @@ -17680,7 +17680,7 @@ string-natural-compare@^3.0.1: resolved "https://registry.yarnpkg.com/string-natural-compare/-/string-natural-compare-3.0.1.tgz#7a42d58474454963759e8e8b7ae63d71c1e7fdf4" integrity sha512-n3sPwynL1nwKi3WJ6AIsClwBMa0zTi54fn2oLU6ndfTSIO05xaznjSf15PcBZU6FNWbmN5Q6cxT4V5hGvB4taw== -"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0": version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -17698,6 +17698,15 @@ string-width@^3.0.0, string-width@^3.1.0: is-fullwidth-code-point "^2.0.0" strip-ansi "^5.1.0" +string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + string-width@^5.0.1, string-width@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" @@ -17777,7 +17786,7 @@ stringify-object@^3.3.0: is-obj "^1.0.1" is-regexp "^1.0.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -17798,6 +17807,13 @@ strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: dependencies: ansi-regex "^4.1.0" +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^7.0.1: version "7.1.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" @@ -19551,7 +19567,7 @@ workbox-window@6.6.1: "@types/trusted-types" "^2.0.2" workbox-core "6.6.1" -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -19578,6 +19594,15 @@ wrap-ansi@^6.0.1, wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"