Skip to main content
QUICK REVIEW

[Paper Review] Witnet: A Decentralized Oracle Network Protocol

Adán Sánchez de Pedro Crespo, Daniele Levi|arXiv (Cornell University)|Jan 1, 2017
Cryptography and Data SecurityComputer Science24 references37 citations
TL;DR

Witnet proposes a decentralized oracle network (DON) that enables trustless, verifiable retrieval of external data by smart contracts using a novel Retrieve-Attest-Deliver (RAD) protocol. It combines reputation-based witness selection, sharded task distribution, and blockchain-based incentives to ensure data integrity, scalability, and resistance to Sybil and eclipse attacks, forming the foundation for a censorship-resistant digital knowledge archive.

ABSTRACT

Witnet is a decentralized oracle network (DON) that connects smart contracts to the outer world. Generally speaking, it allows any piece of software to retrieve the contents published at any web address at a certain point in time, with complete and verifiable proof of its integrity and without blindly trusting any third party. Witnet runs on a blockchain with a native protocol token (called Wit), which miners-called witnesses-earn by retrieving, attesting and delivering web contents for clients. On the other hand, clients spend Wit to pay witnesses for their Retrieve-Attest-Deliver (RAD) work. Witnesses also compete to mine blocks with considerable rewards, but Witnet mining power is proportional to their previous performance in terms of honesty and trustworthiness-this is, their reputation as witnesses. This creates a powerful incentive for witnesses to do their work honestly, protect their reputation and not to deceive the network. The Witnet protocol is designed to assign the RAD tasks to witnesses in a way that mitigates most attack vectors to the greatest extent. At the same time, it includes a novel 'sharding' feature that (1) guarantees the efficiency and scalability of the network, (2) keeps the price of RAD tasks within reasonable bounds and (3) gives clients the freedom to adjust certainty and price by letting them choose how many witnesses will work on their RAD tasks. When coupled with a Decentralized Storage Network (DSN), Witnet also gives us the possibility to build the Digital Knowledge Ark: a decentralized, immutable, censorship-resistant and eternal archive of humanity's most relevant digital data. A truth vault aimed to ensure that knowledge will remain democratic and verifiable forever and to prevent history from being written by the victors.

Motivation & Objective

  • To solve the trust problem in smart contracts accessing external data by enabling verifiable, decentralized oracle services.
  • To design a scalable and secure architecture for decentralized data retrieval that prevents manipulation and Sybil attacks.
  • To create a reputation system that aligns witness incentives with honest behavior and long-term network integrity.
  • To enable the creation of a permanent, immutable digital archive of human knowledge through integration with decentralized storage networks (DSNs).
  • To formalize a protocol that allows clients to adjust certainty and cost by selecting the number of witnesses per task.

Proposed method

  • The system uses a three-phase RAD (Retrieve-Attest-Deliver) protocol: clients submit data retrieval requests, witnesses retrieve and attest to data, and results are delivered to the client.
  • Witnesses are selected based on reputation, which is computed using a demurrage function that decays over time and penalizes dishonest behavior.
  • The protocol employs a sharding mechanism to distribute RAD tasks across multiple witnesses, improving scalability and enabling clients to tune reliability and cost.
  • A reputation-based mining protocol ensures that block mining power is proportional to past performance, incentivizing honesty and discouraging collusion.
  • The system integrates with external platforms via 'bridges,' including Ethereum, DSNs, and web APIs, enabling cross-chain data flow.
  • Smart contracts and MAST-based scripting allow for complex logic and conditional execution, including covenants and bundled macros for secure transaction patterns.

Experimental results

Research questions

  • RQ1How can a decentralized oracle network ensure the integrity and verifiability of external data retrieved by smart contracts without relying on trusted third parties?
  • RQ2What mechanisms can be used to scale a decentralized oracle network while maintaining security and minimizing attack vectors such as Sybil and eclipse attacks?
  • RQ3How can a reputation system be designed to dynamically reflect witness reliability and prevent manipulation over time?
  • RQ4What is the optimal trade-off between cost, certainty, and performance in decentralized data retrieval, and how can clients control it?
  • RQ5How can decentralized storage networks be integrated with oracles to enable permanent, censorship-resistant archival of digital knowledge?

Key findings

  • The Witnet protocol enables verifiable, trustless data retrieval from any web address with complete cryptographic proof of integrity and availability.
  • The reputation-based witness selection mechanism ensures that mining power and task assignment are proportional to past honesty, significantly reducing the risk of collusion.
  • Sharding of RAD tasks allows clients to adjust the number of witnesses per request, enabling a tunable trade-off between cost and reliability.
  • The system's design supports integration with decentralized storage networks (DSNs), enabling the creation of a permanent, immutable archive of digital knowledge.
  • The protocol includes a demurrage function for reputation that naturally decays over time, preventing long-term reputation hoarding and encouraging active participation.
  • The use of MAST and covenants in transaction scripting enables advanced, secure smart contract patterns, including conditional execution and output locking.

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.