Skip to content

Commit a77ee78

Browse files
authored
[eth] Deploy to mantle (#948)
* Deploy mantle * Update pyth-evm-ks * Update docs
1 parent 8752291 commit a77ee78

File tree

7 files changed

+29
-3
lines changed

7 files changed

+29
-3
lines changed

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=mantle
3+
WORMHOLE_CHAIN_NAME=mantle
4+
CLUSTER=mainnet
5+
VALID_TIME_PERIOD_SECONDS=60

target_chains/ethereum/contracts/Deploying.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ This is the deployment process:
9595
which need to be committed (if they are result of a production deployment). Create a PR for them.
9696
9. If you are deploying to a new network, please add the new contract address to consumer facing libraries
9797
and documentations. Please update the following resources:
98-
- [Pyth Gitbook EVM Page](https://github.com/pyth-network/pyth-gitbook/blob/main/pythnet-price-feeds/evm.md#networks)
98+
- [Pyth Gitbook EVM Page](https://github.com/pyth-network/documentation/blob/main/pages/documentation/pythnet-price-feeds/evm.mdx)
9999
- [pyth-evm-js package](../sdk/js/)
100100
10. (Optional) You can test the deployed contract by sending and fetching a price update as described in the
101101
[Testing](#testing) section below.
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": "0x74fcf0406b6b0b2d93e81a7ebe83eba74a0560f31f675ec501184b47945f06b8"
10+
},
11+
{
12+
"contractName": "PythUpgradable",
13+
"address": "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
14+
"transactionHash": "0x241715a1651bee91cf82935e492de44946a47aacdbd0b9acad41ece0f3365da4"
15+
}
16+
]

target_chains/ethereum/contracts/truffle-config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,10 @@ module.exports = {
251251
provider: payerProvider("https://rpc-meter.jellypool.xyz"),
252252
network_id: 82,
253253
},
254+
mantle: {
255+
provider: payerProvider("https://rpc.mantle.xyz/"),
256+
network_id: 5000,
257+
},
254258
mantle_testnet: {
255259
provider: payerProvider("https://rpc.testnet.mantle.xyz/"),
256260
network_id: 5001,

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.21.0",
3+
"version": "1.22.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
@@ -47,6 +47,7 @@ export const CONTRACT_ADDR: Record<string, string> = {
4747
canto_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
4848
meter_testnet: "0x5fF5B9039FbD8256864A4460B7EA77093A65B1b5",
4949
meter: "0xbFe3f445653f2136b2FD1e6DdDb5676392E3AF16",
50+
mantle: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
5051
mantle_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
5152
conflux_espace: "0xe9d69CdD6Fe41e7B621B4A688C5D1a68cB5c8ADc",
5253
conflux_espace_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",

0 commit comments

Comments
 (0)