Skip to content

chore(pricefeed)-add-move-page #501

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions pages/price-feeds/contract-addresses/_meta.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"evm": "EVM",
"solana": "Solana / SVM",
"starknet": "Starknet",
"fuel": "Fuel",
"aptos": "Aptos",
"sui": "Sui",
"move": "Move",
"ton": "TON",
"fuel": "Fuel",
"cosmwasm": "CosmWasm",
"near": "NEAR",
"pythnet": "Pythnet",
"ton": "TON"
"starknet": "Starknet",
"pythnet": "Pythnet"
}
10 changes: 0 additions & 10 deletions pages/price-feeds/contract-addresses/aptos.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,3 @@ When deploying contracts using Pyth, the [named addresses](https://diem.github.i
| `pyth` | <CopyAddress address={`0x7e783b349d3e89cf5931af376ebeadbfab855b3fa239b7ada8f5a92fbea6b387`} url="https://aptscan.ai/accounts/0x7e783b349d3e89cf5931af376ebeadbfab855b3fa239b7ada8f5a92fbea6b387" /> |
| `wormhole` | <CopyAddress address={`0x5bc11445584a763c1fa7ed39081f1b920954da14e04b32440cba863d03e19625`} url="https://aptscan.ai/accounts/0x5bc11445584a763c1fa7ed39081f1b920954da14e04b32440cba863d03e19625" /> |
| `deployer` | <CopyAddress address={`0xb31e712b26fd295357355f6845e77c888298636609e93bc9b05f0f604049f434`} url="https://aptscan.ai/accounts/0xb31e712b26fd295357355f6845e77c888298636609e93bc9b05f0f604049f434" /> |

Use the following addresses for Movement testnet (both suzuka and porto):

| Named Address | Value |
| ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `pyth` | <CopyAddress address={`0x9357e76fe965c9956a76181ee49f66d51b7f9c3800182a944ed96be86301e49f`} url="https://explorer.testnet.porto.movementnetwork.xyz/account/0x9357e76fe965c9956a76181ee49f66d51b7f9c3800182a944ed96be86301e49f?network=testnet" /> |
| `wormhole` | <CopyAddress address={`0x9236893d6444b208b7e0b3e8d4be4ace90b6d17817ab7d1584e46a33ef5c50c9`} url="https://explorer.testnet.porto.movementnetwork.xyz/account/0x9236893d6444b208b7e0b3e8d4be4ace90b6d17817ab7d1584e46a33ef5c50c9?network=testnet" /> |
| `deployer` | <CopyAddress address={`0xa3ad2d9c8114b9a4fe97d45b7a9d3c731148d936b0f5dd396fc20a53a11a70da`} url="https://explorer.testnet.porto.movementnetwork.xyz/account/0xa3ad2d9c8114b9a4fe97d45b7a9d3c731148d936b0f5dd396fc20a53a11a70da?network=testnet" /> |

`deployer` and `wormhole` are implementation details of the Pyth contract: you will not need to interact with these.
2 changes: 0 additions & 2 deletions pages/price-feeds/contract-addresses/evm.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,6 @@ Pyth is currently available on the EVM networks below using Pyth Stable price so
| Mode testnet | [`0xA2aa501b19aff244D90cc15a4Cf739D2725B5729`](https://sepolia.explorer.mode.network/address/0xA2aa501b19aff244D90cc15a4Cf739D2725B5729) |
| Morph Holesky testnet | [`0x2880aB155794e7179c9eE2e38200202908C17B43`](https://explorer-holesky.morphl2.io/address/0x2880aB155794e7179c9eE2e38200202908C17B43) |
| Morph testnet | [`0xA2aa501b19aff244D90cc15a4Cf739D2725B5729`](https://explorer-testnet.morphl2.io/address/0xA2aa501b19aff244D90cc15a4Cf739D2725B5729) |
| Movement testnet | `0xA2aa501b19aff244D90cc15a4Cf739D2725B5729` |
| Movement Devnet Imola | [`0x2880aB155794e7179c9eE2e38200202908C17B43`](https://explorer.devnet.imola.movementlabs.xyz/#/account/0x2880aB155794e7179c9eE2e38200202908C17B43?network=testnet) |
| Mumbai (Polygon testnet) | [`0xFC6bd9F9f0c6481c6Af3A7Eb46b296A5B85ed379`](https://mumbai.polygonscan.com/address/0xFC6bd9F9f0c6481c6Af3A7Eb46b296A5B85ed379) |
| Neon devnet | [`0x0708325268dF9F66270F1401206434524814508b`](https://devnet.neonscan.org/address/0x0708325268dF9F66270F1401206434524814508b) |
| Olive Testnet | [`0x2880aB155794e7179c9eE2e38200202908C17B43`](https://olive-network-testnet.explorer.caldera.xyz/address/0x2880aB155794e7179c9eE2e38200202908C17B43) |
Expand Down
40 changes: 40 additions & 0 deletions pages/price-feeds/contract-addresses/move.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import CopyAddress from "../../../components/CopyAddress";

# Price Feed Contract Addresses on Move

Pyth is currently deployed on the following Movement networks.

- [Aptos Movement Testnet](#aptos-movement-testnet)
- [Move EVM (MEVM)](#move-evm-mevm)
- [Sui Movement Testnet](#sui-movement-testnet)

## Aptos Movement Testnet

Use the following addresses for both Suzuka and Porto testnets:

| Named Address | Value |
| ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `pyth` | <CopyAddress address={`0x9357e76fe965c9956a76181ee49f66d51b7f9c3800182a944ed96be86301e49f`} url="https://explorer.testnet.porto.movementnetwork.xyz/account/0x9357e76fe965c9956a76181ee49f66d51b7f9c3800182a944ed96be86301e49f?network=testnet" /> |
| `wormhole` | <CopyAddress address={`0x9236893d6444b208b7e0b3e8d4be4ace90b6d17817ab7d1584e46a33ef5c50c9`} url="https://explorer.testnet.porto.movementnetwork.xyz/account/0x9236893d6444b208b7e0b3e8d4be4ace90b6d17817ab7d1584e46a33ef5c50c9?network=testnet" /> |
| `deployer` | <CopyAddress address={`0xa3ad2d9c8114b9a4fe97d45b7a9d3c731148d936b0f5dd396fc20a53a11a70da`} url="https://explorer.testnet.porto.movementnetwork.xyz/account/0xa3ad2d9c8114b9a4fe97d45b7a9d3c731148d936b0f5dd396fc20a53a11a70da?network=testnet" /> |

`deployer` and `wormhole` are implementation details of the Pyth contract: you will not need to interact with these.

## Move EVM (MEVM)

Use the following address for the Movement Devnet Imola testnet:

| Network | Contract Address |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Movement Devnet Imola | [`0x2880aB155794e7179c9eE2e38200202908C17B43`](https://explorer.devnet.imola.movementlabs.xyz/#/account/0x2880aB155794e7179c9eE2e38200202908C17B43?network=testnet) |

## Sui Movement Testnet

Use the following addresses for the Movement M2 devnet:

| Name | Address |
| ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Pyth State ID | [`0xa2b4997fe170d5d7d622d5f43e54880ccdf69716df4ac4d215a69c35a0a1831f`](https://explorer.sui.devnet.m2.movementlabs.xyz/object/0x1f9310238ee9298fb703c3419030b35b22bb1cc37113e3bb5007c99aec79e5b8?network=devnet) |
| Pyth Package ID | [`0x46522b54385efa424e0582ea4886bb5cfbe11d5c2a6a19ac0c82c2c81c73f9c5`](https://explorer.sui.devnet.m2.movementlabs.xyz/object/0x04e20ddf36af412a4096f9014f4a565af9e812db9a05cc40254846cf6ed0ad91?network=devnet) |
| Wormhole State ID | [`0xcf185fbc1af3a437a600587e0b39e5fede163336ffbb7ff24dca9b6eb19d2656`](https://explorer.sui.devnet.m2.movementlabs.xyz/object/0xaeab97f96cf9877fee2883315d459552b2b921edc16d7ceac6eab944dd88919c?network=devnet) |
| Wormhole Package ID | [`0x23a373b70e6e23a39e4846fa6896fa12beb08da061b3d4ec856bc8ead54f1e22`](https://explorer.sui.devnet.m2.movementlabs.xyz/object/0x5306f64e312b581766351c07af79c72fcb1cd25147157fdc2f8ad76de9a3fb6a?network=devnet) |
9 changes: 0 additions & 9 deletions pages/price-feeds/contract-addresses/sui.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,6 @@ Pyth is currently available on the following sui-based chains:
| Wormhole State ID | [`0xaeab97f96cf9877fee2883315d459552b2b921edc16d7ceac6eab944dd88919c`](https://explorer.sui.io/object/0xaeab97f96cf9877fee2883315d459552b2b921edc16d7ceac6eab944dd88919c) |
| Wormhole Package ID | [`0x5306f64e312b581766351c07af79c72fcb1cd25147157fdc2f8ad76de9a3fb6a`](https://explorer.sui.io/object/0x5306f64e312b581766351c07af79c72fcb1cd25147157fdc2f8ad76de9a3fb6a) |

#### Movement M2 devnet

| Name | Address |
| ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Pyth State ID | [`0xa2b4997fe170d5d7d622d5f43e54880ccdf69716df4ac4d215a69c35a0a1831f`](https://explorer.sui.devnet.m2.movementlabs.xyz/object/0x1f9310238ee9298fb703c3419030b35b22bb1cc37113e3bb5007c99aec79e5b8?network=devnet) |
| Pyth Package ID | [`0x46522b54385efa424e0582ea4886bb5cfbe11d5c2a6a19ac0c82c2c81c73f9c5`](https://explorer.sui.devnet.m2.movementlabs.xyz/object/0x04e20ddf36af412a4096f9014f4a565af9e812db9a05cc40254846cf6ed0ad91?network=devnet) |
| Wormhole State ID | [`0xcf185fbc1af3a437a600587e0b39e5fede163336ffbb7ff24dca9b6eb19d2656`](https://explorer.sui.devnet.m2.movementlabs.xyz/object/0xaeab97f96cf9877fee2883315d459552b2b921edc16d7ceac6eab944dd88919c?network=devnet) |
| Wormhole Package ID | [`0x23a373b70e6e23a39e4846fa6896fa12beb08da061b3d4ec856bc8ead54f1e22`](https://explorer.sui.devnet.m2.movementlabs.xyz/object/0x5306f64e312b581766351c07af79c72fcb1cd25147157fdc2f8ad76de9a3fb6a?network=devnet) |

### Beta channel

#### Sui Testnet
Expand Down
25 changes: 1 addition & 24 deletions pages/price-feeds/use-real-time-data/sui.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This guide explains how to use real-time Pyth data in Sui applications.

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

<Tabs items={['Sui Mainnet', 'Sui Testnet','Movement M2 devnet']}>
<Tabs items={['Sui Mainnet', 'Sui Testnet']}>
<Tabs.Tab>
```sh copy
[dependencies.Pyth]
Expand Down Expand Up @@ -49,29 +49,6 @@ subdir = "crates/sui-framework/packages/sui-framework"
rev = "041c5f2bae2fe52079e44b70514333532d69f4e6"
````

</Tabs.Tab>

<Tabs.Tab>
```sh copy
[dependencies.Pyth]
git = "https://github.com/pyth-network/pyth-crosschain.git"
subdir = "target_chains/sui/contracts"
rev = "sui-contract-movement-m2-devnet"

[dependencies.Wormhole]
git = "https://github.com/pyth-network/pyth-crosschain.git"
subdir = "target_chains/sui/vendor/wormhole_movement_devnet/wormhole"
rev = "sui-contract-movement-m2-devnet"

# Pyth is locked into this specific `rev` because the package depends on Wormhole and is pinned to this version.

[dependencies.Sui]
git = "https://github.com/MystenLabs/sui.git"
subdir = "crates/sui-framework/packages/sui-framework"
rev = "041c5f2bae2fe52079e44b70514333532d69f4e6"

````

</Tabs.Tab>
</Tabs>

Expand Down
Loading