Skip to content

Commit 0fe606b

Browse files
authored
bump dependencies (#64)
1 parent 858c37b commit 0fe606b

4 files changed

Lines changed: 554 additions & 929 deletions

File tree

package.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,19 @@
33
"typescript": "^5.5.4"
44
},
55
"dependencies": {
6-
"@wormhole-foundation/sdk": "3.4.1",
7-
"@wormhole-foundation/sdk-definitions-ntt": "2.0.0",
8-
"@wormhole-foundation/sdk-evm-ntt": "2.0.0",
9-
"@wormhole-foundation/sdk-route-ntt": "3.0.2",
10-
"@wormhole-foundation/sdk-solana-ntt": "2.0.0",
11-
"@wormhole-foundation/sdk-sui-ntt": "2.0.0",
6+
"@wormhole-foundation/sdk": "^3.9.0",
7+
"@wormhole-foundation/sdk-definitions-ntt": "^3.0.4",
8+
"@wormhole-foundation/sdk-evm-ntt": "^3.0.4",
9+
"@wormhole-foundation/sdk-route-ntt": "^3.0.4",
10+
"@wormhole-foundation/sdk-solana-ntt": "^3.0.4",
11+
"@wormhole-foundation/sdk-sui-ntt": "^3.0.4",
12+
"axios": "^1.9.0",
1213
"dotenv": "^16.4.5",
1314
"rpc-websockets": "7.11.0"
1415
},
1516
"overrides": {
16-
"@wormhole-foundation/sdk": "3.4.1",
17-
"@wormhole-foundation/sdk-base": "3.4.1",
18-
"@wormhole-foundation/sdk-definitions": "3.4.1"
17+
"@wormhole-foundation/sdk": "^3.9.0",
18+
"@wormhole-foundation/sdk-base": "^3.9.0",
19+
"@wormhole-foundation/sdk-definitions": "^3.9.0"
1920
}
2021
}

src/index-executor.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,20 @@ import { routes } from "@wormhole-foundation/sdk";
2424
const network = "Testnet";
2525
const wh = new Wormhole(network, [solana.Platform, evm.Platform, sui.Platform], {
2626
// optional way to use private RPCs, especially recommended for mainnet
27-
// "chains": {
28-
// "Sui": {
29-
// "rpc": "http://127.0.0.1:8546"
30-
// },
31-
// "Solana": {
32-
// "rpc": "http://127.0.0.1:8899"
33-
// }
34-
// }
27+
"chains": {
28+
"Sepolia": {
29+
"rpc": "https://ethereum-sepolia-rpc.publicnode.com"
30+
},
31+
"BaseSepolia": {
32+
"rpc": "https://base-sepolia-rpc.publicnode.com"
33+
}
34+
}
3535
});
36-
const src = wh.getChain("Solana");
37-
const dst = wh.getChain("Sui");
36+
const src = wh.getChain("BaseSepolia");
37+
const dst = wh.getChain("Sepolia");
3838
const srcSigner = await getSigner(src);
3939
// TODO: change destination address
40-
const dstAddress: ChainAddress = Wormhole.chainAddress("Sui","0xa43");
40+
const dstAddress: ChainAddress = Wormhole.chainAddress("Sepolia","0x87E2");
4141
console.log("Source signer address:", srcSigner.address.address);
4242

4343
const srcNtt = await src.getProtocol("Ntt", {

src/utils/const.ts

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,18 @@ export const DEVNET_ETH_PRIVATE_KEY =
1616
export const TESTNET_SUI_MNEMONIC = "";
1717

1818
export const TEST_NTT_TOKENS: NttContracts = {
19-
Solana: {
20-
token: "ANRdVy8fvhiJqXccFPpZijty5jQqkBp5Xjw4NXL1CsU1",
21-
manager: "nasiB9hbB1s5ZWXAR54fjr3Y4HVTTzJMXNPAuedggQA",
19+
Sepolia: {
20+
token: "0xc3305f621676420Ac79e7bc343c2Aff2aC0EafDD",
21+
manager: "0xA62D1aeD775a3a3373940bd5153e21762c6502f5",
2222
transceiver: {
23-
wormhole: "Ba8FkdiKmNuGiwiZ6PVzkyR7uE2kMGV1aAYUh3XReLuA",
23+
wormhole: "0xCA7fd7bA52209017bB3c1be71Ee2e5f9d8F178DE",
2424
},
25-
quoter: "Nqd6XqA8LbsCuG8MLWWuP865NV6jR1MbXeKxD4HLKDJ"
26-
},
27-
Sui: {
28-
token: "0x84a63e6b60767903c32b403fa6817fee6983470429e63bcf6da78a69ff00e4be::my_coin::MY_COIN",
29-
manager: "0x8eb275808fe2f03ba24c9033de6322653262d3a360ee48541be6d6a072414306",
30-
transceiver: { wormhole: "0x0540541acbd520955b0150b97c77e6c8b4ab3847fe8768b75551adcc3c5098ec" },
3125
},
26+
BaseSepolia: {
27+
token: "0xa29c948Ec9e10908FBE21d2d581f8DEec07800Bc",
28+
manager: "0xeB8f6637737451a54E73C67eb0B3150276C7Acb9",
29+
transceiver: {
30+
wormhole: "0xd27c26cAd2026E00B324C1645F2315e71F6E0bF8",
31+
},
32+
}
3233
};

0 commit comments

Comments
 (0)