diff --git a/packages/oraidex-common/package.json b/packages/oraidex-common/package.json index 0eef02af..e74d2252 100644 --- a/packages/oraidex-common/package.json +++ b/packages/oraidex-common/package.json @@ -1,6 +1,6 @@ { "name": "@oraichain/oraidex-common", - "version": "1.1.35", + "version": "1.1.36", "main": "build/index.js", "files": [ "build/" diff --git a/packages/oraidex-common/src/constant.ts b/packages/oraidex-common/src/constant.ts index bad5c614..5517c550 100644 --- a/packages/oraidex-common/src/constant.ts +++ b/packages/oraidex-common/src/constant.ts @@ -122,6 +122,7 @@ export const MAX_ORAICHAIN_DENOM = export const ORAICHAIN_RELAYER_ADDRESS = "orai1ehmhqcn8erf3dgavrca69zgp4rtxj5kqgtcnyd"; export const SOL_RELAYER_ADDRESS = "4k7xvinq6nB221iBhcP9uMFCPFh29MxQ6LieMH7cqw45"; export const MAX_SOL_CONTRACT_ADDRESS = "oraim8c9d1nkfuQk9EzGYEUGxqL3MHQYndRw1huVo5h"; +export const ORAI_SOL_CONTRACT_ADDRESS = "orai1f5j9myddepjuq0m6jdmsy2c64vsmrqpd53mad6edrn2j30f9tups7w2lce"; export const SOLANA_RPC = "https://swr.xnftdata.com/rpc-proxy/"; export const SOLANA_WEBSOCKET = "wss://go.getblock.io/52d75331a9b74f9fa4a0056f15a1c022"; export const MEMO_PROGRAM_ID = "MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr"; diff --git a/packages/oraidex-common/src/network.ts b/packages/oraidex-common/src/network.ts index 1498328a..4bfeb4c8 100644 --- a/packages/oraidex-common/src/network.ts +++ b/packages/oraidex-common/src/network.ts @@ -68,7 +68,8 @@ import { WSOL_WORMHOLE_BSC_CONTRACT, solChainId, MAX_SOL_CONTRACT_ADDRESS, - MAX_ORAICHAIN_DENOM + MAX_ORAICHAIN_DENOM, + ORAI_SOL_CONTRACT_ADDRESS } from "./constant"; import { listOsmosisToken } from "./alpha-network"; import { celestiaNetwork } from "./celestia-network"; @@ -226,7 +227,7 @@ export const OraiToken: BridgeAppCurrency = { coinMinimalDenom: "orai", coinDecimals: 6, coinGeckoId: "oraichain-token", - bridgeTo: ["0x38", "0x01", "injective-1"], + bridgeTo: ["0x38", "0x01", "injective-1", solChainId], coinImageUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/7533.png", gasPriceStep: { low: 0.003, @@ -616,6 +617,15 @@ export const solanaMainnet: CustomChainInfo = { coinGeckoId: "max.clan", coinImageUrl: "https://pump.mypinata.cloud/ipfs/QmcGwYebsQfYbNSM9QDAMS2wKZ8fZNEiMbezJah1zgEWWS?img-width=256&img-dpr=2" + }, + { + coinDenom: "ORAI", + coinMinimalDenom: "s20_orai", + coinDecimals: 8, + bridgeTo: ["Oraichain"], + contractAddress: ORAI_SOL_CONTRACT_ADDRESS, + coinGeckoId: "oraichain-token", + coinImageUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/7533.png" } ], get feeCurrencies() {