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: README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@
4
4
5
5
[Pyth](https://pyth.network/) is building a way to deliver a decentralized, cross-chain market of verifiable data from high-quality nodes to any smart contract, anywhere.
6
6
7
-
This library reads on-chain Pythdata from[@solana/web3.js](https://www.npmjs.com/package/@solana/web3.js) and returns JavaScript-friendly objects.
7
+
This library reads on-chain Pythnet (Pyth's app-specific SVM blockchain) data using[@solana/web3.js](https://www.npmjs.com/package/@solana/web3.js) and returns JavaScript-friendly objects.
8
8
9
-
> ⚠️ **Important Warning**: For most use cases, it is recommended and easier to use Pyth's off-chain API (Hermes) via the [@pythnetwork/hermes-client](https://www.npmjs.com/package/@pythnetwork/hermes-client) package to get the most up-to-date Pyth prices. The Hermes client does not require a connection to Pythnet and provides a simpler interface for price updates.
9
+
> ⚠️ **Important Warning**: For most use cases, it is recommended and more user-friendly to use Pyth's off-chain API ([Hermes](https://hermes.pyth.network/docs/)) via the [@pythnetwork/hermes-client](https://www.npmjs.com/package/@pythnetwork/hermes-client) package to get the most up-to-date Pyth prices. Using `@pythnetwork/client` requires a Pythnet RPC connection and exposes many low-level details.
10
10
11
11
## Installation
12
12
@@ -31,7 +31,7 @@ This library lets you consume prices in two different ways: you can either get c
31
31
The websocket connection provides a subscription model for consuming price updates:
0 commit comments