diff --git a/apps/hermes/client/js/README.md b/apps/hermes/client/js/README.md index faf8840a7a..1c9f4a6ef3 100644 --- a/apps/hermes/client/js/README.md +++ b/apps/hermes/client/js/README.md @@ -93,4 +93,4 @@ pnpm turbo --filter @pythnetwork/hermes-client example -- \ Pyth offers a free public endpoint at [https://hermes.pyth.network](https://hermes.pyth.network). However, it is recommended to obtain a private endpoint from one of the Hermes RPC providers for more reliability. You can find more information about Hermes RPC providers -[here](https://docs.pyth.network/documentation/pythnet-price-feeds/hermes#public-endpoint). +[here](https://docs.pyth.network/price-feeds/core/api-instances-and-providers/hermes#public-endpoints). diff --git a/apps/hermes/server/README.md b/apps/hermes/server/README.md index e085efdbee..8e7491e504 100644 --- a/apps/hermes/server/README.md +++ b/apps/hermes/server/README.md @@ -16,7 +16,7 @@ To set up and run a Hermes node, follow the steps below: 0. **Prerequisites**: Hermes requires a running instance of Pythnet and the Wormhole spy RPC. You can find instructions for getting a Pythnet RPC instance from a node provider - [here](https://docs.pyth.network/documentation/pythnet-price-feeds/hermes#hermes-node-providers) and instructions + [here](https://docs.pyth.network/price-feeds/core/api-instances-and-providers/hermes#node-providers) and instructions for running a Wormhole spy RPC instance [here](https://docs.wormhole.com/wormhole/explore-wormhole/spy). We recommend using [Beacon](https://github.com/pyth-network/beacon), a highly available rewrite for spy, for production purposes. 1. **Install Rust 1.82.0**: If you haven't already, you'll need to install Rust. You can diff --git a/apps/price_pusher/README.md b/apps/price_pusher/README.md index 4df9dadaf8..14586e71b4 100644 --- a/apps/price_pusher/README.md +++ b/apps/price_pusher/README.md @@ -79,9 +79,9 @@ updates. NOTE: It is recommended to use stable hermes endpoints. If you are running the price pusher for **Aptos Testnet**, **Sui Testnet**, or **Near Testnet**, we recommend you use beta hermes endpoints. -Pyth hosts [public endpoints](https://docs.pyth.network/price-feeds/api-instances-and-providers/hermes) for Hermes; however, it is recommended to get a private endpoint from one of the +Pyth hosts [public endpoints](https://docs.pyth.network/price-feeds/core/api-instances-and-providers/hermes#public-endpoints) for Hermes; however, it is recommended to get a private endpoint from one of the Hermes RPC providers for more reliability. Please refer to [this -document](https://docs.pyth.network/documentation/pythnet-price-feeds/hermes) for more information. +document](https://docs.pyth.network/price-feeds/core/api-instances-and-providers/hermes) for more information. To run the price pusher, please run the following commands, replacing the command line arguments as necessary: diff --git a/price_service/client/js/README.md b/price_service/client/js/README.md index 3b50a5a9be..69283dcc38 100644 --- a/price_service/client/js/README.md +++ b/price_service/client/js/README.md @@ -93,4 +93,4 @@ npm run example -- \ Pyth offers a free public endpoint at [https://hermes.pyth.network](https://hermes.pyth.network). However, it is recommended to obtain a private endpoint from one of the Hermes RPC providers for more reliability. You can find more information about Hermes RPC providers -[here](https://docs.pyth.network/documentation/pythnet-price-feeds/hermes#public-endpoint). +[here](https://docs.pyth.network/price-feeds/core/api-instances-and-providers/hermes#public-endpoints). diff --git a/target_chains/aptos/sdk/js/README.md b/target_chains/aptos/sdk/js/README.md index 96c3fb9f09..3db71be1be 100644 --- a/target_chains/aptos/sdk/js/README.md +++ b/target_chains/aptos/sdk/js/README.md @@ -19,7 +19,7 @@ $ yarn add @pythnetwork/pyth-aptos-js ## Quickstart Pyth stores prices off-chain to minimize gas fees, which allows us to offer a wider selection of products and faster update times. -See [On-Demand Updates](https://docs.pyth.network/documentation/pythnet-price-feeds/on-demand) for more information about this approach. +See [Pull Integration on Aptos](https://docs.pyth.network/price-feeds/core/use-real-time-data/pull-integration/aptos) for more information about this approach. To use Pyth prices on chain, they must be fetched from a Hermes instance. The `AptosPriceServiceConnection` class can be used to interact with these services, providing a way to fetch these prices directly in your code. The following example wraps an existing RPC provider and shows how to obtain @@ -79,7 +79,7 @@ module example::your_module { } ``` -We strongly recommend reading our guide which explains [how to work with Pyth price feeds](https://docs.pyth.network/documentation/pythnet-price-feeds/best-practices). +We strongly recommend reading our guide which explains [how to work with Pyth price feeds](https://docs.pyth.network/price-feeds/core/best-practices). ### Off-chain prices @@ -136,4 +136,4 @@ npm run example-relay -- \ ## Hermes endpoints -Please find the list of public Hermes endpoints [here](https://docs.pyth.network/documentation/pythnet-price-feeds/hermes#public-endpoints). +Please find the list of public Hermes endpoints [here](https://docs.pyth.network/price-feeds/core/api-instances-and-providers/hermes#public-endpoints). diff --git a/target_chains/ethereum/sdk/solidity/README.md b/target_chains/ethereum/sdk/solidity/README.md index 8546fda666..2dcc33618d 100644 --- a/target_chains/ethereum/sdk/solidity/README.md +++ b/target_chains/ethereum/sdk/solidity/README.md @@ -3,7 +3,7 @@ This package provides utilities for consuming prices from the [Pyth Network](https://pyth.network/) Oracle using Solidity. Also, it contains [the Pyth Interface ABI](./abis/IPyth.json) that you can use in your libraries to communicate with the Pyth contract. -It is **strongly recommended** to follow the [consumer best practices](https://docs.pyth.network/documentation/pythnet-price-feeds/best-practices) when consuming Pyth data. +It is **strongly recommended** to follow the [consumer best practices](https://docs.pyth.network/price-feeds/core/best-practices) when consuming Pyth data. ## Installation @@ -76,7 +76,7 @@ Pyth prices are published on Pythnet, and relayed to EVM chains using the [Wormh This signed message can then be submitted to the Pyth contract on the EVM networks along the required update fee for it, which will verify the Wormhole message and update the Pyth contract with the new price. -Please refer to [Pyth On-Demand Updates page](https://docs.pyth.network/documentation/pythnet-price-feeds/on-demand) for more information. +Please refer to [Pull Integration on EVM](https://docs.pyth.network/price-feeds/core/use-real-time-data/pull-integration/evm) for more information. ## Solidity Target Chains diff --git a/target_chains/ethereum/sdk/stylus/README.md b/target_chains/ethereum/sdk/stylus/README.md index 4076c9530a..b8f9562b7e 100644 --- a/target_chains/ethereum/sdk/stylus/README.md +++ b/target_chains/ethereum/sdk/stylus/README.md @@ -2,7 +2,7 @@ This package provides utilities for consuming prices from the [Pyth Network](https://pyth.network/) Oracle in Rust with Stylus. It also includes the [Pyth Interface ABI](./abis/IPyth.json), which can be used in your libraries to interact with the Pyth contract. -It is **strongly recommended** to follow the [consumer best practices](https://docs.pyth.network/documentation/pythnet-price-feeds/best-practices) when consuming data from Pyth. +It is **strongly recommended** to follow the [consumer best practices](https://docs.pyth.network/price-feeds/core/best-practices) when consuming data from Pyth. ## Features diff --git a/target_chains/fuel/sdk/js/README.md b/target_chains/fuel/sdk/js/README.md index 5abad27e81..25773ea001 100644 --- a/target_chains/fuel/sdk/js/README.md +++ b/target_chains/fuel/sdk/js/README.md @@ -31,7 +31,7 @@ $ yarn add fuels @pythnetwork/hermes-client ``` Pyth stores prices off-chain to minimize gas fees, which allows us to offer a wider selection of products and faster update times. -See [On-Demand Updates](https://docs.pyth.network/documentation/pythnet-price-feeds/on-demand) for more information about this approach. +See [Pull Integration on Fuel](https://docs.pyth.network/price-feeds/core/use-real-time-data/pull-integration/fuel) for more information about this approach. To use Pyth prices on chain, they must be fetched from a Hermes instance. The `HermesClient` class from Pyth's `hermes-client` library can be used to interact with Hermes, providing a way to fetch these prices directly in your code. @@ -40,4 +40,4 @@ chain. For a complete example of how to obtain Pyth prices and submit them to a Fuel network, check out the [usage example](src/examples/usage.ts) in the `src/examples` directory. -We strongly recommend reading our guide which explains [how to work with Pyth price feeds](https://docs.pyth.network/documentation/pythnet-price-feeds/best-practices). +We strongly recommend reading our guide which explains [how to work with Pyth price feeds](https://docs.pyth.network/price-feeds/core/best-practices). diff --git a/target_chains/near/README.md b/target_chains/near/README.md index 622245a139..1e8d6d64bb 100644 --- a/target_chains/near/README.md +++ b/target_chains/near/README.md @@ -47,4 +47,4 @@ near view --network-id mainnet contract-url.near get_price_unsafe '{ "price_iden You can find more in-depth documentation on the [Pyth Website][pyth website] for a more in-depth guide to working with Pyth concepts in general in the context of NEAR. -[pyth website]: https://docs.pyth.network/documentation/pythnet-price-feeds/near +[pyth website]: https://docs.pyth.network/price-feeds/core/use-real-time-data/pull-integration/near diff --git a/target_chains/starknet/sdk/js/README.md b/target_chains/starknet/sdk/js/README.md index 84d535537d..5e9e480370 100644 --- a/target_chains/starknet/sdk/js/README.md +++ b/target_chains/starknet/sdk/js/README.md @@ -31,7 +31,7 @@ $ yarn add starknet @pythnetwork/price-service-client ``` Pyth stores prices off-chain to minimize gas fees, which allows us to offer a wider selection of products and faster update times. -See [On-Demand Updates](https://docs.pyth.network/documentation/pythnet-price-feeds/on-demand) for more information about this approach. +See [Pull Integration on Starknet](https://docs.pyth.network/price-feeds/core/use-real-time-data/pull-integration/starknet) for more information about this approach. To use Pyth prices on chain, they must be fetched from a Hermes instance. The `PriceServiceConnection` class from Pyth's `price-service-client` library can be used to interact with Hermes, providing a way to fetch these prices directly in your code. @@ -111,4 +111,4 @@ await provider.waitForTransaction(tx.transaction_hash); console.log("transaction confirmed:", tx.transaction_hash); ``` -We strongly recommend reading our guide which explains [how to work with Pyth price feeds](https://docs.pyth.network/documentation/pythnet-price-feeds/best-practices). +We strongly recommend reading our guide which explains [how to work with Pyth price feeds](https://docs.pyth.network/price-feeds/core/best-practices). diff --git a/target_chains/sui/README.md b/target_chains/sui/README.md index 975fffa158..0700ff75a4 100644 --- a/target_chains/sui/README.md +++ b/target_chains/sui/README.md @@ -6,4 +6,4 @@ This directory contains the Pyth contract for Sui and utilities to deploy and us - `contracts` folder contains the Pyth contract source code in Move. - `sdk` folder contains the Pyth javascript SDK for Sui that should be used by dApp developers. -For more information regarding Pyth integration on Sui please refer to our [docs](https://docs.pyth.network/documentation/pythnet-price-feeds/sui). +For more information regarding Pyth integration on Sui please refer to our [docs](https://docs.pyth.network/price-feeds/core/use-real-time-data/pull-integration/sui). diff --git a/target_chains/sui/sdk/js-iota/README.md b/target_chains/sui/sdk/js-iota/README.md index 45de93b3c7..7996aed60f 100644 --- a/target_chains/sui/sdk/js-iota/README.md +++ b/target_chains/sui/sdk/js-iota/README.md @@ -20,7 +20,7 @@ $ yarn add @pythnetwork/pyth-iota-js ## Quickstart Pyth stores prices off-chain to minimize gas fees, which allows us to offer a wider selection of products and faster update times. -See [On-Demand Updates](https://docs.pyth.network/documentation/pythnet-price-feeds/on-demand) for more information about this approach. +See [Pull Integration on Iota](https://docs.pyth.network/price-feeds/core/use-real-time-data/pull-integration/iota) for more information about this approach. Typically, to use Pyth prices on chain, they must be fetched from an off-chain Hermes instance. The `IotaPriceServiceConnection` class can be used to interact with these services, providing a way to fetch these prices directly in your code. The following example wraps an existing RPC provider and shows how to obtain @@ -67,7 +67,7 @@ const priceUpdateData = await connection.getPriceFeedsUpdateData(priceIds); // s // It is either injected from browser or instantiated in backend via some private key const wallet: SignerWithProvider = getWallet(); // Get the state ids of the Pyth and Wormhole contracts from -// https://docs.pyth.network/documentation/pythnet-price-feeds/sui +// https://docs.pyth.network/price-feeds/core/contract-addresses/sui const wormholeStateId = " 0xFILL_ME"; const pythStateId = "0xFILL_ME"; @@ -152,4 +152,4 @@ setTimeout(() => { ## Hermes endpoints -You can find the list of Hermes public endpoints [here](https://docs.pyth.network/documentation/pythnet-price-feeds/hermes#public-endpoints). +You can find the list of Hermes public endpoints [here](https://docs.pyth.network/price-feeds/core/api-instances-and-providers/hermes#public-endpoints). diff --git a/target_chains/sui/sdk/js/README.md b/target_chains/sui/sdk/js/README.md index 04dc80e995..1da5955b16 100644 --- a/target_chains/sui/sdk/js/README.md +++ b/target_chains/sui/sdk/js/README.md @@ -14,7 +14,7 @@ $ pnpm install ## Quickstart Pyth stores prices off-chain to minimize gas fees, which allows us to offer a wider selection of products and faster update times. -See [On-Demand Updates](https://docs.pyth.network/documentation/pythnet-price-feeds/on-demand) for more information about this approach. +See [Pull Integration on Sui](https://docs.pyth.network/price-feeds/core/use-real-time-data/pull-integration/sui) for more information about this approach. Typically, to use Pyth prices on chain, they must be fetched from an off-chain Hermes instance. The `SuiPriceServiceConnection` class can be used to interact with these services, providing a way to fetch these prices directly in your code. The following example wraps an existing RPC provider and shows how to obtain @@ -149,4 +149,4 @@ eventSource.close(); ## Hermes endpoints -You can find the list of Hermes public endpoints [here](https://docs.pyth.network/documentation/pythnet-price-feeds/hermes#public-endpoints). +You can find the list of Hermes public endpoints [here](https://docs.pyth.network/price-feeds/core/api-instances-and-providers/hermes#public-endpoints).