Skip to content

Commit 4d3d6eb

Browse files
authored
chore: add iota mainnet (#690)
1 parent 5315548 commit 4d3d6eb

File tree

2 files changed

+33
-8
lines changed

2 files changed

+33
-8
lines changed

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

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,18 @@
22

33
#### IOTA testnet
44

5-
| Name | Address |
6-
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
7-
| Pyth State ID | [`0x68dda579251917b3db28e35c4df495c6e664ccc085ede867a9b773c8ebedc2c1`](https://explorer.rebased.iota.org/object/0x68dda579251917b3db28e35c4df495c6e664ccc085ede867a9b773c8ebedc2c1?network=testnet) |
8-
| Pyth Package ID | [`0x23994dd119480ea614f7623520337058dca913cb1bb6e5d8d51c7b067d3ca3bb`](https://explorer.rebased.iota.org/object/0x23994dd119480ea614f7623520337058dca913cb1bb6e5d8d51c7b067d3ca3bb?network=testnet) |
9-
| Wormhole State ID | [`0x8bc490f69520a97ca1b3de864c96aa2265a0cf5d90f5f3f016b2eddf0cf2af2b`](https://explorer.rebased.iota.org/object/0x8bc490f69520a97ca1b3de864c96aa2265a0cf5d90f5f3f016b2eddf0cf2af2b?network=testnet) |
10-
| Wormhole Package ID | [`0xfca58c557f09cddb7930588c4e2a4edbe3cdded1ac1ed2270aa2dfa8d2b9ae0d`](https://explorer.rebased.iota.org/object/0xfca58c557f09cddb7930588c4e2a4edbe3cdded1ac1ed2270aa2dfa8d2b9ae0d?network=testnet) |
5+
| Name | Address |
6+
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
7+
| Pyth State ID | [`0x68dda579251917b3db28e35c4df495c6e664ccc085ede867a9b773c8ebedc2c1`](https://explorer.iota.org/object/0x68dda579251917b3db28e35c4df495c6e664ccc085ede867a9b773c8ebedc2c1?network=testnet) |
8+
| Pyth Package ID | [`0x23994dd119480ea614f7623520337058dca913cb1bb6e5d8d51c7b067d3ca3bb`](https://explorer.iota.org/object/0x23994dd119480ea614f7623520337058dca913cb1bb6e5d8d51c7b067d3ca3bb?network=testnet) |
9+
| Wormhole State ID | [`0x8bc490f69520a97ca1b3de864c96aa2265a0cf5d90f5f3f016b2eddf0cf2af2b`](https://explorer.iota.org/object/0x8bc490f69520a97ca1b3de864c96aa2265a0cf5d90f5f3f016b2eddf0cf2af2b?network=testnet) |
10+
| Wormhole Package ID | [`0xfca58c557f09cddb7930588c4e2a4edbe3cdded1ac1ed2270aa2dfa8d2b9ae0d`](https://explorer.iota.org/object/0xfca58c557f09cddb7930588c4e2a4edbe3cdded1ac1ed2270aa2dfa8d2b9ae0d?network=testnet) |
1111

1212
#### IOTA mainnet
1313

14-
Coming soon.
14+
| Name | Address |
15+
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
16+
| Pyth State ID | [`0x6bc33855c7675e006f55609f61eebb1c8a104d8973a698ee9efd3127c210b37f`](https://explorer.iota.org/object/0x6bc33855c7675e006f55609f61eebb1c8a104d8973a698ee9efd3127c210b37f) |
17+
| Pyth Package ID | [`0x7792c84e1f8683dac893126712f7cf3ba5fcc82450839f0a481215f60199769f`](https://explorer.iota.org/object/0x7792c84e1f8683dac893126712f7cf3ba5fcc82450839f0a481215f60199769f) |
18+
| Wormhole State ID | [`0xd43b448afc9dd01deb18273ec39d8f27ddd4dd46b0922383874331771b70df73`](https://explorer.iota.org/object/0xd43b448afc9dd01deb18273ec39d8f27ddd4dd46b0922383874331771b70df73) |
19+
| Wormhole Package ID | [`0x88b00a6f1d56966d48680ffad3b42d7a25b01c519b73732a0858e0314a960801`](https://explorer.iota.org/object/0x88b00a6f1d56966d48680ffad3b42d7a25b01c519b73732a0858e0314a960801) |

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

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This guide explains how to use real-time Pyth data in IOTA applications.
88

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

11-
<Tabs items={['IOTA Testnet']}>
11+
<Tabs items={['IOTA Testnet', 'IOTA Mainnet']}>
1212
<Tabs.Tab>
1313

1414
```sh copy
@@ -28,6 +28,26 @@ subdir = "crates/iota-framework/packages/iota-framework"
2828
rev = "751c23caf24efd071463b9ffd07eabcb15f44f31"
2929
```
3030

31+
</Tabs.Tab>
32+
<Tabs.Tab>
33+
34+
```sh copy
35+
[dependencies.Pyth]
36+
git = "https://github.com/pyth-network/pyth-crosschain.git"
37+
subdir = "target_chains/sui/contracts"
38+
rev = "iota-contract-mainnet"
39+
40+
[dependencies.Wormhole]
41+
git = "https://github.com/pyth-network/pyth-crosschain.git"
42+
subdir = "target_chains/sui/contracts/vendor/wormhole_iota_mainnet/wormhole"
43+
rev = "iota-contract-mainnet"
44+
45+
[dependencies.Iota]
46+
git = "https://github.com/iotaledger/iota.git"
47+
subdir = "crates/iota-framework/packages/iota-framework"
48+
rev = "751c23caf24efd071463b9ffd07eabcb15f44f31"
49+
```
50+
3151
</Tabs.Tab>
3252
</Tabs>
3353

0 commit comments

Comments
 (0)