Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update address orai solana #385

Merged
merged 1 commit into from
Dec 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading