Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a page for Adrastia's Pyth Price Feed Updater #594

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pages/price-feeds/schedule-price-updates.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ The Pyth Data Association sponsors regular on-chain updates for some price feeds
See [Sponsored Feeds](/price-feeds/sponsored-feeds) for the current list of feeds and their update parameters.
If you would like to see additional feeds on this list, please [contact the association via this form](https://tally.so/r/nGz2jj).

There are also two different tools to schedule price updates:
There are also three different tools to schedule price updates:

- [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.
- [Gelato](schedule-price-updates/using-gelato) provides a turnkey automation solution for scheduled updates.
- [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.

For developers comparing these two options, Gelato is simpler, in that it does not require you to operate a service.
However, Scheduler supports more blockchains than Gelato.
For developers comparing these three options, Adrastia and Gelato are simpler, in that they do not require you to operate a service.
1 change: 1 addition & 0 deletions pages/price-feeds/schedule-price-updates/_meta.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"using-adrastia": "Using Adrastia",
"using-gelato": "Using Gelato",
"using-scheduler": "Using Scheduler"
}
35 changes: 35 additions & 0 deletions pages/price-feeds/schedule-price-updates/using-adrastia.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Using Adrastia to Schedule Real-Time Price Updates

## About Adrastia

Established in 2021, [Adrastia](https://adrastia.io) is an automation platform founded by TRILEZ SOFTWARE INC. and leverages over a decade of experience in building and running AI agents to deliver reliable, high-performance automated systems. Adrastia operates with the core values of reliability, transparency, and prudence with a focus on enhancing the security, performance, and efficiency of DeFi systems.

## Pyth Price Feed Updater

Adrastia's Pyth Price Feed Updater is a managed white-glove solution that reliably pushes price updates with speed and efficiency when specified trigger conditions are met. The setup process is simple and Adrastia handles all the heavy lifting.

## Process

Adrastia is working on a decentralized, permissionless system for managing this service where you'll be able to effortlessly choose your preferred service provider and manage all details in an app. In the meantime, they've made the offchain integration process as simple as possible.

1. Reach out to them via email ([[email protected]](mailto:[email protected])) or [Discord](https://discord.adrastia.io/).
2. Provide them with the price feed IDs for which you'd like to schedule price updates.
3. They'll create a public (or private) GitHub repository for you to view the configuration and suggest changes.
4. They'll send you a Service Agreement to authorize.
5. They'll provide you with a set of Automatos (automation) worker addresses for you to fund with gas.
6. They'll start the service and provide you with access to a data analytics dashboard.
7. They'll provide you with a status page for your service, at your request.
8. They'll bill you at the end of the month.

## Configuration

Every price feed supports updates based on either:

1. The price changing by at least the specified threshold, or
2. The heartbeat period being met (i.e. requiring at least one update every so often)

Additionally, every feed also supports early update conditions as an extension of the above criteria. When one feed requires an update based on the regular criteria, additional criteria can be applied to preemptively update other specified price feeds. This early update mechanism saves gas by reducing the amount of update transactions, with the cost savings rooted in performing a minimal amount of proof validations.

## More details

This page covers the key aspects of Adrastia's Pyth Price Feed Updater. For more details including aspects like costs, analytics, terms, and technical specifications, please visit [Adrastia's documentation page](https://docs.adrastia.io/automatos/pyth-price-feed-updater).