Foundational Oracle Patterns: Connecting Blockchain to the Off-chain World

Roman Mühlberger, Stefan Bachhofner, Eduardo Castelló Ferrer, Claudio Di Ciccio, Ingo Weber +2 more
7/29/2020
cs.SEcs.CR

Official code: MacOS/blockchain-oracles-data-collection (5 stars, JavaScript, MIT, last commit 2023-01-24).

Abstract

Blockchain has evolved into a platform for decentralized applications, with beneficial properties like high integrity, transparency, and resilience against censorship and tampering. However, blockchains are closed-world systems which do not have access to external state.

Show full abstract

To overcome this limitation, oracles have been introduced in various forms and for different purposes. However so far common oracle best practices have not been dissected, classified, and studied in their fundamental aspects. In this paper, we address this gap by studying foundational blockchain oracle patterns in two foundational dimensions characterising the oracles: (i) the data flow direction, i.e., inbound and outbound data flow, from the viewpoint of the blockchain; and (ii) the initiator of the data flow, i.e., whether it is push or pull-based communication. We provide a structured description of the four patterns in detail, and discuss an implementation of these patterns based on use cases. On this basis we conduct a quantitative analysis, which results in the insight that the four different patterns are characterized by distinct performance and costs profiles.

View on arXivView PDF

Code Implementations(1)

MIT

Software Patterns for Blockchain Oracles

50JavaScript, Jupyter NotebookApr 7, 20203 years agoMIT
bitcoinblockchainblockchain-technologyethereumoracle+8 more

Similar Papers

Cite this paper

@article{mhlberger2020foundational,
  title  = {Foundational Oracle Patterns: Connecting Blockchain to the Off-chain World},
  author = {Roman Mühlberger and Stefan Bachhofner and Eduardo Castelló Ferrer and Claudio Di Ciccio and Ingo Weber and Maximilian Wöhrer and Uwe Zdun},
  year   = {2020},
  eprint = {2007.14946},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.14946}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2007.14946.svg)](https://codeofpaper.com/paper/2007.14946)

Discussion