Oracles and Lending Protocols:
A Deep Dive into Robust Price Feeds and Kaskad’s future

Lending protocols in decentralized finance (DeFi) are like intricate machines, humming along to facilitate trustless borrowing and lending. At the heart of these machines lies a critical component: the oracle. Oracles are the eyes and ears of lending platforms, delivering real-time, reliable price data for assets used as collateral or borrowed. Without them, the entire system risks grinding to a halt—or worse, spiraling into chaos. In this post, we’ll explore why oracles are indispensable to lending protocols, outline our roadmap for building a robust oracle system for our platform, and explain why Kaspa’s blockDAG and parallel computing architecture position it to power the fastest, most resilient oracles in the long run.
Why Lending Protocols Need Oracles:
The Bedrock of Trustless Finance
Imagine you’re lending money to a friend, and they offer their vintage car as collateral. You’d need to know the car’s market value to decide how much you’re willing to lend and when to seize the car if they can’t repay. In DeFi, lending protocols face a similar challenge, but instead of cars, we’re dealing with volatile crypto assets. Oracles provide the real-time price data needed to value these assets accurately.

Here’s why oracles are non-negotiable for lending protocols:
Get started
Get started
Loan-to-Value (LTV) Ratios
Lending platforms calculate LTV ratios to determine how much a user can borrow against their collateral. For example, if a user deposits $100 worth of KAS and the protocol allows a 70% LTV, they can borrow up to $70. Oracles ensure the $100 valuation is current and trustworthy.
Borrowing Capacity
Accurate price feeds prevent users from overborrowing, which could destabilize the protocol. If an oracle reports an inflated collateral price, a user might borrow more than the collateral can cover, risking insolvency.
Liquidation Triggers
When collateral value drops below a certain threshold (the liquidation ratio), protocols must sell the collateral to recover the loaned amount. Oracles detect these price drops in real time, triggering liquidations to protect lenders from bad debt.
Risk Mitigation
Inaccurate or manipulated price data could lead to undercollateralized loans (where the loan exceeds the collateral’s value) or unfair liquidations (where users lose collateral prematurely). Decentralized oracles aggregate data from multiple sources, reducing the risk of manipulation or single-point failures.
Data integrity, by design
Fair price. Transparent risk. Smarter DeFi.
At Kaskad, oracles aren’t just about price feeds — they’re about trust. Every loan decision is backed by data you can verify, and liquidation rules you can understand. Because real DeFi means no surprises.
Our Oracle Roadmap
Building the best oracle
Our lending protocol is designed with decentralization and user sovereignty at its core. This philosophy also guides our work on oracles, which we’re rolling out in phases. We're building with Elliot Méa’s research on oracle architecture in mind, and in close synergy with some of the teams developing Layer 2 solutions for the Kaspa blockDAG. Let’s break down our v1 oracle and our vision for the future.
Learn more about our Global Roadmap
Learn more about our Global Roadmap
check icon
Q2 2025
V1 Oracle: Laying Groundwork Before Smart Contracts

Before clear information was available regarding the release timeline of Kaspa’s smart contract layer on its L2s, our team began exploring how Kaskad might handle liquidations autonomously. We took inspiration from established protocols like Aave, which rely on external liquidators competing to secure undercollateralized loans. While our long-term goal was always to launch and adopt a decentralized liquidation model leveraging Kaspa’s high-throughput blockDAG and upcoming Layer 2 infrastructure, this early phase gave us space to test core assumptions.


During Q2 2025, we developed and tested a V1 oracle and liquidation engine, built entirely off-chain. This internal prototype was never exposed to users, it was a controlled environment designed to observe how the protocol would behave under liquidation stress. The system was built to flag undercollateralized loans, simulate asset liquidation flows, and benchmark price responsiveness using our own weighted median price feed system.


This phase gave us a pragmatic foundation. It helped us understand how asset volatility, price feeds, and transaction latency might impact liquidation integrity in a live setting. Just as importantly, it allowed us to shape the user experience we envisioned by refining how borrowers and lenders would interact with the protocol under real conditions. By simulating failure paths early, we gained confidence in designing a decentralized model that could scale securely on-chain once smart contracts were available.


Here’s a recap of how we simulated liquidations during this exploratory phase:

  • Ensuring loan security while assuming protocol-side responsibility: In the absence of smart contracts, we simulated a system where Kaskad would temporarily hold user collateral off-exchange while preserving decentralization principles. Rather than depending on centralized platforms to custody or liquidate assets, we built an internal oracle that monitored real-time market prices. If a loan’s LTV crossed the liquidation threshold, the system would flag it and simulate the transfer of collateral to a designated exchange, chosen based on liquidity, transaction speed, and price competitiveness.
    This process helped us identify the operational and design risks involved in safeguarding user funds while working within the limited, early-stage pre-decentralization the protocol offered at the time.
  • Why simulate this approach? Our aim was to avoid relying on self-custody or manual liquidations. Even in this early test environment, we wanted to protect user funds through automated, rule-based liquidation logic. Running this off-chain gave us visibility into timing, risk exposure, and alert mechanisms. It also helped validate how transparent, pre-defined liquidation flows could support trust and protocol stability.
  • Building a robust oracle prototype: Our internal V1 oracle aggregated price feeds from major exchanges using a weighted median model. We explored methodologies used by leaders like Chainlink, Pyth, and Flare, but tailored the system to Kaspa's needs. Feed weighting was based on liquidity, volume, and exchange reliability. This allowed us to reduce the impact of outliers and test how price manipulation resistance could be improved in future on-chain versions.
    In later stages, we’ll share a deeper breakdown of oracle performance under high-volatility test conditions and explain what’s next, as we’re transitioning to an on-chain model using Kaspa’s L2.
SOON
Long-Term Vision: The Most Secure Oracle, Powered by Kaspa
Our ambition doesn’t stop at a solid v1 oracle. Thanks to a grant from the Kaspa Ecosystem Foundation (KEF), Eliott Mea has become a full time oracle researcher, under the direct supervision of Kaspa founder Yonatan Sompolinsky. This research will position our lending protocol as the first to deploy the most secure and decentralized oracle in DeFi. Not only will the theory of the oracle improve anything that has been seen so far in the market, but implemented on Kaspa’s unique blockDAG architecture will allow for unparalleled speed, scalability, and resilience.
Why Kaspa enables superior Oracles.
High Throughput for Real-Time Data
Oracles need to fetch and deliver price data from multiple sources (exchanges, APIs, etc.) with minimal latency. Kaspa already processes 10 blocks per second, with plans to scale to 100 blocks per second. This means oracles can record and propagate price updates across the network almost instantly, ensuring lending protocols have up-to-the-second data for LTV calculations and liquidations. In contrast, slower blockchains like Bitcoin (1 block every 10 minutes) or Ethereum (1 block every 12 seconds) introduce delays that could lead to outdated price feeds and costly errors.
Parallel Processing for Robust Aggregation
Oracles aggregate data from multiple sources to compute a reliable price. This requires significant computational power, especially when handling high-frequency updates or large datasets. Kaspa’s parallel computing model, enabled by GHOSTDAG, allows nodes to process multiple blocks simultaneously without compromising consensus. For oracles, this means faster aggregation of price feeds, as nodes can validate and incorporate data from dozens of sources in parallel. The result is a more resilient oracle that can handle spikes in data volume without bottlenecks.
Scalability for Global Adoption
As Kaspa’s DeFi scales, lending protocols must support millions of users and process vast amounts of real-time data. Oracles play a critical role in this infrastructure by feeding accurate, up-to-date information across protocols. Kaspa’s blockDAG architecture scales linearly with network demand, making it uniquely suited for high-throughput oracle operations. Unlike traditional blockchains where increased block size or frequency undermines security, Kaspa preserves decentralization and speed at scale. This allows oracle networks built on Kaspa to support global lending platforms without trade-offs, making it a strong foundation for next-generation DeFi scalability.