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
Copy file name to clipboardExpand all lines: pyth-sdk-solana/README.md
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# Pyth SDK Solana
2
2
3
3
This crate provides utilities for reading price feeds from the [pyth.network](https://pyth.network/) oracle on the Solana network.
4
-
The crate includes a library for on-chain programs and an off-chain example program.
4
+
The crate includes a library for reading and using Pyth data feeds in Solana both on-chain (Solana programs) and off-chain (clients interacting with Solana blockchain). It also includes multiple off-chain example programs.
5
5
6
6
Key features of this library include:
7
7
@@ -37,6 +37,10 @@ Pyth Network stores its price feeds in a collection of Solana accounts of variou
37
37
* Product accounts store metadata about a product, such as its symbol (e.g., "BTC/USD").
38
38
* Mapping accounts store a listing of all Pyth accounts
39
39
40
+
|:zap: This structure is designed for Pyth Oracle internal program. In most of the use cases only Price account is needed. |
For more information on the different types of Pyth accounts, see the [account structure documentation](https://docs.pyth.network/how-pyth-works/account-structure).
41
45
The pyth.network website also lists the public keys of the accounts (e.g., [Crypto.BTC/USD accounts](https://pyth.network/markets/#Crypto.BTC/USD)).
42
46
@@ -113,7 +117,9 @@ This function additionally propagates any uncertainty in the price into uncertai
113
117
114
118
### Solana Account Structure
115
119
116
-
> Warning: the Solana account structure is an internal API that is subject to change. Prefer to use `load_price` when possible.
120
+
|:zap: the Solana account structure is an internal API that is subject to change. Prefer to use `load_price` when possible. |
0 commit comments