Skip to content

Commit 447dc39

Browse files
committed
fix missed items
1 parent 59392bc commit 447dc39

File tree

3 files changed

+8
-47
lines changed

3 files changed

+8
-47
lines changed

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,6 @@ Pyth is currently available on the following sui-based chains:
1313
| Wormhole State ID | [`0xaeab97f96cf9877fee2883315d459552b2b921edc16d7ceac6eab944dd88919c`](https://explorer.sui.io/object/0xaeab97f96cf9877fee2883315d459552b2b921edc16d7ceac6eab944dd88919c) |
1414
| Wormhole Package ID | [`0x5306f64e312b581766351c07af79c72fcb1cd25147157fdc2f8ad76de9a3fb6a`](https://explorer.sui.io/object/0x5306f64e312b581766351c07af79c72fcb1cd25147157fdc2f8ad76de9a3fb6a) |
1515

16-
#### IOTA testnet
17-
18-
| Name | Address |
19-
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
20-
| Pyth State ID | [`0x68dda579251917b3db28e35c4df495c6e664ccc085ede867a9b773c8ebedc2c1`](https://explorer.rebased.iota.org/object/0x68dda579251917b3db28e35c4df495c6e664ccc085ede867a9b773c8ebedc2c1?network=testnet) |
21-
| Pyth Package ID | [`0x23994dd119480ea614f7623520337058dca913cb1bb6e5d8d51c7b067d3ca3bb`](https://explorer.rebased.iota.org/object/0x23994dd119480ea614f7623520337058dca913cb1bb6e5d8d51c7b067d3ca3bb?network=testnet) |
22-
| Wormhole State ID | [`0x8bc490f69520a97ca1b3de864c96aa2265a0cf5d90f5f3f016b2eddf0cf2af2b`](https://explorer.rebased.iota.org/object/0x8bc490f69520a97ca1b3de864c96aa2265a0cf5d90f5f3f016b2eddf0cf2af2b?network=testnet) |
23-
| Wormhole Package ID | [`0xfca58c557f09cddb7930588c4e2a4edbe3cdded1ac1ed2270aa2dfa8d2b9ae0d`](https://explorer.rebased.iota.org/object/0xfca58c557f09cddb7930588c4e2a4edbe3cdded1ac1ed2270aa2dfa8d2b9ae0d?network=testnet) |
24-
2516
### Beta channel
2617

2718
#### Sui Testnet

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ const priceUpdateData = await connection.getPriceFeedsUpdateData(priceIDs);
111111
const wallet: SignerWithProvider = getWallet();
112112
// Get the state IDs of the Pyth and Wormhole contracts from
113113
// https://docs.pyth.network/price-feeds/contract-addresses/iota
114-
const wormholeStateId = "0x5306f64e312b581766351c07af79c72fcb1cd25147157fdc2f8ad76de9a3fb6a";
115-
const pythStateId = "0x1f9310238ee9298fb703c3419030b35b22bb1cc37113e3bb5007c99aec79e5b8";
114+
const wormholeStateId = "0x8bc490f69520a97ca1b3de864c96aa2265a0cf5d90f5f3f016b2eddf0cf2af2b";
115+
const pythStateId = "0x68dda579251917b3db28e35c4df495c6e664ccc085ede867a9b773c8ebedc2c1";
116116

117117
const client = new IotaPythClient(wallet.provider, pythStateId, wormholeStateId);
118118
const tx = new Transaction();
@@ -168,11 +168,11 @@ You can run this example with `npm run example-relay`. A full command that updat
168168

169169
```bash
170170
export IOTA_KEY=YOUR_PRIV_KEY;
171-
npm run example-relay -- --feed-id "5a035d5440f5c163069af66062bac6c79377bf88396fa27e6067bfca8096d280" \
172-
--hermes "https://hermes-beta.pyth.network" \
171+
npm run example-relay -- --feed-id "ff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace" \
172+
--hermes "https://hermes.pyth.network" \
173173
--full-node "https://api.testnet.iota.cafe" \
174-
--pyth-state-id "0xd3e79c2c083b934e78b3bd58a490ec6b092561954da6e7322e1e2b3c8abfddc0" \
175-
--wormhole-state-id "0x31358d198147da50db32eda2562951d53973a0c0ad5ed738e9b17d88b213d790"
174+
--pyth-state-id "0x68dda579251917b3db28e35c4df495c6e664ccc085ede867a9b773c8ebedc2c1" \
175+
--wormhole-state-id "0x8bc490f69520a97ca1b3de864c96aa2265a0cf5d90f5f3f016b2eddf0cf2af2b"
176176
```
177177

178178
### Contract Addresses

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

Lines changed: 2 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This guide explains how to use real-time Pyth data in Sui applications.
88

99
Use the following dependency in your `Move.toml` file to use the latest Pyth Sui package and its dependencies:
1010

11-
<Tabs items={['Sui Mainnet', 'Sui Testnet', 'IOTA Testnet']}>
11+
<Tabs items={['Sui Mainnet', 'Sui Testnet']}>
1212
<Tabs.Tab>
1313
```sh copy
1414
[dependencies.Pyth]
@@ -49,32 +49,12 @@ subdir = "crates/sui-framework/packages/sui-framework"
4949
rev = "041c5f2bae2fe52079e44b70514333532d69f4e6"
5050
````
5151
52-
</Tabs.Tab>
53-
<Tabs.Tab>
54-
55-
```sh copy
56-
[dependencies.Pyth]
57-
git = "https://github.com/pyth-network/pyth-crosschain.git"
58-
subdir = "target_chains/sui/contracts"
59-
rev = "sui-contract-iota-testnet"
60-
61-
[dependencies.Wormhole]
62-
git = "https://github.com/pyth-network/pyth-crosschain.git"
63-
subdir = "target_chains/sui/contracts/vendor/wormhole_iota_testnet/wormhole"
64-
rev = "sui-contract-iota-testnet"
65-
66-
[dependencies.Iota]
67-
git = "https://github.com/iotaledger/iota.git"
68-
subdir = "crates/iota-framework/packages/iota-framework"
69-
rev = "751c23caf24efd071463b9ffd07eabcb15f44f31"
70-
```
71-
7252
</Tabs.Tab>
7353
</Tabs>
7454
7555
Pyth also provides a javascript SDK to construct transaction blocks that update price feeds:
7656
77-
<Tabs items={["Sui", "IOTA"]}>
57+
<Tabs items={["Sui"]}>
7858
<Tabs.Tab>
7959
```sh
8060
# NPM
@@ -85,16 +65,6 @@ Pyth also provides a javascript SDK to construct transaction blocks that update
8565
```
8666

8767
</Tabs.Tab>
88-
<Tabs.Tab>
89-
```sh
90-
# NPM
91-
npm install --save @pythnetwork/pyth-iota-js
92-
93-
# Yarn
94-
yarn add @pythnetwork/pyth-iota-js
95-
```
96-
97-
</Tabs.Tab>
9868
</Tabs>
9969

10070
## Write Contract Code

0 commit comments

Comments
 (0)