Skip to content

Commit 38a8c28

Browse files
[evm] Deploy on Canto Testnet (#725)
* [evm] Deploy on Canto Testnet * Redeploy * Address feedbacks --------- Co-authored-by: Ali Behjati <[email protected]>
1 parent 49d150a commit 38a8c28

File tree

7 files changed

+33
-2
lines changed

7 files changed

+33
-2
lines changed

governance/xc_governance_sdk_js/src/chains.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export const RECEIVER_CHAINS = {
1010
evmos: 60006,
1111
neon: 60007,
1212
polygon_zkevm: 60008,
13+
canto: 60009,
1314
};
1415

1516
// If there is any overlapping value the receiver chain will replace the wormhole

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
MIGRATIONS_DIR=./migrations/prod-receiver
2+
MIGRATIONS_NETWORK=canto_testnet
3+
WORMHOLE_CHAIN_NAME=canto
4+
CLUSTER=testnet
5+
VALID_TIME_PERIOD_SECONDS=60
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[
2+
{
3+
"contractName": "Migrations",
4+
"address": "0xf5BBe9558F4Bf37F1eB82fb2CEdb1C775FA56832"
5+
},
6+
{
7+
"contractName": "WormholeReceiver",
8+
"address": "0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a",
9+
"transactionHash": "0x88f723ceda562f62f8694a6636967189f41fd32819dbe9aeebd47fb37182e4cf"
10+
},
11+
{
12+
"contractName": "PythUpgradable",
13+
"address": "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
14+
"transactionHash": "0x96a9388ee29c40f04e306aaaf924e25e228545d443d2ef7b584c043c8f7f9666"
15+
}
16+
]

target_chains/ethereum/contracts/truffle-config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,14 @@ module.exports = {
152152
gas: 8000000,
153153
gasPrice: 300000000000,
154154
},
155+
canto_testnet: {
156+
provider: payerProvider(`https://canto-testnet.plexnode.wtf`),
157+
deploymentPollingInterval: 20000,
158+
network_id: 7701,
159+
networkCheckTimeout: 1000000,
160+
timeoutBlocks: 200,
161+
disableConfirmationListener: true,
162+
},
155163
celo: {
156164
provider: payerProvider(`https://forno.celo.org`),
157165
network_id: 42220,

target_chains/ethereum/sdk/js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pythnetwork/pyth-evm-js",
3-
"version": "1.10.0",
3+
"version": "1.11.0",
44
"description": "Pyth Network EVM Utils in JS",
55
"homepage": "https://pyth.network",
66
"author": {

target_chains/ethereum/sdk/js/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,5 @@ export const CONTRACT_ADDR: Record<string, string> = {
4242
neon_devnet: "0x2FF312f50689ad279ABb164dB255Eb568733BD6c",
4343
polygon_zkevm_testnet: "0xd54bf1758b1C932F86B178F8b1D5d1A7e2F62C2E",
4444
polygon_zkevm: "0xC5E56d6b40F3e3B5fbfa266bCd35C37426537c65",
45+
canto_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
4546
};

0 commit comments

Comments
 (0)