Skip to content

Commit 93007f4

Browse files
committed
2 parents f392157 + 52e7871 commit 93007f4

File tree

2 files changed

+32
-12
lines changed

2 files changed

+32
-12
lines changed

pages/price-feeds/contract-addresses/evm.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Pyth is currently available on the EVM networks below using Pyth Stable price so
3636
| Linea | [`0xA2aa501b19aff244D90cc15a4Cf739D2725B5729`](https://explorer.linea.build/address/0xA2aa501b19aff244D90cc15a4Cf739D2725B5729) |
3737
| Manta | [`0xA2aa501b19aff244D90cc15a4Cf739D2725B5729`](https://pacific-explorer.manta.network/address/0xA2aa501b19aff244D90cc15a4Cf739D2725B5729) |
3838
| Mantle | [`0xA2aa501b19aff244D90cc15a4Cf739D2725B5729`](https://mantlescan.info/address/0xA2aa501b19aff244D90cc15a4Cf739D2725B5729) |
39+
| Merlin | [`0xA2aa501b19aff244D90cc15a4Cf739D2725B5729`](https://scan.merlinchain.io/address/0xA2aa501b19aff244D90cc15a4Cf739D2725B5729) |
3940
| Meter | [`0xbFe3f445653f2136b2FD1e6DdDb5676392E3AF16`](https://scan.meter.io/address/0xbfe3f445653f2136b2fd1e6dddb5676392e3af16) |
4041
| Mode | [`0xA2aa501b19aff244D90cc15a4Cf739D2725B5729`](https://explorer.mode.network/address/0xA2aa501b19aff244D90cc15a4Cf739D2725B5729) |
4142
| Neon | [`0x7f2dB085eFC3560AFF33865dD727225d91B4f9A5`](https://neonscan.org/address/0x7f2dB085eFC3560AFF33865dD727225d91B4f9A5) |
@@ -85,7 +86,8 @@ Pyth is currently available on the EVM networks below using Pyth Stable price so
8586
| LightLink Pegasus | [`0x5D289Ad1CE59fCC25b6892e7A303dfFf3a9f7167`](https://pegasus.lightlink.io/address/0x5D289Ad1CE59fCC25b6892e7A303dfFf3a9f7167) |
8687
| Linea Goerli | [`0xdF21D137Aadc95588205586636710ca2890538d5`](https://goerli.lineascan.build/address/0xdF21D137Aadc95588205586636710ca2890538d5) |
8788
| Manta testnet | [`0x41c9e39574F40Ad34c79f1C99B66A45eFB830d4c`](https://pacific-explorer.testnet.manta.network/address/0x41c9e39574F40Ad34c79f1C99B66A45eFB830d4c) |
88-
| Mantle testnet | [`0xDd24F84d36BF92C65F92307595335bdFab5Bbd21`](https://testnet.mantlescan.org/address/0xDd24F84d36BF92C65F92307595335bdFab5Bbd21) |
89+
| Mantle sepolia | [`0x98046Bd286715D3B0BC227Dd7a956b83D8978603`](https://explorer.sepolia.mantle.xyz/address/0x98046Bd286715D3B0BC227Dd7a956b83D8978603) |
90+
| Merlin testnet | [`0xA2aa501b19aff244D90cc15a4Cf739D2725B5729`](https://testnet-scan.merlinchain.io/address/0xA2aa501b19aff244D90cc15a4Cf739D2725B5729) |
8991
| Meter testnet | [`0x5a71C07a0588074443545eE0c08fb0375564c3E4`](https://scan-warringstakes.meter.io/address/0x5a71C07a0588074443545eE0c08fb0375564c3E4) |
9092
| Mode testnet | [`0xA2aa501b19aff244D90cc15a4Cf739D2725B5729`](https://sepolia.explorer.mode.network/address/0xA2aa501b19aff244D90cc15a4Cf739D2725B5729) |
9193
| Movement testnet | `0xA2aa501b19aff244D90cc15a4Cf739D2725B5729` |
@@ -95,6 +97,7 @@ Pyth is currently available on the EVM networks below using Pyth Stable price so
9597
| Optimism Sepolia (testnet) | [`0x0708325268dF9F66270F1401206434524814508b`](https://optimism-sepolia.blockscout.com/address/0x0708325268dF9F66270F1401206434524814508b) |
9698
| Polygon zkEVM testnet | [`0xFf255f800044225f54Af4510332Aa3D67CC77635`](https://testnet-zkevm.polygonscan.com/address/0xFf255f800044225f54Af4510332Aa3D67CC77635) |
9799
| Saigon (Ronin testnet) | [`0xEbe57e8045F2F230872523bbff7374986E45C486`](https://saigon-app.roninchain.com/address/0xEbe57e8045F2F230872523bbff7374986E45C486) |
100+
| Sei EVM devnet | [`0x23f0e8FAeE7bbb405E7A7C3d60138FCfd43d7509`](https://seitrace.com/address/0x23f0e8FAeE7bbb405E7A7C3d60138FCfd43d7509) |
98101
| Scroll Sepolia | [`0x41c9e39574F40Ad34c79f1C99B66A45eFB830d4c`](https://sepolia-blockscout.scroll.io/address/0x41c9e39574F40Ad34c79f1C99B66A45eFB830d4c) |
99102
| Sepolia (Ethereum testnet) | [`0xDd24F84d36BF92C65F92307595335bdFab5Bbd21`](https://sepolia.etherscan.io/address/0xDd24F84d36BF92C65F92307595335bdFab5Bbd21) |
100103
| Shimmer testnet | [`0x8D254a21b3C86D32F7179855531CE99164721933`](https://explorer.evm.testnet.shimmer.network/address/0x8D254a21b3C86D32F7179855531CE99164721933) |

pages/price-feeds/use-real-time-data/sui.mdx

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,25 @@ Now in your contract you can consume the price by calling `pyth::get_price` or o
110110

111111
### Pyth Dependency
112112

113-
Use the following dependency in your `Move.toml` file to use the latest Pyth Sui package.
113+
Use the following dependency in your `Move.toml` file to use the latest Pyth Sui package and its dependencies.
114114

115115
Mainnet:
116116

117117
```sh copy
118118
[dependencies.Pyth]
119119
git = "https://github.com/pyth-network/pyth-crosschain.git"
120120
subdir = "target_chains/sui/contracts"
121-
rev = "sui-contract-v.0.0.2-mainnet"
121+
rev = "sui-contract-v0.0.2-mainnet-sui-1.19.1"
122+
123+
[dependencies.Wormhole]
124+
git = "https://github.com/wormhole-foundation/wormhole.git"
125+
subdir = "sui/wormhole"
126+
rev = "sui-upgrade-mainnet"
127+
128+
[dependencies.Sui]
129+
git = "https://github.com/MystenLabs/sui.git"
130+
subdir = "crates/sui-framework/packages/sui-framework"
131+
rev = "041c5f2bae2fe52079e44b70514333532d69f4e6"
122132
```
123133

124134
Testnet:
@@ -127,7 +137,17 @@ Testnet:
127137
[dependencies.Pyth]
128138
git = "https://github.com/pyth-network/pyth-crosschain.git"
129139
subdir = "target_chains/sui/contracts"
130-
rev = "sui-contract-v.0.0.2-testnet"
140+
rev = "sui-contract-v0.0.2-testnet-sui-1.19.1"
141+
142+
[dependencies.Wormhole]
143+
git = "https://github.com/wormhole-foundation/wormhole.git"
144+
subdir = "sui/wormhole"
145+
rev = "sui-upgrade-testnet"
146+
147+
[dependencies.Sui]
148+
git = "https://github.com/MystenLabs/sui.git"
149+
subdir = "crates/sui-framework/packages/sui-framework"
150+
rev = "041c5f2bae2fe52079e44b70514333532d69f4e6"
131151
```
132152

133153
### CLI Example
@@ -192,20 +212,17 @@ Please consult [Sui Contract Addresses](../contract-addresses/sui) to find the p
192212

193213
## Common Questions on How to Integrate with Pyth on Sui
194214

195-
### What is up with the "sui rev"? (`09b2081498366df936abae26eea4b2d5cafb2788`). Why does it point to a specific commit hash instead of "main" or "devnet"?
215+
### What is up with the "sui rev"? Why does it point to a specific commit hash instead of "main" or "devnet"?
196216

197-
Our Pyth `Move.toml` file contains the following dependencies. It depends on specific versions of the [Sui Framework](https://github.com/MystenLabs/sui) as well as [Wormhole](https://github.com/wormhole-foundation/wormhole). To make your Sui package compatible, you must also specify the following dependencies verbatim in your `Move.toml` file. We are locked in to this specific `rev` because our package depends on Wormhole, which [uses the `rev` `09b2081498366df936abae26eea4b2d5cafb2788`](https://github.com/wormhole-foundation/wormhole/blob/main/sui/wormhole/Move.mainnet.toml).
217+
Our Pyth `Move.toml` depends on specific versions of the [Sui Framework](https://github.com/MystenLabs/sui) as well as [Wormhole](https://github.com/wormhole-foundation/wormhole).
218+
To make your Sui package compatible, you must also specify the following dependencies verbatim in your `Move.toml` file. We are locked in to this specific `rev` because our package depends on Wormhole and it is pinned to this
219+
version.
198220

199221
```sh copy
200222
[dependencies.Sui]
201223
git = "https://github.com/MystenLabs/sui.git"
202224
subdir = "crates/sui-framework/packages/sui-framework"
203-
rev = "09b2081498366df936abae26eea4b2d5cafb2788"
204-
205-
[dependencies.Wormhole]
206-
git = "https://github.com/wormhole-foundation/wormhole.git"
207-
subdir = "sui/wormhole"
208-
rev = "d050ad1d67a5b7da9fb65030aad12ef5d774ccad"
225+
rev = "041c5f2bae2fe52079e44b70514333532d69f4e6"
209226
```
210227

211228
### How do I find the Sui Object ID of a PriceInfoObject for a Pyth Price Feed?

0 commit comments

Comments
 (0)