Skip to content

Commit f565872

Browse files
committed
broken links for core price feeds
1 parent f2f013a commit f565872

File tree

13 files changed

+21
-21
lines changed

13 files changed

+21
-21
lines changed

apps/developer-hub/content/docs/price-feeds/core/api-instances-and-providers/hermes.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { Callout } from "fumadocs-ui/components/callout";
99
Hermes is an open-source service that listens to the Pythnet and the Wormhole Network for Pyth price updates, and
1010
serves them via a convenient web API.
1111

12-
Hermes allows users to easily [fetch price updates](../fetch-price-updates.mdx) via a REST API, or subscribe to server-side streaming
12+
Hermes allows users to easily [fetch price updates](../fetch-price-updates) via a REST API, or subscribe to server-side streaming
1313
updates.
1414

1515
## Public Endpoints
@@ -49,4 +49,4 @@ The following node providers offer Hermes:
4949
The Pyth Data Association provides a Helm chart for running Hermes in
5050
[charts](https://github.com/pyth-network/charts/tree/main/charts/hermes) repository. Please refer to the chart's readme
5151
for the configuration values.
52-
You will need a Pythnet RPC to run Hermes; see the [guide for accessing a Pythnet RPC](pythnet-rpc.mdx).
52+
You will need a Pythnet RPC to run Hermes; see the [guide for accessing a Pythnet RPC](./pythnet-rpc).

apps/developer-hub/content/docs/price-feeds/core/best-practices.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ To expand upon the first option, it is recommended to use the confidence interva
9292

9393
The same principle would apply if you wrote a derivative contract. If someone wants to open a derivative contract with you, you would value their collateral at the lower price. However, if you were deciding whether someone's margin limits were violated, you could value their outstanding leveraged position at the higher price. If a contract needs to be settled at a price, you could take approaches such as the following:
9494

95-
1. Using Pyth's exponential moving average price, which represents estimates of the average price of the asset over a specified time period (e.g., over the past 1 hour). The exponential moving average price is computed such that it lessens the influence of prices with wide confidence intervals. You may find more details in [EMA Price Aggregation](./how-pyth-works/ema-price-aggregation.mdx).
95+
1. Using Pyth's exponential moving average price, which represents estimates of the average price of the asset over a specified time period (e.g., over the past 1 hour). The exponential moving average price is computed such that it lessens the influence of prices with wide confidence intervals. You may find more details in [EMA Price Aggregation](./how-pyth-works/ema-price-aggregation).
9696
2. Using the aggregate price, which is Pyth's best estimate of the price at a single point in time. The quality of this estimate depends on the width of the confidence interval at settlement time and on occasion, it may be imprecise. However, it is the best you can do with Pyth data if you need a single price at that exact point in time.
9797
3. Defining the contract to depend on confidence. For example, you could create an option that refunds the option premium to the buyer (so both sides of the transaction are even) if the strike price is within the confidence interval at settlement time. You could also create a contract that delayed settlement until the confidence interval was sufficiently small. If you choose this second option, you should ensure that your contract is guaranteed to eventually settle even if the confidence interval never narrows.
9898

apps/developer-hub/content/docs/price-feeds/core/contract-addresses/evm.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,4 +203,4 @@ Pyth is available on the following network using Pyth Beta price sources:
203203

204204
## Price Feed IDs
205205

206-
The price feed IDs for EVM chains are available [here](../price-feeds.mdx)
206+
The price feed IDs for EVM chains are available [here](../price-feeds)

apps/developer-hub/content/docs/price-feeds/core/contract-addresses/pythnet.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { Callout } from "fumadocs-ui/components/callout";
1111
which is used to construct and deliver Pyth prices to other blockchains. If
1212
you are building an application on EVM, Solana, SVM, or another chain, you
1313
should use the Pyth program deployed on your target chain instead. Please
14-
refer to the [Contract Addresses](/price-feeds/contract-addresses) page and
14+
refer to the [Contract Addresses](/price-feeds/core/contract-addresses) page and
1515
select your specific blockchain environment.
1616
</Callout>
1717

apps/developer-hub/content/docs/price-feeds/core/create-your-first-pyth-app/evm/part-1.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,4 +565,4 @@ contract MyFirstPythContractTest is Test {
565565

566566
</Steps>
567567

568-
Check out [Part 2](./part-2.mdx) to learn how to deploy our contract to OP-sepolia testnet and fetch prices using hermes-client.
568+
Check out [Part 2](./part-2) to learn how to deploy our contract to OP-sepolia testnet and fetch prices using hermes-client.

apps/developer-hub/content/docs/price-feeds/core/derive-cross-rate.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ You may find these additional resources helpful.
9393

9494
#### How to use real-time data in EVM contracts
9595

96-
The [How to use real-time data in EVM contracts](./use-real-time-data/evm.mdx) guide provides a step-by-step guide on how to use real-time data in EVM contracts.
96+
The [How to use real-time data in EVM contracts](./use-real-time-data/pull-integration/evm) guide provides a step-by-step guide on how to use real-time data in EVM contracts.
9797

9898
#### Price Feed IDs
9999

100-
The [Price Feed IDs](./price-feeds.mdx) page lists the price feed IDs for each asset supported by Pyth.
100+
The [Price Feed IDs](./price-feeds) page lists the price feed IDs for each asset supported by Pyth.
101101

102102
</Tab>
103103

apps/developer-hub/content/docs/price-feeds/core/fetch-price-updates.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import { Callout } from "fumadocs-ui/components/callout";
88

99
The following guide explains how to fetch price updates.
1010
Price updates can be submitted to the Pyth Price Feeds contract to update the on-chain price.
11-
Please see [What is a Pull Oracle?](/price-feeds/pull-updates) to learn more.
11+
Please see [What is a Pull Oracle?](/price-feeds/core/pull-updates) to learn more.
1212

13-
Price updates are served from [Hermes](/price-feeds/how-pyth-works/hermes), which
13+
Price updates are served from [Hermes](/price-feeds/core/how-pyth-works/hermes), which
1414
provides three different ways to fetch price updates:
1515

1616
1. [REST API](#rest-api)

apps/developer-hub/content/docs/price-feeds/core/migrate-an-app-to-pyth/chainlink.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Please see the [Chainlink Migration Example](https://github.com/pyth-network/pyt
100100

101101
Chainlink-compatible applications typically expect on-chain price feeds to update on a schedule.
102102
When migrating to Pyth, apps may need to schedule these price updates themselves.
103-
This step is required because Pyth is a pull oracle; see [What is a pull oracle?](/price-feeds/core/pull-updates.mdx) to learn more about this topic.
103+
This step is required because Pyth is a pull oracle; see [What is a pull oracle?](/price-feeds/core/pull-updates) to learn more about this topic.
104104

105-
The [Push Feeds](/price-feeds/core/push-feeds.mdx) page shows a list of feeds that have scheduled on-chain updates.
105+
The [Push Feeds](/price-feeds/core/push-feeds) page shows a list of feeds that have scheduled on-chain updates.
106106
If the feeds your application needs are not on this list, see [Schedule Price Updates](/price-feeds/core/schedule-price-updates) for several options to solve this problem.

apps/developer-hub/content/docs/price-feeds/core/price-feeds/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ Refer to the [Price Feed IDs](/price-feeds/core/price-feeds/price-feed-ids) page
3636

3737
On Solana, each feed additionally has a collection of **price feed accounts** containing the feed's data.
3838
The addresses of these accounts are programmatically derived from the feed id and a shard id, which is simply a 16-bit number.
39-
See [How to Use Real-Time Data on Solana](./use-real-time-data/solana#price-feed-accounts) for more information on price feed accounts.
39+
See [How to Use Real-Time Data on Solana](../use-real-time-data/pull-integration/solana#price-feed-accounts) for more information on price feed accounts.

apps/developer-hub/content/docs/price-feeds/core/publish-data/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Data providers can publish data to the network using the [pyth-agent](https://gi
6565
This package abstracts away all of the communication with the underlying blockchain and exposes a simple JSON RPC interface for submitting price data.
6666
Please see the [README](https://github.com/pyth-network/pyth-agent) of that package for instructions on using it.
6767
This software requires you to configure both the keypair and validators from the previous steps in order to run.
68-
Please also see the [JSON RPC API documentation](publish-data/pyth-client-websocket-api.md).
68+
Please also see the [JSON RPC API documentation](./pyth-client-websocket-api).
6969
Finally, the [example publisher](https://github.com/pyth-network/example-publisher) is a fully-worked example of how to integrate with the pyth-agent API.
7070

7171
</Step>

0 commit comments

Comments
 (0)