Town Crier: an Authenticated Data Feeds for Smart Contracts
Clone or download
Latest commit 81fe318 May 1, 2018

Town Crier: An Authenticated Data Feed For Smart Contracts

Smart contracts systems today lack trustworthy sources of data, as currently deployed oracles provide only weak provenance and confidentiality guarantees. The Town Crier (TC) system leverages trusted hardware (Intel SGX) to provide a strong guarantee that data comes from an existing, trustworthy source. It also provides confidentiality, enabling smart contracts to support confidential queries and manage user credentials.

Build Status

Please read on for build instructions for the TC enclave. If you want to learn how Town Crier works and how to use TC in smart contract systems, please visit

For Contributors

git clone
cd Town-Crier
make -j && make install


root@08119b795b16:/build# /tc/bin/tc -c /tc/conf/config-privatenet-sim -m
# omit logging

Alternatively, MRENCLAVE can be extracted manually from the sgx_metadata section of the enclave binary.


The permission granted herein is solely for the purpose of compiling the TownCrier source code. See the LICENSE file for details.