[eth] Deploy to meter (#731)

* [eth] Deploy to meter testnet

* Add mainnet
This commit is contained in:
Ali Behjati 2023-03-31 18:51:18 +02:00 committed by GitHub
parent 55bc1b95bb
commit 111b0fa09f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 55 additions and 2 deletions

View File

@ -11,6 +11,7 @@ export const RECEIVER_CHAINS = {
neon: 60007,
polygon_zkevm: 60008,
canto: 60009,
meter: 60010,
};
// If there is any overlapping value the receiver chain will replace the wormhole

2
package-lock.json generated
View File

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

View File

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

View File

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

View File

@ -0,0 +1,16 @@
[
{
"contractName": "Migrations",
"address": "0x838D664DcEbc6f1a0D50E99d8A8f28Fa2DDFFdd9"
},
{
"contractName": "WormholeReceiver",
"address": "0xd890EF14cbA5899B0ffa97D5c83dc10c3d24baCb",
"transactionHash": "0x3913d5b1c8802a79e5ac4116678c9b83a7d139baf005b29f0151f085bce2cf5e"
},
{
"contractName": "PythUpgradable",
"address": "0xbFe3f445653f2136b2FD1e6DdDb5676392E3AF16",
"transactionHash": "0x58571799a1e93a330c804eb3bfda17e4b4aad6eac43f1338075eceef83aea29f"
}
]

View File

@ -0,0 +1,16 @@
[
{
"contractName": "Migrations",
"address": "0x411DDe0Ffe69FBD22bd5132dCA5070A63daCC35C"
},
{
"contractName": "WormholeReceiver",
"address": "0xe2a119872F5119398ea70669ae3BF0b0cca5ADeB",
"transactionHash": "0x7128125aec6faff8b5ee8541b13bd2d1072e38271f579d2292ad29a642199fa5"
},
{
"contractName": "PythUpgradable",
"address": "0x5fF5B9039FbD8256864A4460B7EA77093A65B1b5",
"transactionHash": "0x561cb8b1936bb3979d603a9e871cb61c2d485b0e51ef011982a1970e30ea5f5e"
}
]

View File

@ -239,6 +239,14 @@ module.exports = {
provider: payerProvider(`https://devnet.neonevm.org`),
network_id: 245022926,
},
meter_testnet: {
provider: payerProvider("https://rpctest.meter.io"),
network_id: 83,
},
meter: {
provider: payerProvider("https://rpc-meter.jellypool.xyz"),
network_id: 82,
},
},
compilers: {

View File

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

View File

@ -43,4 +43,6 @@ export const CONTRACT_ADDR: Record<string, string> = {
polygon_zkevm_testnet: "0xd54bf1758b1C932F86B178F8b1D5d1A7e2F62C2E",
polygon_zkevm: "0xC5E56d6b40F3e3B5fbfa266bCd35C37426537c65",
canto_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
meter_testnet: "0x5fF5B9039FbD8256864A4460B7EA77093A65B1b5",
meter: "0xbFe3f445653f2136b2FD1e6DdDb5676392E3AF16",
};