Town Crier
Authors:
Open Access
- 24 October 2016
- conference paper
- Published by Association for Computing Machinery (ACM)
- Vol. 2016, 270-282
Abstract
Smart contracts are programs that execute autonomously on blockchains. Their key envisioned uses (e.g. financial instruments) require them to consume data from outside the blockchain (e.g. stock quotes). Trustworthy data feeds that support a broad range of data requests will thus be critical to smart contract ecosystems. We present an authenticated data feed system called Town Crier (TC). TC acts as a bridge between smart contracts and existing web sites, which are already commonly trusted for non-blockchain applications. It combines a blockchain front end with a trusted hardware back end to scrape HTTPS-enabled websites and serve source-authenticated data to relying smart contracts. TC also supports confidentiality. It enables private data requests with encrypted parameters. Additionally, in a generalization that executes smart-contract logic within TC, the system permits secure use of user credentials to scrape access-controlled online data sources. We describe TC's design principles and architecture and report on an implementation that uses Intel's recently introduced Software Guard Extensions (SGX) to furnish data to the Ethereum smart contract system. We formally model TC and define and prove its basic security properties in the Universal Composibility (UC) framework. Our results include definitions and techniques of general interest relating to resource consumption (Ethereum's "gas" fee system) and TCB minimization. We also report on experiments with three example applications. We plan to launch TC soon as an online public service.Keywords
Funding Information
- David and Lucile Packard Foundation
- VMware
- National Science Foundation (CNS-1314857, CNS-1330599, CNS-1453634, CNS-1518765, CNS-1514261)
- Alfred P. Sloan Foundation
This publication has 7 references indexed in Scilit:
- Town Crier2016
- Hawk: The Blockchain Model of Cryptography and Privacy-Preserving Smart Contracts2016
- Controlled-Channel Attacks: Deterministic Side Channels for Untrusted Operating Systems2015
- VC3: Trustworthy Data Analytics in the Cloud Using SGX2015
- Innovative instructions and software model for isolated execution2013
- Using innovative instructions to create trustworthy software solutions2013
- Universal Composition with Joint State2003