Skip to content

Commit dcadc98

Browse files
authored
Add separate configs for testnet and mainnet (#149)
1 parent e4d3552 commit dcadc98

File tree

1 file changed

+12
-1
lines changed
  • pages/documentation/pythnet-price-feeds

1 file changed

+12
-1
lines changed

pages/documentation/pythnet-price-feeds/sui.mdx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,22 @@ Now in your contract you can consume the price by calling `pyth::get_price` or o
112112

113113
Use the following dependency in your `Move.toml` file to use the latest Pyth Sui package.
114114

115+
Mainnet:
116+
117+
```sh copy
118+
[dependencies.Pyth]
119+
git = "https://github.com/pyth-network/pyth-crosschain.git"
120+
subdir = "target_chains/sui/contracts"
121+
rev = "sui-contract-v.0.0.2-mainnet"
122+
```
123+
124+
Testnet:
125+
115126
```sh copy
116127
[dependencies.Pyth]
117128
git = "https://github.com/pyth-network/pyth-crosschain.git"
118129
subdir = "target_chains/sui/contracts"
119-
rev = "8b721c38dcf19b2acfa81ad0560a39ce144c3b97"
130+
rev = "sui-contract-v.0.0.2-testnet"
120131
```
121132

122133
### CLI Example

0 commit comments

Comments
 (0)