Skip to content

Commit 1157191

Browse files
committed
chore(price-pusher) Reanmed Scheduler to Price Pusher
1 parent c60a41d commit 1157191

File tree

8 files changed

+17
-13
lines changed

8 files changed

+17
-13
lines changed

next.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,11 @@ const permanentRedirectArray = [
8686
["/pythnet-price-feeds/hermes", "/price-feeds/how-pyth-works/hermes"],
8787
[
8888
"/documentation/pythnet-price-feeds/scheduler",
89+
"/price-feeds/schedule-price-updates/using-price-pusher",
90+
],
91+
[
8992
"/price-feeds/schedule-price-updates/using-scheduler",
93+
"/price-feeds/schedule-price-updates/using-price-pusher",
9094
],
9195
[
9296
"/documentation/pythnet-price-feeds/off-chain",

pages/price-feeds/push-feeds.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ The feeds can vary by network. Please see the relevant section below for the net
3232
DISCLAIMER: While the Pyth Data Association strives to deliver timely updates,
3333
these push feeds may occasionally experience delays in updates caused by chain
3434
halts, gas estimations and other issues. Applications are advised to run their
35-
own scheduler. Find out how you can run your own scheduler
36-
[here](/price-feeds/schedule-price-updates/using-scheduler).
35+
own price-pusher. Find out how you can run your own price-pusher
36+
[here](/price-feeds/schedule-price-updates/using-price-pusher).
3737
</Callout>

pages/price-feeds/schedule-price-updates.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ There are also three different tools to schedule price updates:
1414

1515
- [Adrastia's Pyth Price Feed Updater](schedule-price-updates/using-adrastia) is a white-glove service that automates price updates based on time and price deviations, supporting any EVM chain.
1616
- [Gelato](schedule-price-updates/using-gelato) provides a turnkey automation solution for scheduled updates.
17-
- [Scheduler](schedule-price-updates/using-scheduler) is a service that developers can run to trigger price updates when certain time or price change conditions are met.
17+
- [Price Pusher](schedule-price-updates/using-price-pusher) is a service that developers can run to trigger price updates when certain time or price change conditions are met.
1818

1919
For developers comparing these three options, Adrastia and Gelato are simpler, in that they do not require you to operate a service.
2020

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"using-adrastia": "Using Adrastia",
33
"using-gelato": "Using Gelato",
4-
"using-scheduler": "Using Scheduler"
4+
"using-price-pusher": "Using Price Pusher"
55
}

pages/price-feeds/schedule-price-updates/using-scheduler.mdx renamed to pages/price-feeds/schedule-price-updates/using-price-pusher.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Scheduler
1+
# Price Pusher
22

3-
The [scheduler](https://github.com/pyth-network/pyth-crosschain/tree/main/apps/price_pusher) (previously known as "price pusher")
3+
The [Price Pusher](https://github.com/pyth-network/pyth-crosschain/tree/main/apps/price_pusher)
44
is an off-chain application that regularly pulls price updates on to a blockchain.
55
Anyone can run this service to regularly update the on-chain Pyth price based on various conditions, such as a minimum update frequency, or a price change threshold.
66
This service can simplify the process of migrating to Pyth from other oracles.

pages/price-feeds/use-pyth-for-morpho.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,24 @@ Pyth provides a wrapper which implements Morpho's `IOracle` interface called [`p
88

99
There are two steps to use Pyth price feeds for Morpho markets:
1010

11-
1. Run the price pusher or scheduler.
11+
1. Run the [Price Pusher](https://github.com/pyth-network/pyth-crosschain/tree/main/apps/price_pusher).
1212
2. Deploy the [`MorphoPythOracle.sol`](https://github.com/pyth-network/pyth-morpho-wrapper/blob/main/src/morpho-pyth/MorphoPythOracle.sol) contract for the respective price feed pair.
1313

1414
<Steps>
1515

16-
### Run the price pusher or scheduler
16+
### Run the Price Pusher
1717

1818
As a pull oracle, Pyth's users are typically responsible for updating the state of on-chain feeds.
1919
Please see [What is a Pull Oracle?](/price-feeds/pull-updates) to learn more about pull updates.
2020

2121
The Pyth Data Association sponsors regular on-chain updates for some price feeds.
2222
See [Sponsored Feeds](./sponsored-feeds.mdx) for the current list of feeds and their update parameters.
2323

24-
If you don't find relevant price IDs in the [Sponsored Feeds](./sponsored-feeds.mdx) list, please contact the Pyth team [here](https://tally.so/r/nGz2jj) to run the scheduler/price pusher for the price feed you need.
24+
If you don't find relevant price IDs in the [Sponsored Feeds](./sponsored-feeds.mdx) list, please contact the Pyth team [here](https://tally.so/r/nGz2jj) to run the Price Pusher for the price feed you need.
2525

2626
### Deploy the Morpho oracle contract
2727

28-
After running the price pusher or scheduler, you can deploy the Morpho oracle contract using the MorphoPythOracle.sol contract.
28+
After running the [Price Pusher](https://github.com/pyth-network/pyth-crosschain/tree/main/apps/price_pusher), you can deploy the Morpho oracle contract using the MorphoPythOracle.sol contract.
2929

3030
To deploy a MorphoPythOracle on an EVM chain, we highly recommend using the factory MorphoPythOracleFactory. Please refer to the factory addresses [here](https://github.com/pyth-network/pyth-morpho-wrapper?tab=readme-ov-file#factory-addresses).
3131

pages/price-feeds/use-real-time-data/pull-integration/solana.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ const solUsdPriceFeedAccount = pythSolanaReceiver
140140

141141
Additionally, updating a price feed is a
142142
permissionless operation, and anyone can run this process. Please see [Using
143-
Scheduler](/price-feeds/schedule-price-updates/using-scheduler) for more
144-
information. Running the scheduler can help with reliability and update
143+
Price Pusher](/price-feeds/schedule-price-updates/using-price-pusher) for more
144+
information. Running the Price Pusher can help with reliability and update
145145
feed/shard pairs that are not part of the default schedule.
146146

147147
</Callout>

pages/price-feeds/use-real-time-data/push-integration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ To use the push integration, developers first need to ensure the feeds used by t
66
Refer to the [Push Feeds page](../push-feeds) to see which feeds are being updated on each blockchain.
77
If your feeds are not listed there, you have several options:
88

9-
- **Run Price Pusher**: Set up and run a [price-pusher](/price-feeds/schedule-price-updates/using-scheduler) to automate the process of updating the on-chain price
9+
- **Run Price Pusher**: Set up and run a [price-pusher](/price-feeds/schedule-price-updates/using-price-pusher) to automate the process of updating the on-chain price
1010
- **Request Feeds**: Fill out [this form](https://tally.so/r/nGz2jj) to request the feeds you need.
1111

1212
Pyth is a decentralized oracle network that provides real-time price data to blockchain applications.

0 commit comments

Comments
 (0)