You are reading an excerpt from our free but shortened abridged report! While still packed with incredible research and data, for just $20/month you can upgrade to our FULL library of 50+ reports (including this one) and complete industry-leading analysis on the top crypto assets.
Becoming a Premium member means enjoying all the perks of a Basic membership PLUS:
- Full-length CORE Reports: More technical, in-depth research, actionable insights, and potential market alpha for serious crypto users
- Early access to future CORE ratings: Being early is sometimes just as important as being right!
- Premium Member CORE+ Reports: Coverage on the top issues pertaining to crypto users like bridge security, layer two solutions, DeFi plays, and more
- CORE report Audio playback: Don’t want to read? No problem! Listen on the go.
Chainlink is the frontrunner in providing reliable and decentralized oracle solutions. With its commitment to achieving determinism on the oracle layer, Chainlink has set itself apart from other probabilistic-based approaches, which can be susceptible to scams and fraud due to their reliance on paper guarantees.
At the core of Chainlink's vision lies the concept of cryptographic truth. To realize this vision, Chainlink has developed Decentralized Oracle Networks (DONs), a groundbreaking solution that sets it apart from traditional single-oracle systems. Unlike relying on a single oracle, Chainlink's approach involves over 1,000 DONs, each tailored for specific use cases. This decentralized network architecture ensures that data authenticity and delivery are secured through cryptographic proof, signed by multiple nodes, and stored on-chain. Consequently, Chainlink's DONs offer a tamper-resistant and reliable data connection for smart contracts.
Originally known for its data feed capabilities, Chainlink's product suite now extends to various use cases, including random number generation for gaming and prediction markets, proof of reserves for CEX, wrapped tokens, and stablecoins, off-chain data sources for smart contract automation, and easy blockchain integration for enterprises.
As the number of blockchain networks increases, the demand for robust cross-chain solutions becomes more apparent. Chainlink addresses this issue through its Cross-chain Interoperability Protocol (CCIP). The CCIP aims to create a blueprint for safe and trustless cross-chain interactions, enabling secure trustless communication across different blockchain networks while maintaining deterministic guarantees on data immutability and validity.
In conclusion, Chainlink's success as the leading oracle solution is a testament to its commitment to decentralization, cryptographic truth, and deterministic outcomes. As the blockchain industry continues to evolve, Chainlink's role in ensuring data integrity and seamless cross-chain communication remains crucial. By setting high standards for reliability and security, Chainlink is driving the transformation of the cryptocurrency landscape, empowering smart contracts to operate with unmatched trust and efficiency.
Oracles and Their Risks in DeFi
Blockchain oracles play a critical role in enabling the execution of agreements through smart contracts. While smart contracts are self-governing programs operating on the blockchain, their ability to interact with deterministic off-chain systems poses complexity. Deterministic systems produce expected results based on specific inputs and static states. Blockchains aim for consensus on basic binary questions relying on data already stored in their ledgers. However, incorporating off-chain data directly into blockchains would disrupt determinism, as off-chain data is subject to frequent changes. This would hinder consensus among nodes and undermine the distributed nature of blockchain.
Oracles solve this problem by pulling external data and relaying it to blockchains for use in smart contracts. By doing so, they allow blockchains to securely utilize off-chain data without compromising consensus. Nonetheless, the use of oracles introduces challenges, including the potential for incorrect or manipulated data inputs. Centralized oracles can act as single points of failure and raise trust concerns. To address these issues, multiple oracles can be used to provide redundant data, and decentralized oracles offer tamper-proof and transparent data sourcing through distributed networks of nodes.
Traditionally, DeFi lending and derivatives protocols have used oracles for important functions. For instance, they decide when a loan should be liquidated based on the current value of the collateral. This generally restricts eligible collateral to assets that have reliable oracle price feeds. Similarly, derivatives protocols that rely on oracles lack internal price discovery mechanisms and are susceptible to lags in price updates, which can limit their scalability and user experience.
More importantly, reliance on oracles creates an additional vulnerability for DeFi protocols. If a protocol's oracle is compromised, it can be manipulated, providing attackers with an unfair advantage over the protocol and its users.
In an oracle manipulation attack, the goal is to trick a system (in this case, a lending protocol) into thinking that more money has been deposited than actually has been. This allows the attacker to borrow more money than they should be able to. For example, if an attacker deposits $1,000, but manipulates the protocol to think they deposited $5,000, they might be able to borrow $3,000. This is a problem because the protocol has been tricked into giving out more money than it should.
One way that attackers can do this is by messing with the prices of cryptocurrencies on decentralized exchanges like Uniswap. Uniswap is a platform where people can trade different cryptocurrencies. Some older or less reputable projects have made the mistake of using Uniswap to get price information. This is risky because it's easy for an attacker to manipulate the prices on Uniswap by taking a short-term loan (called a flashloan) and temporarily changing the price.
Another way that attackers can manipulate prices is by targeting less-liquid assets like LP tokens or shares in vaults. LP tokens are tokens that represent a share of a liquidity pool on a decentralized exchange. An example of this type of attack is the Warp Finance hack. Warp Finance allowed people to deposit LP tokens as collateral for loans. To determine the value of these tokens, Warp Finance used a formula that involved the total value locked (TVL) in a liquidity pool.
Oracle-Free Protocols: Peer-to-Peer Lending and AMM-based Hybrids
Emerging oracle-free protocols aim to rebuild DeFi's core services by moving away from this dependence on oracles, but this comes with its own set of trade-offs. The design of these oracle-free protocols can be divided into two categories: peer-to-peer lending and hybrid protocols built on automated market makers (AMMs).
- Peer-to-Peer Lending: This model shifts the burden of pricing and underwriting from the protocol to the user. Lenders decide their own value comparisons, leading to the creation of a loan order book similar to those on centralized exchanges. This means loans can be created from any on-chain collateral, shifting the burden of bad debt from the protocol to the user and enabling lending against a broader range of assets. However, this model does reintroduce oracle-risk as users or external protocols would likely still rely on oracles to rebalance positions. Notable protocols in this category include Ajna and Blur’s Blend
- AMM-based Hybrids: These protocols are built on top of AMM Liquidity Provider (LP) positions, such as those from Uniswap V3, and use DEX liquidity to provide users with leverage or derivative instruments. In this model, the LP positions effectively function as an oracle. Plus, these LP positions provide a primary market to offload protocol inventory during liquidations or contract expiration, creating greater efficiencies within the protocol and mitigating some forms of Miner Extractable Value (MEV). Protocols in this category to watch include InfinityPools, Limitless, and Panoptic.
By replacing the reliance on oracles with novel architectures, these new DeFi builders are exploring alternative ways to make lending and derivatives markets more efficient, flexible, and secure.
