Skip to main content
QUICK REVIEW

[Paper Review] Blockchain Oracle Design Patterns

Amirmohammad Pasdar, Zhongli Dong|arXiv (Cornell University)|Jun 17, 2021
Blockchain Technology Applications and SecurityComputer Science33 references22 citations
TL;DR

This paper proposes a systematic classification of blockchain oracles into voting-based and reputation-based design patterns, analyzing how they provide trusted off-chain data feedback to smart contracts. It identifies key technical strategies for data integrity, scalability, and security, offering a foundation for designing high-performance, decentralized oracles across multiple blockchains.

ABSTRACT

Blockchain is a form of distributed ledger technology (DLT) where data is shared among users connected over the internet. Transactions are data state changes on the blockchain that are permanently recorded in a secure and transparent way without the need of a third party. Besides, the introduction of smart contracts to the blockchain has added programmability to the blockchain and revolutionized the software ecosystem leading toward decentralized applications (DApps) attracting businesses and organizations to employ this technology. Although promising, blockchains and smart contracts have no access to the external systems (i.e., off-chain) where real-world data and events resides; consequently, the usability of smart contracts in terms of performance and programmability would be limited to the on-chain data. Hence, \emph{blockchain oracles} are introduced to mitigate the issue and are defined as trusted third-party services that send and verify the external information (i.e., feedback) and submit it to smart contracts for triggering state changes in the blockchain. In this paper, we will study and analyze blockchain oracles with regard to how they provide feedback to the blockchain and smart contracts. We classify the blockchain oracle techniques into two major groups such as voting-based strategies and reputation-based ones. The former mainly relies on participants' stakes for outcome finalization while the latter considers reputation in conjunction with authenticity proof mechanisms for data correctness and integrity. We then provide a structured description of patterns in detail for each classification and discuss research directions in the end.

Motivation & Objective

  • To address the 'oracle problem'—how external real-world data can be securely and reliably fed into blockchains and smart contracts.
  • To analyze existing blockchain oracle mechanisms from a technical perspective, focusing on feedback delivery to smart contracts.
  • To classify and structure oracle designs into two main categories: voting-based and reputation-based patterns.
  • To identify research gaps in performance, security, and cross-blockchain interoperability for future oracle development.
  • To provide a framework for evaluating and designing trustworthy, high-performance oracles for decentralized applications.

Proposed method

  • Conducting a Multivocal Literature Review (MLR) that includes academic papers, whitepapers, and grey literature to capture diverse oracle designs.
  • Classifying oracles based on their outcome finalization mechanism: voting-based (stake-driven consensus) vs. reputation-based (reputation and authenticity proof-driven).
  • Analyzing technical components such as data aggregation, authenticity proof mechanisms, and consensus algorithms used in oracle systems.
  • Evaluating oracle performance through metrics like response time, transaction cost, and scalability, with reference to systems like Chainlink's Off-Chain Reporting (OCR).
  • Examining blockchain-agnostic designs (e.g., Band Protocol, Chainlink) to assess interoperability across different blockchain ecosystems.
  • Assessing query type handling (binary, scalar, categorical) and the need for efficient data aggregation and integrity verification techniques.

Experimental results

Research questions

  • RQ1How do blockchain oracles provide final feedback (i.e., outcome) to smart contracts?
  • RQ2What are the distinguishing technical patterns in voting-based versus reputation-based oracle designs?
  • RQ3How do authenticity proof mechanisms contribute to data integrity and correctness in oracle systems?
  • RQ4What are the key challenges in performance, security, and cross-blockchain compatibility for oracle design?
  • RQ5How can blockchain-agnostic oracles improve interoperability and reduce dependency on single-chain solutions?

Key findings

  • Voting-based oracles rely on stake-weighted voting to finalize outcomes, but many lack robust authenticity proof mechanisms, risking data manipulation.
  • Reputation-based oracles use trusted participants with verified reputations to report data, improving reliability when combined with cryptographic proofs.
  • Chainlink’s Off-Chain Reporting (OCR) significantly reduces operational costs and improves performance by enabling off-chain computation and aggregation.
  • There is a critical need for standardized requirements to identify legitimate blockchain oracles, especially amid rising risks of fraudulent projects and misleading tokens.
  • Most existing oracle designs are blockchain-specific, highlighting the need for more blockchain-agnostic patterns to support multi-chain decentralized applications.
  • Handling non-binary query types (e.g., scalar, categorical) remains a challenge due to data diversity and the lack of efficient aggregation and verification mechanisms.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.