File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
pages/documentation/pythnet-price-feeds Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -112,11 +112,22 @@ Now in your contract you can consume the price by calling `pyth::get_price` or o
112
112
113
113
Use the following dependency in your ` Move.toml ` file to use the latest Pyth Sui package.
114
114
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
+
115
126
``` sh copy
116
127
[dependencies.Pyth]
117
128
git = " https://github.com/pyth-network/pyth-crosschain.git"
118
129
subdir = " target_chains/sui/contracts"
119
- rev = " 8b721c38dcf19b2acfa81ad0560a39ce144c3b97 "
130
+ rev = " sui-contract-v.0.0.2-testnet "
120
131
```
121
132
122
133
### CLI Example
You can’t perform that action at this time.
0 commit comments