[eth] Deploy to Conflux eSpace (#748)

This commit is contained in:
Ali Behjati 2023-04-07 16:23:20 +02:00 committed by GitHub
parent 96c9e83e0f
commit 71da520647
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 55 additions and 2 deletions

View File

@ -13,6 +13,7 @@ export const RECEIVER_CHAINS = {
canto: 60009,
meter: 60010,
mantle: 60011,
conflux_espace: 60012,
};
// If there is any overlapping value the receiver chain will replace the wormhole

2
package-lock.json generated
View File

@ -50004,7 +50004,7 @@
},
"target_chains/ethereum/sdk/js": {
"name": "@pythnetwork/pyth-evm-js",
"version": "1.14.0",
"version": "1.15.0",
"license": "Apache-2.0",
"dependencies": {
"@pythnetwork/price-service-client": "*",

View File

@ -0,0 +1,5 @@
MIGRATIONS_DIR=./migrations/prod-receiver
MIGRATIONS_NETWORK=conflux_espace
WORMHOLE_CHAIN_NAME=conflux_espace
CLUSTER=mainnet
VALID_TIME_PERIOD_SECONDS=60

View File

@ -0,0 +1,5 @@
MIGRATIONS_DIR=./migrations/prod-receiver
MIGRATIONS_NETWORK=conflux_espace_testnet
WORMHOLE_CHAIN_NAME=conflux_espace
CLUSTER=testnet
VALID_TIME_PERIOD_SECONDS=60

View File

@ -0,0 +1,16 @@
[
{
"contractName": "Migrations",
"address": "0x6E3A2a644eeDCf6007d3c7d85F0094Cc1B25B2AE"
},
{
"contractName": "WormholeReceiver",
"address": "0x35a58BeeE77a2Ad547FcDed7e8CB1c6e19746b13",
"transactionHash": "0x5129ad7e84e32284aa69a907a545c23f29ea7dcdd396b0c5fd72df676085a2e8"
},
{
"contractName": "PythUpgradable",
"address": "0xe9d69CdD6Fe41e7B621B4A688C5D1a68cB5c8ADc",
"transactionHash": "0x29d679b9794471ea56c856a361b185d443ad23ff04274aca467a41aaa3c37ad8"
}
]

View File

@ -0,0 +1,16 @@
[
{
"contractName": "Migrations",
"address": "0xf5BBe9558F4Bf37F1eB82fb2CEdb1C775FA56832"
},
{
"contractName": "WormholeReceiver",
"address": "0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a",
"transactionHash": "0x78366f5b1627692f296289d28375893971e7a6e3919b172f0c0d94802b80cf0a"
},
{
"contractName": "PythUpgradable",
"address": "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
"transactionHash": "0x14ecc13cff83dd7c6109443549cc0543b555fbc1ff2625c5b10854edae0cee7f"
}
]

View File

@ -251,6 +251,14 @@ module.exports = {
provider: payerProvider("https://rpc.testnet.mantle.xyz/"),
network_id: 5001,
},
conflux_espace: {
provider: payerProvider("https://evm.confluxrpc.org"),
network_id: 1030,
},
conflux_espace_testnet: {
provider: payerProvider("https://evmtestnet.confluxrpc.com"),
network_id: 71,
},
},
compilers: {

View File

@ -1,6 +1,6 @@
{
"name": "@pythnetwork/pyth-evm-js",
"version": "1.14.0",
"version": "1.15.0",
"description": "Pyth Network EVM Utils in JS",
"homepage": "https://pyth.network",
"author": {

View File

@ -46,4 +46,6 @@ export const CONTRACT_ADDR: Record<string, string> = {
meter_testnet: "0x5fF5B9039FbD8256864A4460B7EA77093A65B1b5",
meter: "0xbFe3f445653f2136b2FD1e6DdDb5676392E3AF16",
mantle_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
conflux_espace: "0xe9d69CdD6Fe41e7B621B4A688C5D1a68cB5c8ADc",
conflux_espace_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
};