|
|
@@ -1,4 +1,10 @@
|
|
|
# Pyth on Sui
|
|
|
+### Contents
|
|
|
+1. Background
|
|
|
+2. How to Update and Consume Price Feeds
|
|
|
+3. Examples
|
|
|
+4. Contracts Registry (addresses)
|
|
|
+5. Common Questions how How to Integrate with Pyth on Sui
|
|
|
|
|
|
# 1. Background
|
|
|
|
|
|
@@ -100,7 +106,7 @@ $ make build
|
|
|
- WORMHOLE_PACKAGE_ID: [0x5306f64e312b581766351c07af79c72fcb1cd25147157fdc2f8ad76de9a3fb6a](https://explorer.sui.io/object/0x5306f64e312b581766351c07af79c72fcb1cd25147157fdc2f8ad76de9a3fb6a)
|
|
|
- WORMHOLE_STATE_ID: [0xaeab97f96cf9877fee2883315d459552b2b921edc16d7ceac6eab944dd88919c](https://explorer.sui.io/object/0xaeab97f96cf9877fee2883315d459552b2b921edc16d7ceac6eab944dd88919c)
|
|
|
|
|
|
-# 5. Common Questions on How to Integrate with Pyth
|
|
|
+# 5. Common Questions on How to Integrate with Pyth on Sui
|
|
|
1. What is up with the "sui rev"? (`09b2081498366df936abae26eea4b2d5cafb2788`). Why does it point to a specific commit hash instead of Sui github "main" or "devnet"?
|
|
|
|
|
|
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 this `rev`.
|