Skip to content

Commit

Permalink
update address orai solana
Browse files Browse the repository at this point in the history
  • Loading branch information
haunv3 committed Dec 25, 2024
1 parent 9410593 commit a229111
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 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.43",
"version": "1.1.44",
"main": "build/index.js",
"files": [
"build/"
Expand Down
2 changes: 1 addition & 1 deletion packages/oraidex-common/src/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
40 changes: 20 additions & 20 deletions packages/oraidex-common/src/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export type CoinGeckoId =
| "dogecoin"
| "solana"
| "max-2"
| "black-rack"
// | "black-rack"
| string;

export type NetworkType = "cosmos" | "evm" | "ton" | "svm";
Expand Down Expand Up @@ -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"
// }
]
};

Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit a229111

Please sign in to comment.