Skip to content

Commit 707739d

Browse files
committed
docs: extend stale-URL refresh to 3 missed READMEs + sui price_pusher CLI strings
Round-2 follow-up on Devin's pyth-network#3718 review noting 18 files still carried the stale docs.pyth.network/documentation/pythnet-price-feeds/* paths after the first JS/TS SDK README sweep. This PR adds: - target_chains/solana/sdk/js/pyth_solana_receiver/README.md — the two Hermes links and the api-instances-and-providers link were still in the legacy /price-feeds/pythnet-price-feeds/ space. Moved to /price-feeds/core/api-instances-and-providers/hermes (+ #public-endpoints anchor for the public-endpoint link) to match the rest of pyth-network#3718. - price_service/sdk/js/README.md — single bare /documentation/ root link retargeted at /price-feeds (the legacy /documentation tree has been retired in favour of the product-scoped /price-feeds + /entropy roots). - target_chains/ethereum/entropy_sdk/solidity/README.md — entropy contract-deployments link moved off /documentation/entropy/evm and onto /entropy/contract-addresses, matching the URL shape used by apps/entropy-explorer/src/errors.ts and the live entropy doc tree. - apps/price_pusher/src/sui/command.ts — the two CLI --pyth-state-id / --wormhole-state-id help strings hardcoded /documentation/pythnet-price-feeds/sui as runtime user-facing output. Retargeted at /price-feeds/core/contract-addresses/sui (the page that actually lists the Sui state IDs the operator needs). This is the only non-doc surface Devin flagged as runtime-impacting and is in scope for the JS/TS sweep. The remaining items Devin enumerated (aptos Move.toml, fuel pyth-interface .sw, on-chain Move/Solidity/Rust NatSpec comments) are covered by the parallel pyth-network#3719 on-chain branch and intentionally not duplicated here. Refs pyth-network#3228.
1 parent e249c5b commit 707739d

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

apps/price_pusher/src/sui/command.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ export default {
3939
"pyth-state-id": {
4040
description:
4141
"Pyth State Id. Can be found here" +
42-
"https://docs.pyth.network/documentation/pythnet-price-feeds/sui",
42+
"https://docs.pyth.network/price-feeds/core/contract-addresses/sui",
4343
type: "string",
4444
required: true,
4545
} as Options,
4646
"wormhole-state-id": {
4747
description:
4848
"Wormhole State Id. Can be found here" +
49-
"https://docs.pyth.network/documentation/pythnet-price-feeds/sui",
49+
"https://docs.pyth.network/price-feeds/core/contract-addresses/sui",
5050
type: "string",
5151
required: true,
5252
} as Options,

price_service/sdk/js/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The Pyth JavaScript SDK provides definitions and utilities for Pyth data structures.
44

5-
Please see the [pyth.network documentation](https://docs.pyth.network/documentation/) for more information on how to use Pyth prices in various blockchains.
5+
Please see the [pyth.network documentation](https://docs.pyth.network/price-feeds) for more information on how to use Pyth prices in various blockchains.
66

77
## Releases
88

target_chains/ethereum/entropy_sdk/solidity/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Then add the following line to your `remappings.txt` file:
3333
## Setup
3434

3535
To use the SDK, you need the address of an Entropy contract on your blockchain and a randomness provider.
36-
You can find current deployments on this [page](https://docs.pyth.network/documentation/entropy/evm).
36+
You can find current deployments on this [page](https://docs.pyth.network/entropy/contract-addresses).
3737

3838
Choose one of the networks and instantiate an `IEntropy` contract in your solidity contract:
3939

target_chains/solana/sdk/js/pyth_solana_receiver/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ You can install the package using your favorite typescript version manager
2020
This SDK is designed to be used in combination with a source of Pyth pricing data.
2121
There are two different sources of pricing data that users can choose from.
2222

23-
- [Hermes](https://docs.pyth.network/price-feeds/pythnet-price-feeds/hermes) is a webservice that provides HTTP and websocket endpoints for retrieving real-time Pyth prices.
23+
- [Hermes](https://docs.pyth.network/price-feeds/core/api-instances-and-providers/hermes#public-endpoints) is a webservice that provides HTTP and websocket endpoints for retrieving real-time Pyth prices.
2424
The example code below uses the public Hermes instance hosted by the Pyth Data Association at `https://hermes.pyth.network/`.
25-
Hermes is also available from several infrastructure providers [listed here](https://docs.pyth.network/price-feeds/api-instances-and-providers/hermes).
25+
Hermes is also available from several infrastructure providers [listed here](https://docs.pyth.network/price-feeds/core/api-instances-and-providers/hermes).
2626
The [Price Service Client](https://github.com/pyth-network/pyth-crosschain/tree/main/price_service/client/js) can be used to access Hermes prices in a convenient way.
2727
- [Benchmarks](https://docs.pyth.network/benchmarks) is a webservice that provides HTTP endpoints for accessing historical Pyth prices.
2828
This service can be used for applications that require prices from specific times in the past.

0 commit comments

Comments
 (0)