Skip to content

Commit fa19dd1

Browse files
committed
chore(price-feeds) Improved layout, added a new guide
1 parent e64c38d commit fa19dd1

24 files changed

+162
-40
lines changed

pages/price-feeds/_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"type": "separator"
2424
},
2525

26-
"use-real-time-data": "Pull Real-Time Price Data",
26+
"use-real-time-data": "Use Real-Time Price Data",
2727
"use-historic-price-data": "Use Historic Price Data",
2828
"fetch-price-updates": "Fetch Price Updates",
2929
"schedule-price-updates": "Schedule Price Updates",

pages/price-feeds/index.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ Data is sourced from 120+ first-party providers including major exchanges and ma
6161
<BarChartIcon />
6262
</div>
6363
<span className="text-gray-600 dark:text-gray-400 text-sm font-medium">
64-
High-frequency data
64+
400ms frequency updates
6565
</span>
6666
</div>
6767
<div className="flex items-center gap-3">
6868
<div className="text-blue-600 dark:text-blue-400 text-sm flex-shrink-0">
6969
<MultiChainIcon />
7070
</div>
7171
<span className="text-gray-600 dark:text-gray-400 text-sm font-medium">
72-
Multi-chain support
72+
100+ blockchains (EVM, Solana, Aptos, Sui, etc.)
7373
</span>
7474
</div>
7575
</div>
@@ -91,21 +91,21 @@ Data is sourced from 120+ first-party providers including major exchanges and ma
9191
<div className="p-6 bg-gray-50 dark:bg-gray-900">
9292
<h4 className="text-lg font-semibold text-gray-900 dark:text-white mb-4">Integration Methods</h4>
9393
<div className="space-y-6">
94-
{/* Pull Architecture */}
94+
{/* Pull Integration */}
9595
<div className="space-y-3">
9696
<div className="flex items-center gap-3">
9797
<div className="w-2 h-2 bg-green-500 rounded-full"></div>
98-
<h5 className="font-medium text-gray-900 dark:text-white">Pull Architecture</h5>
98+
<h5 className="font-medium text-gray-900 dark:text-white">Pull Integration</h5>
9999
</div>
100100
<p className="text-sm text-gray-600 dark:text-gray-400 ml-5">
101-
Update prices on-demand, permissionlessly every 400ms.
101+
Update 2000+ prices on-demand, permissionlessly every 400ms.
102102
</p>
103103
<div className="ml-5">
104104
<a
105105
href="./price-feeds/use-real-time-data"
106106
className="inline-flex items-center gap-2 bg-green-600 hover:bg-green-700 text-white px-4 py-2 rounded-md transition-colors text-sm font-medium"
107107
>
108-
Integrate Pull Method
108+
Get Started with Pull Integration
109109
<svg className="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
110110
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M9 5l7 7-7 7" />
111111
</svg>
@@ -117,17 +117,17 @@ Data is sourced from 120+ first-party providers including major exchanges and ma
117117
<div className="space-y-3">
118118
<div className="flex items-center gap-3">
119119
<div className="w-2 h-2 bg-blue-500 rounded-full"></div>
120-
<h5 className="font-medium text-gray-900 dark:text-white">Push Feeds</h5>
120+
<h5 className="font-medium text-gray-900 dark:text-white">Push Integration</h5>
121121
</div>
122122
<p className="text-sm text-gray-600 dark:text-gray-400 ml-5">
123-
Pyth Data Association sponsored price updates to make prices available directly from smart contracts.
123+
Consume Pyth real-time prices without pulling them explicitly.
124124
</p>
125125
<div className="ml-5">
126126
<a
127127
href="./price-feeds/pushed-feeds"
128128
className="inline-flex items-center gap-2 bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md transition-colors text-sm font-medium"
129129
>
130-
Explore Push Feeds
130+
Get Started with Push Integration
131131
<svg className="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
132132
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M9 5l7 7-7 7" />
133133
</svg>

pages/price-feeds/pushed-feeds.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Callout } from "nextra/components";
44

55
The Pyth Data Association **pushes** price updates for various feeds on some networks.
66
These feeds are updated at a specific heartbeat rate or when the price changes by a specific percentage.
7-
Developers don't need to [pull prices](./fetch-price-updates.mdx) for the following feeds, unless they required short update intervals.
7+
Applications can depend on receiving updates for these feeds, without having to pull them explicitly.
88

99
The feeds can vary by network. Please see the relevant section below for the network of interest.
1010

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1+
import { Callout } from "nextra/components";
2+
13
import { SponsoredFeedsTable } from "../../../components/SponsoredFeedsTableWithData";
24
import aptosMainnet from "../pushed-feeds/data/aptos/aptos_mainnet.json";
35

46
# Push Feeds on Aptos
57

68
## Aptos Mainnet
79

10+
<Callout type="info" emoji="ℹ️">
11+
If you would like to see additional feeds on this list, please fill in this
12+
[form](https://tally.so/r/nGz2jj) to signal your interest.
13+
</Callout>
14+
815
<SponsoredFeedsTable feeds={aptosMainnet} networkName="Aptos mainnet" />

pages/price-feeds/pushed-feeds/evm.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { Callout } from "nextra/components";
2+
13
import { SponsoredFeedsTable } from "../../../components/SponsoredFeedsTableWithData";
24
import arbitrumMainnet from "../pushed-feeds/data/evm/arbitrum_mainnet.json";
35
import avalancheMainnet from "../pushed-feeds/data/evm/avalanche_mainnet.json";
@@ -23,6 +25,11 @@ The following EVM chains have Push feeds:
2325
- [Soneium Mainnet](#soneium-mainnet)
2426
- [Sonic Mainnet](#sonic-mainnet)
2527

28+
<Callout type="info" emoji="ℹ️">
29+
If you would like to see additional feeds on this list, please fill in this
30+
[form](https://tally.so/r/nGz2jj) to signal your interest.
31+
</Callout>
32+
2633
## Arbitrum Mainnet
2734

2835
<SponsoredFeedsTable feeds={arbitrumMainnet} networkName="Arbitrum mainnet" />
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1+
import { Callout } from "nextra/components";
2+
13
import { SponsoredFeedsTable } from "../../../components/SponsoredFeedsTableWithData";
24
import fogoTestnet from "../pushed-feeds/data/svm/fogo_testnet.json";
35

46
# Push Feeds on Fogo
57

68
## Fogo Testnet
79

10+
<Callout type="info" emoji="ℹ️">
11+
If you would like to see additional feeds on this list, please fill in this
12+
[form](https://tally.so/r/nGz2jj) to signal your interest.
13+
</Callout>
14+
815
<SponsoredFeedsTable feeds={fogoTestnet} networkName="Fogo testnet" />
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1+
import { Callout } from "nextra/components";
2+
13
import { SponsoredFeedsTable } from "../../../components/SponsoredFeedsTableWithData";
24
import movementMainnet from "../pushed-feeds/data/movement/movement_mainnet.json";
35

46
# Push Feeds on Movement
57

68
## Movement Mainnet
79

10+
<Callout type="info" emoji="ℹ️">
11+
If you would like to see additional feeds on this list, please fill in this
12+
[form](https://tally.so/r/nGz2jj) to signal your interest.
13+
</Callout>
14+
815
<SponsoredFeedsTable feeds={movementMainnet} networkName="Movement mainnet" />

pages/price-feeds/pushed-feeds/solana.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1+
import { Callout } from "nextra/components";
2+
13
import { SponsoredFeedsTable } from "../../../components/SponsoredFeedsTableWithData";
24
import solanaMainnet from "../pushed-feeds/data/svm/solana_mainnet.json";
35

46
# Push Feeds on Solana
57

8+
<Callout type="info" emoji="ℹ️">
9+
If you would like to see additional feeds on this list, please fill in this
10+
[form](https://tally.so/r/nGz2jj) to signal your interest.
11+
</Callout>
12+
613
## Solana Mainnet
714

815
<SponsoredFeedsTable
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1+
import { Callout } from "nextra/components";
2+
13
import { SponsoredFeedsTable } from "../../../components/SponsoredFeedsTableWithData";
24
import suiMainnet from "../pushed-feeds/data/sui/sui_mainnet.json";
35

46
# Push Feeds on Sui
57

8+
<Callout type="info" emoji="ℹ️">
9+
If you would like to see additional feeds on this list, please fill in this
10+
[form](https://tally.so/r/nGz2jj) to signal your interest.
11+
</Callout>
12+
613
## Sui Mainnet
714

815
<SponsoredFeedsTable feeds={suiMainnet} networkName="Sui mainnet" />
Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,16 @@
11
import { Callout } from "nextra/components";
22

3-
# How to Pull Real-Time Price Data
3+
# How to Use Real-Time Price Data
44

5-
The following guides demonstrate how to consume **Pull** Pyth real-time prices on various blockchains.
5+
The following guides demonstrate how to consume Pyth real-time prices on various blockchains.
66
These guides are intended for developers building on-chain applications that need latest price data, i.e., the price data must
77
be on the blockchain.
88

9-
<Callout type="info" emoji="ℹ️">
10-
The following guides show **how to pull real-time** price data. If you want to
11-
read prices from smart contracts, see [Push Feeds](../pushed-feeds).
12-
</Callout>
13-
149
Pyth price feeds are available on 100+ blockchain ecosystems.
1510
Check out the complete list of chains and implementation contract addresses at [Contract Addresses](contract-addresses).
1611

1712
If your blockchain is not supported, please [ask in the dev-forum](https://dev-forum.pyth.network/latest).
18-
Then, consult the relevant ecosystem guide to get started using Pyth pull real-time price data:
13+
Then, consult the relevant ecosystem guide to get started using Pyth **pull** real-time price data:
1914

2015
- [EVM](use-real-time-data/evm)
2116
- [Solana](use-real-time-data/solana)
@@ -25,12 +20,16 @@ Then, consult the relevant ecosystem guide to get started using Pyth pull real-t
2520
- [IOTA](use-real-time-data/iota.md)
2621
- [Near](use-real-time-data/sui.md)
2722

23+
To consume real-time price data using **push** integration, check out the following guides:
24+
25+
- [Using Push Integration](use-real-time-data/push-integration)
26+
27+
This guide will walk you through the steps to use real-time price data using Push Integration in every ecosystem.
28+
2829
Pyth price feeds can also be used in off-chain applications.
2930
For example, an application may need to show real-time asset prices on a website.
3031
Developers building such applications can consult the following guide:
3132

3233
- [Off-chain Apps](use-real-time-data/off-chain.md)
3334

34-
Off-chain application developers should also consider using [Benchmarks](../benchmarks).
35-
In addition to real-time data, Benchmarks provides access to historical Pyth prices.
36-
These historical prices are useful for building price charts or graphs.
35+
To fetch historical prices, application developers can check out the [Use Historic Price Data](use-historic-price-data) guide.

0 commit comments

Comments
 (0)