Skip to content

Commit 71da520

Browse files
authored
[eth] Deploy to Conflux eSpace (#748)
1 parent 96c9e83 commit 71da520

File tree

9 files changed

+55
-2
lines changed

9 files changed

+55
-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
@@ -13,6 +13,7 @@ export const RECEIVER_CHAINS = {
1313
canto: 60009,
1414
meter: 60010,
1515
mantle: 60011,
16+
conflux_espace: 60012,
1617
};
1718

1819
// 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=conflux_espace
3+
WORMHOLE_CHAIN_NAME=conflux_espace
4+
CLUSTER=mainnet
5+
VALID_TIME_PERIOD_SECONDS=60
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=conflux_espace_testnet
3+
WORMHOLE_CHAIN_NAME=conflux_espace
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": "0x6E3A2a644eeDCf6007d3c7d85F0094Cc1B25B2AE"
5+
},
6+
{
7+
"contractName": "WormholeReceiver",
8+
"address": "0x35a58BeeE77a2Ad547FcDed7e8CB1c6e19746b13",
9+
"transactionHash": "0x5129ad7e84e32284aa69a907a545c23f29ea7dcdd396b0c5fd72df676085a2e8"
10+
},
11+
{
12+
"contractName": "PythUpgradable",
13+
"address": "0xe9d69CdD6Fe41e7B621B4A688C5D1a68cB5c8ADc",
14+
"transactionHash": "0x29d679b9794471ea56c856a361b185d443ad23ff04274aca467a41aaa3c37ad8"
15+
}
16+
]
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": "0x78366f5b1627692f296289d28375893971e7a6e3919b172f0c0d94802b80cf0a"
10+
},
11+
{
12+
"contractName": "PythUpgradable",
13+
"address": "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
14+
"transactionHash": "0x14ecc13cff83dd7c6109443549cc0543b555fbc1ff2625c5b10854edae0cee7f"
15+
}
16+
]

target_chains/ethereum/contracts/truffle-config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,14 @@ module.exports = {
251251
provider: payerProvider("https://rpc.testnet.mantle.xyz/"),
252252
network_id: 5001,
253253
},
254+
conflux_espace: {
255+
provider: payerProvider("https://evm.confluxrpc.org"),
256+
network_id: 1030,
257+
},
258+
conflux_espace_testnet: {
259+
provider: payerProvider("https://evmtestnet.confluxrpc.com"),
260+
network_id: 71,
261+
},
254262
},
255263

256264
compilers: {

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.14.0",
3+
"version": "1.15.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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,6 @@ export const CONTRACT_ADDR: Record<string, string> = {
4646
meter_testnet: "0x5fF5B9039FbD8256864A4460B7EA77093A65B1b5",
4747
meter: "0xbFe3f445653f2136b2FD1e6DdDb5676392E3AF16",
4848
mantle_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
49+
conflux_espace: "0xe9d69CdD6Fe41e7B621B4A688C5D1a68cB5c8ADc",
50+
conflux_espace_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
4951
};

0 commit comments

Comments
 (0)