Skip to content

Commit 5987724

Browse files
committed
chore(dev-hub) Migrate All the Price Feed Pages
1 parent 34d551f commit 5987724

File tree

166 files changed

+3886
-2538
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+3886
-2538
lines changed

apps/developer-hub/content/docs/entropy/chainlist.mdx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ import { EntropyTable } from "../../../src/components/EntropyTable";
99
## Mainnets
1010

1111
<Callout type="warning">
12-
<div>
13-
The fees for mainnet are dynamically set. Always use the on-chain method
14-
`entropy.getFeeV2()` to get the current fee.
15-
</div>
12+
The fees for mainnet are dynamically set. Always use the on-chain method `entropy.getFeeV2()` to get the current fee.
1613
</Callout>
1714

1815
The following tables shows the total fees payable when using the **default provider**.
@@ -33,10 +30,7 @@ Entropy callbacks the consumer as part of this transaction.
3330
## Testnets
3431

3532
<Callout type="info">
36-
<div>
37-
The fees for testnets are kept deliberately low and different from the
38-
mainnet fees.
39-
</div>
33+
The fees for testnets are kept deliberately low and different from the mainnet fees.
4034
</Callout>
4135

4236
The Entropy contract is deployed on the following testnet chains:

apps/developer-hub/content/docs/price-feeds/v1/api-instances-and-providers.mdx renamed to apps/developer-hub/content/docs/price-feeds/api-instances-and-providers.mdx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
---
2-
title: "Access Hermes & Pythnet RPC: Developer API Guide"
3-
description: >-
4-
Streamline integration of Pyth Price Feeds with Hermes and Pythnet RPC. Choose
5-
self-hosted or third-party instances to boost development efficiency.
6-
full: false
7-
index: false
2+
title: API Instances and Providers
3+
description: Guide to accessing Hermes and Pythnet RPC instances through self-hosting or third-party providers
4+
icon: Globe
85
---
96

107
# API Instances and Providers

apps/developer-hub/content/docs/price-feeds/v1/api-instances-and-providers/_meta.json renamed to apps/developer-hub/content/docs/price-feeds/api-instances-and-providers/_meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"hermes": "Hermes",
3+
"benchmarks": "Benchmarks / Historical Prices",
34
"pythnet-rpc": "Pythnet RPC"
45
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: "Benchmarks API Instances"
3+
description: "Access public instances of the Pyth Benchmarks API for retrieving historical price data and performance metrics."
4+
icon: "ChartLineUp"
5+
---
6+
7+
# Benchmarks API Instances
8+
9+
The Pyth Data Association hosts a public instance of the Benchmarks API at the following URL:
10+
11+
| Channel | URL |
12+
| ------- | ------------------------------- |
13+
| Stable | https://benchmarks.pyth.network |
14+
15+
There is currently no Benchmarks instance for the Beta channel.

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

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
---
2-
title: "Hermes: Open-Source Service for Pyth Price Updates"
3-
description: >-
4-
Experience real-time Pyth price feeds with Hermes: an open-source REST and
5-
streaming API. Use public endpoints or self-host for reliable, decentralized
6-
data.
7-
full: false
8-
index: false
9-
---
1+
import { Callout } from "nextra/components";
102

113
# Hermes
124

@@ -23,16 +15,22 @@ Network:
2315

2416
URL: https://hermes.pyth.network
2517

26-
<InfoBox variant="warning">
27-
<div>For developers building on **Aptos testnet**, **Sui testnet** or **Near testnet**, please use the Hermes Beta endpoint:</div>
18+
<Callout type="info" emoji="⚠️">
19+
For developers building on **Aptos testnet**, **Sui testnet** or **Near testnet**, please use the Hermes Beta endpoint:
2820

29-
<div>URL: https://hermes-beta.pyth.network</div>
21+
URL: https://hermes-beta.pyth.network
3022

31-
</InfoBox>
23+
</Callout>
24+
25+
### Rate limits
26+
27+
In order to maximize the reliability of the Public Hermes API, a request rate limit is enforced.
28+
All endpoints limits are set at 30 requests every 10 seconds per IP address.
29+
Clients issuing request above the limit will receive a 429 (Too Many Requests) response for the subsequent 60-second period.
3230

3331
For production deployments, developers integrating with Pyth Network are **strongly encouraged** to use Node Providers
3432
for maximum resilience and decentralization. Moreover, Hermes is designed to be self-hosted, so developers can run their own
35-
instance of Hermes to fetch Pyth price updates. Please note it is not recommended to use the public endpoint for production as it has rate limits.
33+
instance of Hermes to fetch Pyth price updates.
3634

3735
## Node Providers
3836

apps/developer-hub/content/docs/price-feeds/v1/api-instances-and-providers/pythnet-rpc.mdx renamed to apps/developer-hub/content/docs/price-feeds/api-instances-and-providers/pythnet-rpc.mdx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
---
2-
title: "Pythnet RPC: How to Access and Use for Developers"
3-
description: >-
4-
Use Hermes to configure Pythnet RPC. Choose from trusted providers like Triton
5-
or P2P, or self-host a node for secure, reliable data access.
6-
full: false
7-
index: false
8-
---
9-
101
# Pythnet RPC
112

123
You will need a Pythnet RPC to run Hermes, which you can obtain from any of the Pythnet RPC

apps/developer-hub/content/docs/price-feeds/v1/api-reference.mdx renamed to apps/developer-hub/content/docs/price-feeds/api-reference.mdx

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
---
2-
title: "Pyth API Reference: On- and Off-Chain Developer Tools"
3-
description: >-
4-
Pyth Core’s API reference covers EVM, Aptos, CosmWasm, and Hermes. It provides
5-
interactive documentation and guides for both on-chain and off-chain
6-
integration.
7-
full: false
8-
index: false
2+
title: API Reference
3+
description: Comprehensive interactive guide to on-chain and off-chain APIs for developers
4+
icon: Code
95
---
106

117
# API Reference
@@ -17,9 +13,8 @@ The API reference is interactive, so developers can try out the APIs from the we
1713
The following on-chain contracts are documented in the API reference:
1814

1915
- [EVM](api-reference/evm)
20-
- [Aptos](api-reference/aptos)
21-
- [CosmWasm](api-reference/cosmwasm)
2216

2317
Hermes also has interactive API documentation hosted by the service itself:
2418

2519
- [Hermes](https://hermes.pyth.network/docs/)
20+
- [Benchmarks / Historical Prices](https://benchmarks.pyth.network/docs)
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"evm": {
3+
"title": "EVM ↗",
4+
"href": "https://api-reference.pyth.network/price-feeds/evm/getPriceNoOlderThan",
5+
"newWindow": true
6+
},
7+
"hermes": {
8+
"title": "Hermes ↗",
9+
"href": "https://hermes.pyth.network/docs/",
10+
"newWindow": true
11+
}
12+
}

apps/developer-hub/content/docs/price-feeds/v1/best-practices.mdx renamed to apps/developer-hub/content/docs/price-feeds/best-practices.mdx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
---
2-
title: "Pyth Price Feeds: Best Practices for Safe Use"
3-
description: >-
4-
Best practices for Pyth price feeds: secure fixed-point representation,
5-
mitigate latency & threats, use confidence intervals, and follow futures
6-
pricing guidelines.
7-
full: false
8-
index: false
2+
title: Best Practices
3+
description: Technical guidance for safe and effective use of Pyth price feeds in your application
4+
icon: ShieldCheck
95
---
106

117
# Best Practices

apps/developer-hub/content/docs/price-feeds/v1/contract-addresses.mdx renamed to apps/developer-hub/content/docs/price-feeds/contract-addresses.mdx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
---
2-
title: Pyth Contract Addresses for Multiple Blockchains
3-
description: >-
4-
Discover Pyth Price Feed contract addresses for EVM, Solana, Aptos, and more.
5-
Visit our Developer Hub for quick access to your blockchain’s address.
6-
full: false
7-
index: false
2+
title: Contract Addresses
3+
description: Deployed Pyth Price Feed contract addresses across all supported blockchains
4+
icon: AddressBook
85
---
96

107
# Contract Addresses

0 commit comments

Comments
 (0)