You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Pyth Network Aptos contract allows users to submit price updates for verification and store them for later use.
1
+
The Pyth Network Sui contract allows users to submit price updates for verification and store them for later use.
2
2
Please see the documentation section on [Pull Updates](documentation/pythnet-price-feeds/on-demand) if you haven't already;
3
-
this section will explain the differences between Pyth Network and other oracles, and help you understand the expected usage patterns.
3
+
this section will explain the differences between Pyth Network and other oracles, and help you understand the expected usage patterns. Pyth on Sui also automatically pushes prices on-chain for a subset of symbols. More information on this TBA.
4
4
5
5
Users of the Pyth contract will typically need to perform two operations:
6
6
7
7
- Update the on-chain price -- In off-chain code, retrieve a verified price update from the
8
8
[price service](documentation/pythnet-price-feeds/price-service) and submit it to the contract
9
9
for verification. This operation makes the price available for on-chain use.
10
-
You will typically call [update_price_feeds](aptos/update-price-feeds) to do this.
10
+
You will typically call [update_price_feeds](sui/update-price-feeds) to do this.
11
11
- Read the on-chain price -- After updating the price, your on-chain contract can call one of the
12
-
many getter functions on the contract to get the price. See [get_price](aptos/get-price) and its variants
12
+
many getter functions on the contract to get the price. See [get_price](sui/get-price) and its variants
0 commit comments