|
1 | 1 | # Design Overview
|
2 | 2 |
|
3 |
| -Pyth is a protocol that allows market participants to publish pricing information on-chain for others to use. The protocol is an interaction between three parties: |
| 3 | +Pyth is a protocol that allows market participants to publish pricing information on-chain for others to use. |
| 4 | +The protocol is an interaction between three parties: |
4 | 5 |
|
5 |
| -1. _Publishers_ submit pricing information to Pyth's oracle program. Pyth has multiple data publishers for every product to improve the accuracy and robustness of the system. |
| 6 | +1. _Publishers_ submit pricing information to Pyth's Oracle program. |
| 7 | + Pyth has multiple data publishers for every product to improve the accuracy and robustness of the system. |
6 | 8 | 2. Pyth's _oracle program_ combines publishers' data to produce a single aggregate price and confidence interval.
|
7 |
| -3. _Consumers_ read the price information produced by the oracle program. |
| 9 | +3. _Consumers_ read the price information produced bsy the Oracle program. |
8 | 10 |
|
9 |
| -Pyth's oracle program runs simultaneously on both Solana mainnet and [Pythnet](how-pyth-works/pythnet.md). |
10 |
| -Each instance of the program is responsible for its own set of price feeds. |
11 |
| -[Solana Price Feeds](solana-price-feeds.md) are available for use by Solana protocols. |
12 |
| -In this case, since the oracle program itself runs on Solana, the resulting prices are immediately available to consumers without requiring any additional work. |
13 |
| -[Pythnet Price Feeds](pythnet-price-feeds.md) are available on 12+ blockchains. |
| 11 | +Pyth's oracle program runs on [Pythnet](how-pyth-works/pythnet.md). |
14 | 12 | The prices constructed on Pythnet are transferred [cross-chain](how-pyth-works/cross-chain.md) to reach consumers on these blockchains.
|
15 | 13 |
|
16 | 14 | In both cases, the critical component of the system is the [oracle program](how-pyth-works/oracle-program.md) that combines the data from each individual publisher.
|
17 |
| -This program maintains a number of different [Solana accounts](how-pyth-works/account-structure.md) that list the products on Pyth and their current price data. |
18 |
| -Publishers publish their price and confidence by interacting with the oracle program on every slot. |
| 15 | +This program maintains a number of different [Pythnet accounts](how-pyth-works/account-structure.md) that list the products on Pyth and their current price data. |
| 16 | +Publishers publish their prices and confidence by interacting with the Oracle program on every slot. |
19 | 17 | The program stores this information in its accounts.
|
20 | 18 | The first price update in a slot additionally triggers [price aggregation](how-pyth-works/price-aggregation.md), which combines the price data from the previous slot into a single aggregate price and confidence interval.
|
21 |
| -This aggregate price is written to the Solana account where it is readable by other on-chain programs and available for transmission to other blockchains. |
| 19 | +This aggregate price is written to the Pythnet account where it is readable by other on-chain programs and available for transmission to different blockchains. |
0 commit comments