From a2291117c285196faa2d5c25fb3bb88550821e82 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Van Date: Wed, 25 Dec 2024 15:57:44 +0700 Subject: [PATCH] update address orai solana --- packages/oraidex-common/package.json | 2 +- packages/oraidex-common/src/constant.ts | 2 +- packages/oraidex-common/src/network.ts | 40 ++++++++++++------------- 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/packages/oraidex-common/package.json b/packages/oraidex-common/package.json index 19d2abcd..1e90ce1b 100644 --- a/packages/oraidex-common/package.json +++ b/packages/oraidex-common/package.json @@ -1,6 +1,6 @@ { "name": "@oraichain/oraidex-common", - "version": "1.1.43", + "version": "1.1.44", "main": "build/index.js", "files": [ "build/" diff --git a/packages/oraidex-common/src/constant.ts b/packages/oraidex-common/src/constant.ts index 0e30f3a8..c2eebebf 100644 --- a/packages/oraidex-common/src/constant.ts +++ b/packages/oraidex-common/src/constant.ts @@ -123,7 +123,7 @@ export const RACKS_ORAICHAIN_DENOM = // config solana export const MAX_SOL_CONTRACT_ADDRESS = "oraim8c9d1nkfuQk9EzGYEUGxqL3MHQYndRw1huVo5h"; export const RACKS_SOL_CONTRACT_ADDRESS = "oraigyiRnYoCgFiaLnpiaPvJjZbs5zzmWHp4sxBgZq3"; -export const ORAI_SOL_CONTRACT_ADDRESS = "2hZWncnmsSMdbkdwzSHJfrnDVkL66g63gncdRWqjTbBB"; +export const ORAI_SOL_CONTRACT_ADDRESS = "oraiyuR7hz6h7ApC56mb52CJjPZBB34USTjzaELoaPk"; 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 96667380..0768c70b 100644 --- a/packages/oraidex-common/src/network.ts +++ b/packages/oraidex-common/src/network.ts @@ -149,7 +149,7 @@ export type CoinGeckoId = | "dogecoin" | "solana" | "max-2" - | "black-rack" + // | "black-rack" | string; export type NetworkType = "cosmos" | "evm" | "ton" | "svm"; @@ -668,16 +668,16 @@ export const oraichainNetwork: CustomChainInfo = { coinDecimals: 6, coinImageUrl: "https://pump.mypinata.cloud/ipfs/QmcGwYebsQfYbNSM9QDAMS2wKZ8fZNEiMbezJah1zgEWWS?img-width=256&img-dpr=2" - }, - { - coinDenom: "RACKS", - coinGeckoId: "black-rack", - coinMinimalDenom: RACKS_ORAICHAIN_DENOM, - bridgeTo: [solChainId], - coinDecimals: 6, - coinImageUrl: - "https://pump.mypinata.cloud/ipfs/QmcGwYebsQfYbNSM9QDAMS2wKZ8fZNEiMbezJah1zgEWWS?img-width=256&img-dpr=2" } + // { + // coinDenom: "RACKS", + // coinGeckoId: "black-rack", + // coinMinimalDenom: RACKS_ORAICHAIN_DENOM, + // bridgeTo: [solChainId], + // coinDecimals: 6, + // coinImageUrl: + // "https://pump.mypinata.cloud/ipfs/QmcGwYebsQfYbNSM9QDAMS2wKZ8fZNEiMbezJah1zgEWWS?img-width=256&img-dpr=2" + // } ] }; @@ -710,19 +710,19 @@ export const solanaMainnet: CustomChainInfo = { coinImageUrl: "https://pump.mypinata.cloud/ipfs/QmcGwYebsQfYbNSM9QDAMS2wKZ8fZNEiMbezJah1zgEWWS?img-width=256&img-dpr=2" }, - { - coinDenom: "RACKS", - coinMinimalDenom: "racks", - coinDecimals: 6, - bridgeTo: ["Oraichain"], - contractAddress: RACKS_SOL_CONTRACT_ADDRESS, - coinGeckoId: "black-rack", - coinImageUrl: "https://ipfs.io/ipfs/QmVRPsBSHpamDzcDzVL9wsbB9gr4frtNrrFF7g44Xa9FuS" - }, + // { + // coinDenom: "RACKS", + // coinMinimalDenom: "racks", + // coinDecimals: 6, + // bridgeTo: ["Oraichain"], + // contractAddress: RACKS_SOL_CONTRACT_ADDRESS, + // coinGeckoId: "black-rack", + // coinImageUrl: "https://ipfs.io/ipfs/QmVRPsBSHpamDzcDzVL9wsbB9gr4frtNrrFF7g44Xa9FuS" + // }, { coinDenom: "ORAI", coinMinimalDenom: "s20_orai", - coinDecimals: 8, + coinDecimals: 6, bridgeTo: ["Oraichain"], contractAddress: ORAI_SOL_CONTRACT_ADDRESS, coinGeckoId: "oraichain-token",