Skip to content

Commit 3d83149

Browse files
authored
Update sdks.mdx
1 parent e7dac54 commit 3d83149

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

pages/sui/sdks.mdx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Tab, Tabs } from "nextra-theme-docs";
22

33
# SDKs
44

5-
Aptos contracts can program against the Pyth contract's interface by including it as a project dependency.
5+
Sui contracts can program against the Pyth contract's interface by including it as a project dependency.
66

77
## Installation Instructions
88

@@ -12,24 +12,23 @@ Aptos contracts can program against the Pyth contract's interface by including i
1212

1313
```toml
1414
[dependencies]
15-
Pyth = { git = "https://github.com/pyth-network/pyth-crosschain.git", subdir = "target_chains/aptos/contracts", rev = "main" }
15+
Pyth = { git = "https://github.com/pyth-network/pyth-crosschain.git", subdir = "target_chains/sui/contracts", rev = "main" }
1616
```
1717

1818
Note that this dependency references the latest version of the Pyth contract code.
1919
You can also choose the most recent git sha in order to have a repeatable build.
20-
This contract was compiled with [aptos-cli v1.0.4](https://github.com/aptos-labs/aptos-core/releases/tag/aptos-cli-v1.0.4).
20+
This contract was compiled with sui-cli sui 1.0.0-09b208149.
2121

2222
Next, add the following named addresses to the `[addresses]` section of `Move.toml`:
2323

2424
```toml
2525
[addresses]
26-
pyth = "0x7e783b349d3e89cf5931af376ebeadbfab855b3fa239b7ada8f5a92fbea6b387"
27-
deployer = "0xb31e712b26fd295357355f6845e77c888298636609e93bc9b05f0f604049f434"
28-
wormhole = "0x5bc11445584a763c1fa7ed39081f1b920954da14e04b32440cba863d03e19625"
26+
pyth = TBA
27+
wormhole = TBA
2928
```
3029

3130
These lines allow you to reference Pyth resources as `pyth` instead of manually writing the contract address.
32-
The contract addresses provided above are for both Aptos mainnet and testnet -- the Pyth contract has the same address in both cases.
31+
The contract addresses provided above are for both Sui mainnet -- the Pyth contract has a different address on testnet (contract addresses on Sui are not generated deterministically).
3332

3433
You can now import the Pyth interfaces in Move code as follows:
3534

0 commit comments

Comments
 (0)