Pyth Price Feed Updater
Purpose
The Pyth Price Feed Updater is designed to fulfill the essential role of updating Pyth price feeds in your decentralized application. While Pyth officially updates some feeds themselves, most Pyth price feeds require an external service to ensure that they remain current and accurate. This updater service handles that responsibility, automatically retrieving the latest price data from the Pyth network and updating your application’s price feeds accordingly. By doing so, it ensures that your smart contracts have access to the most up-to-date price information, reducing the need for manual updates and helping to maintain the reliability and accuracy of your financial operations.
Overview
Our Pyth Price Feed Updater is a managed white-glove solution utilizing the same network that's used to update our oracles.
Configuration
Feed-specific
Every price feed supports updates based on either:
- The price changing by at least the specified threshold (See Update Thresholds)
- The heartbeat period being met (i.e. requiring at least one update every so often)
Every feed also supports confirmation periods and delays. I.e. Only perform an update if it's been needed for over a set amount of time.
Gas spend
A variety of gas-related parameters can be adjusted, or we can tune them for you.
For those looking for controls on cost or performance, the following parameters can be adjusted:
- Min gas price
- Max gas price
- Transaction types
- Gas price multipliers
- EIP-1559 related parameters:
- Base fee multipliers
- Tip multipliers
- Custom gas pricing algorithm parameters:
- Percentile
- Number of historical blocks to consider in the algorithm
- And more!
If more controls are needed, feel free to reach out!
Analytics
We provide two ways to analyze performance of your managed service:
- A data analytics dashboard
- An uptime monitoring and alerting app
Data analytics
We provide clients with a Datadog-powered Automatos Worker Dashboard like so:
Uptime monitoring
In addition to our standard Uptime (opens in a new tab) uptime app, we can provide a status page that's specific to your service.
Supported Chains
We support any EVM chain that has access to reliable RPC providers. Automatos is currently running on 20+ chains.
Technical details
Server fleet
We're currently running a fleet of four geographically-distributed high-end dedicated servers to protect against server, local, and regional outages. These are located in New York, Miami, Los Angeles, and Zurich. We protect against company-wide outages by using a mix of three different providers.
RPC nodes
We've built a custom Ethers v6 Fallback Provider (opens in a new tab) to allow our service to continue running even if one of our RPC providers goes down. This is a critical feature for ensuring that our service remains operational even in the face of unexpected issues.
Each of our worker nodes use a different configuration of RPC providers to prevent a single faulty provider from causing an outage. Up to eight providers are currently used depending on the chain, including reliable providers like Alchemy, Infura, and DRPC.
Advanced features like provider health checks and automatic failover are used to ensure minimal latency and maximum uptime.
On the Pythnet RPC side, we utilize multiple Pyth Hermes node providers to ensure that we can always access the latest price data.
Monitoring
Internally, we rely on a mix of Datadog, Grafana, and Betterstack to monitor our service. If something goes wrong, someone from our team is alerted immediately and can take action to resolve the issue. We're committed to having someone available 24/7 365 days a year to ensure that our service remains operational with near 100% uptime, even if that means that our founder can't take a break.
Externally, see the Data analytics section.
Pricing
We charge a monthly fee based on monitoring frequency and chain, supporting up to 100 price feeds per chain. Gas costs are not included, but we don't charge a gas price premium. See the table below for more details.
Block time | Example chain | Monitoring frequency | Price | Gas price premium |
---|---|---|---|---|
10-20 seconds | Ethereum | 3 seconds | $100/month | None |
1-10 seconds | Optimism | 1 second | $200/month | None |
< 1 second | Arbitrum One | 200 milliseconds | $800/month | None |
We accept crypto (preferred), credit card, and PayPal.
Process
We're currently working on a decentralized, permissionless system for managing this service. In the meantime, we've made the manual integration process as simple as possible.
- Reach out to us via email ([email protected]) or Discord (opens in a new tab).
- Provide us with the price feed IDs on each chain you'd like us to manage.
- We'll create a private (or public) Github repository for you to view the configuration and suggest changes.
- We'll send you a Service Agreement to sign.
- We'll provide you with a set of Automatos worker addresses for you to fund with gas.
- We'll start the service and provide you with access to a Data analytics dashboard.
- We'll provide you with a status page for your service.
- We'll bill you at the end of the month.
Terms
In addition to guaranteeing we'll maintain the Technical details of the service, we also guarantee the following:
- We offer an SLA of 99.99% uptime.
- Any unused gas funds will be returned upon request or termination of the serive.
- Either party may terminate the service by providing 60 days notice.
- We'll optimize the use of gas funds to ensure efficient operation of the service.
- We're not responsible for any losses incurred due to service downtime, chain downtime, Pyth network downtime or errors, or any other issues outside of our control.
- While most uptimes occur within a few blocks of being required, we guarantee that updates will occur within one minute.
This list of guarantees is not exhaustive, but it should give you a good idea of what to expect. The full list of terms will be provided in our Service Agreement.