Skip to content

Commit e63490b

Browse files
authored
[eth] Add EOS network (#963)
1 parent dcec1e9 commit e63490b

File tree

9 files changed

+65
-2
lines changed

9 files changed

+65
-2
lines changed

governance/xc_admin/packages/xc_admin_common/src/chains.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export const RECEIVER_CHAINS = {
3838
wemix: 60023,
3939
linea: 60024,
4040
neutron_testnet_pion_1: 60025,
41+
eos: 60026,
4142
};
4243

4344
// 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=eos
3+
WORMHOLE_CHAIN_NAME=eos
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=eos_testnet
3+
WORMHOLE_CHAIN_NAME=eos
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": "0x52fa3139a655d1d92c01073dbf5a57bcfa8754c63db13a137c16d24a5661e522"
10+
},
11+
{
12+
"contractName": "PythUpgradable",
13+
"address": "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
14+
"transactionHash": "0x275abd4ca66afece361d33a84e26dc42703078d299ccb97be895b66fdfb757e9"
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": "0xccc60abb83d028d4a7fe5fa680d2940a7f6af9fef0b3e887b1575d2453eb3d0a"
10+
},
11+
{
12+
"contractName": "PythUpgradable",
13+
"address": "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
14+
"transactionHash": "0x8cc4fda0f7ab37175ebe4464c7ffe6b91747abe54c7627327df4c87011d02c0a"
15+
}
16+
]

target_chains/ethereum/contracts/truffle-config.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,24 @@ module.exports = {
292292
apiKey: "there_should_be_a_dummy_value_here_to_avoid_error",
293293
},
294294
},
295+
eos: {
296+
provider: payerProvider("https://api.evm.eosnetwork.com"),
297+
network_id: 17777,
298+
verify: {
299+
apiUrl: "https://explorer.evm.eosnetwork.com/api",
300+
explorerUrl: "https://explorer.evm.eosnetwork.com",
301+
apiKey: "there_should_be_a_dummy_value_here_to_avoid_error",
302+
},
303+
},
304+
eos_testnet: {
305+
provider: payerProvider("https://api.testnet.evm.eosnetwork.com"),
306+
network_id: 15557,
307+
verify: {
308+
apiUrl: "https://explorer.testnet.evm.eosnetwork.com/api",
309+
explorerUrl: "https://explorer.testnet.evm.eosnetwork.com",
310+
apiKey: "there_should_be_a_dummy_value_here_to_avoid_error",
311+
},
312+
},
295313
},
296314

297315
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.22.0",
3+
"version": "1.23.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
@@ -57,4 +57,6 @@ export const CONTRACT_ADDR: Record<string, string> = {
5757
wemix_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
5858
linea_goerli: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
5959
linea: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
60+
eos: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
61+
eos_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
6062
};

0 commit comments

Comments
 (0)