Skip to content

Commit 28ab8ab

Browse files
committed
feat(dev-hub) Added Pyth Core Price Feed Id table
1 parent c67b0b5 commit 28ab8ab

File tree

12 files changed

+268
-79
lines changed

12 files changed

+268
-79
lines changed

apps/developer-hub/.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ build/
1111
node_modules/
1212
package.json
1313
tsconfig*.json
14+
content/docs/price-feeds/core/use-real-time-data/pull-integration/ton.mdx

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

File renamed without changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"pages": [
3-
"[EVM \u2197](https://api-reference.pyth.network/price-feeds/evm/getPriceNoOlderThan)",
4-
"[Hermes \u2197](https://hermes.pyth.network/docs/)"
3+
"[EVM](https://api-reference.pyth.network/price-feeds/evm/getPriceNoOlderThan)",
4+
"[Hermes](https://hermes.pyth.network/docs/)"
55
]
66
}
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
{
2-
"pages": [
3-
"[Price Feed IDs](./price-feed-ids)",
4-
"[Asset Classes](./asset-classes)"
5-
]
2+
"pages": ["price-feed-ids", "asset-classes"]
63
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: Price Feed IDs
3+
description: List of price feed IDs for all the assets supported by Pyth Core
4+
slug: /price-feeds/core/price-feeds/price-feed-ids
5+
---
6+
7+
import { Callout } from "fumadocs-ui/components/callout";
8+
import { PriceFeedIdsCoreTable } from "../../../../../src/components/PriceFeedIdsCoreTable";
9+
10+
# Price Feed IDs
11+
12+
The following table lists the price feed IDs for all the assets supported by Pyth Core.
13+
14+
<Callout type="info">
15+
Pyth Core Price Feed IDs **are different** from Pyth Pro Price Feed IDs.
16+
Please refer to the [Pyth Pro Price Feed IDs](/price-feeds/pro/price-feed-ids)
17+
page for Pyth Pro Price Feed IDs.
18+
</Callout>
19+
20+
<Callout type="info" title="Important Note for **Testnet** Users">
21+
Developers using any of these testnets:
22+
23+
- Aptos Testnet
24+
- Sui Testnet
25+
- Near Testnet
26+
27+
Please use the **Beta** price feed IDs instead of the stable ones.
28+
29+
</Callout>
30+
31+
<PriceFeedIdsCoreTable />

apps/developer-hub/content/docs/price-feeds/core/use-real-time-data/pull-integration/ton.mdx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,16 @@ Install the Pyth TON SDK and other necessary dependencies using npm:
1515

1616
<Tabs items={["npm", "yarn"]}>
1717
<Tab value="npm">
18-
```bash copy npm install @pythnetwork/pyth-ton-js @pythnetwork/hermes-client
19-
@ton/core @ton/ton @ton/crypto ```
18+
```bash copy
19+
npm install @pythnetwork/pyth-ton-js @pythnetwork/hermes-client
20+
@ton/core @ton/ton @ton/crypto
21+
```
2022
</Tab>
2123
<Tab value="yarn">
22-
```bash copy yarn add @pythnetwork/pyth-ton-js @pythnetwork/hermes-client
23-
@ton/core @ton/ton @ton/crypto```
24+
```bash copy
25+
yarn add @pythnetwork/pyth-ton-js @pythnetwork/hermes-client
26+
@ton/core @ton/ton @ton/crypto
27+
```
2428
</Tab>
2529
</Tabs>
2630

apps/developer-hub/migration-report.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

apps/developer-hub/migration-report.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

apps/developer-hub/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"@pythnetwork/component-library": "workspace:*",
2626
"@pythnetwork/contract-manager": "workspace:*",
2727
"@pythnetwork/entropy-sdk-solidity": "workspace:*",
28+
"@pythnetwork/pyth-solana-receiver": "workspace:*",
2829
"@react-hookz/web": "catalog:",
2930
"clsx": "catalog:",
3031
"fumadocs-core": "catalog:",
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.table {
2+
overflow-x: scroll;
3+
}

0 commit comments

Comments
 (0)