diff --git a/package-lock.json b/package-lock.json index 227afc1af..a111a92dd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@xlabs/portal-bridge-ui", - "version": "0.1.61", + "version": "0.1.62", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@xlabs/portal-bridge-ui", - "version": "0.1.61", + "version": "0.1.62", "dependencies": { "@certusone/wormhole-sdk": "^0.9.22", "@injectivelabs/sdk-ts": "^1.10.72", diff --git a/src/utils/consts.ts b/src/utils/consts.ts index ffa149ee6..fdf0d2705 100644 --- a/src/utils/consts.ts +++ b/src/utils/consts.ts @@ -68,8 +68,6 @@ import { AptosNetwork } from "./aptos"; import { getNetworkInfo, Network } from "@injectivelabs/networks"; import { ChainId as InjectiveChainId } from "@injectivelabs/ts-types"; import { - testnetConnection, - localnetConnection, Connection, } from "@mysten/sui.js"; @@ -802,10 +800,10 @@ export const getInjectiveNetworkChainId = () => { export const SUI_CONNECTION = CLUSTER === "mainnet" - ? new Connection({ fullnode: "https://rpc.mainnet.sui.io" }) + ? new Connection({ fullnode: "https://fullnode.mainnet.sui.io:443" }) : CLUSTER === "testnet" - ? testnetConnection - : localnetConnection; + ? new Connection({ fullnode: "https://fullnode.devnet.sui.io:443" }) + : new Connection({ fullnode: "http://127.0.0.1:9000" }); export const SUI_NATIVE_DECIMALS = 9; export const SUI_NATIVE_TOKEN_KEY = "0x2::sui::SUI";