> For the complete documentation index, see [llms.txt](https://udonfi-1.gitbook.io/udonfi-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://udonfi-1.gitbook.io/udonfi-docs/udon-protocol-primitives/oracles.md).

# Oracles

In the dynamic world of decentralized finance, having accurate, real-time information is paramount. Think of **Oracles** as the **"eyes and ears"** of Udon Finance. They are essential bridges that securely connect our on-chain protocol with vital off-chain data, especially asset prices. Without precise price feeds, Udon wouldn't be able to calculate your Health Factor accurately, determine fair interest rates, or execute liquidations safely.

At Udon Finance, we've chosen to integrate with [**Stork Oracle**](https://www.stork.network/) – a cutting-edge component designed specifically for the needs of high-performance DApps as a [**Chromia extension**.](https://docs.chromia.com/intro/extensions/stork)

### Understanding Chromia Extensions

**Chromia extensions** serve as pre-built Docker images that enhance containers within the Chromia ecosystem with specialized features or services. They empower developers to seamlessly integrate additional functionality—like oracles, advanced computations (such as AI inference), or optimized data management—without needing to write new code or modify existing applications. These modular solutions enable blockchain applications to scale and adapt efficiently to each project's specific requirements.

### Why Stork Oracle, a Chromia Extension, is Udon's Go-To for Price Feeds

Stork Oracle isn't just any price feed; as a **Chromia extension**, it's a powerhouse for accuracy, speed, and reliability, perfectly complementing Udon's operations on Chromia.

{% stepper %}
{% step %}

### Lightning-Fast & Real-Time Data

The Stork Oracle Chromia extension provides developers and protocols like Udon with **real-time access to up-to-date asset prices**, achieving incredible **sub-millisecond latency**. This means that when the market moves, Udon knows about it almost instantly, allowing for precise calculations and responsive protocol adjustments.
{% endstep %}

{% step %}

### Unmatched Accuracy Through Advanced Aggregation

At its core, Stork utilizes **advanced aggregation algorithms**. Instead of relying on a single source, it gathers data from a **geographically distributed network of data providers**. This robust approach ensures:

* **Highly accurate price feeds:** Minimizing the risk of manipulation or discrepancies.
* **Data stability and availability:** Even during periods of high market volatility or demand, Stork guarantees reliable data delivery. This level of accuracy is essential for DeFi applications, where millions of dollars can hinge on the correct price.
  {% endstep %}

{% step %}

### Seamless Integration with Chromia's Architecture

Being a **Chromia extension**, Stork Oracle integrates with Udon Finance powerfully. By working hand-in-hand with **Chromia's relational blockchain architecture**, Stork enables:

* **Seamless data processing:** Data flows effortlessly from Stork to Udon's smart contracts.
* **Enhanced precision and performance:** The inherent speed and efficiency of Chromia mean that Udon can leverage Stork's accurate feeds to maintain precise interest rates, collateral valuations, and safe liquidation thresholds without being bottlenecked by network congestion or high gas fees. This synergy empowers Udon to deliver a superior and **gas-free DeFi experience**.
  {% endstep %}
  {% endstepper %}

### Stork's Impact on Your Udon Experience

For you, the Udon Finance user, Stork Oracle translates directly into a **more secure, fair, and reliable DeFi experience**:

* **Accurate Interest Rates:** Interest rates for lending and borrowing are always based on the most current market conditions.
* **Safe Collateral Valuation:** Your collateral is valued precisely, ensuring your Health Factor is always a true reflection of your position's safety.
* **Fair Liquidations:** If a liquidation must occur, it's triggered based on accurate, real-time data, protecting the protocol's integrity.

Stork Oracle, as a **Chromia extension**, ensures that Udon Finance operates with the highest standards of precision and performance, allowing you to manage your digital assets with confidence.

References:

* Udon's Stork integration: <https://www.stork.network/>
* Chromia Stork extension docs: <https://docs.chromia.com/intro/extensions/stork>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://udonfi-1.gitbook.io/udonfi-docs/udon-protocol-primitives/oracles.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
