All Projects → bl4ck5un → Town Crier

bl4ck5un / Town Crier

Licence: other
Town Crier: an Authenticated Data Feeds for Smart Contracts

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Town Crier

Uniflash
A simple and decentralized protocol for flash loan. https://t.me/Uniflash
Stars: ✭ 64 (-37.86%)
Mutual labels:  smart-contracts
Ethnode
Run an Ethereum node (Geth or Openethereum) for development
Stars: ✭ 74 (-28.16%)
Mutual labels:  smart-contracts
Tezos
Mirror of the release branches for Tezos, a self-amending cryptographic ledger
Stars: ✭ 1,363 (+1223.3%)
Mutual labels:  smart-contracts
Ico Contracts
🎉 ICO Contracts of the ALIS.
Stars: ✭ 69 (-33.01%)
Mutual labels:  smart-contracts
Flow Playground
Flow Playground front-end app 🤹‍♂️
Stars: ✭ 73 (-29.13%)
Mutual labels:  smart-contracts
Blockchain Real Estate
🚀基于区块链的房地产交易系统小模型。提供销售和捐赠功能。本项目使用Hyperledger Fabric构建区块链网络, go编写智能合约,应用层使用gin+fabric-sdk-go调用合约。前端展示使用vue+element。体验地址:http://blockchain.togettoyou.com/web
Stars: ✭ 81 (-21.36%)
Mutual labels:  smart-contracts
Ethereum Ico Contract
Tested Ethereum ICO Contract for Token Crowdsales
Stars: ✭ 59 (-42.72%)
Mutual labels:  smart-contracts
Coco
The fastest crypto online
Stars: ✭ 103 (+0%)
Mutual labels:  smart-contracts
Coffee Supplychain Ethereum
Implementation of coffee supplychain using ethereum smart contract addressing the issue of storing critical data necessary at different stages of supplychain and making it verifiable by all stakeholders in supplychain.
Stars: ✭ 73 (-29.13%)
Mutual labels:  smart-contracts
Vvisp
A Smart Way to Operate Smart Contracts on EVM Based Blockchains like Ethereum
Stars: ✭ 89 (-13.59%)
Mutual labels:  smart-contracts
Robonomics contracts
Robonomics network infrastructure based on Ethereum Blockchain.
Stars: ✭ 72 (-30.1%)
Mutual labels:  smart-contracts
Smart Contracts
Ethereum smart contracts for security and utility tokens
Stars: ✭ 1,187 (+1052.43%)
Mutual labels:  smart-contracts
Rico
The Responsible Initial Coin Offering Framework
Stars: ✭ 83 (-19.42%)
Mutual labels:  smart-contracts
Web3studio Bootleg
The Shared Royalty Non-Fungible Token (a.k.a Bootleg) is an open source project started by the ConsenSys Web3Studio team. The purpose of the Shared Royalty Non-Fungible Token (SRNFT) is to make any royalty business model, from the oil and gas industry to entertainment, easy to manage with the Ethereum blockchain .
Stars: ✭ 65 (-36.89%)
Mutual labels:  smart-contracts
Library
Collection of papers in the field of distributed systems, game theory, cryptography, cryptoeconomics, zero knowledge
Stars: ✭ 100 (-2.91%)
Mutual labels:  smart-contracts
Scribble
Scribble instrumentation tool
Stars: ✭ 60 (-41.75%)
Mutual labels:  smart-contracts
Supply Chain
Supply chain management on blockchain using Angular 4 + Truffle + IPFS + Ethereum
Stars: ✭ 76 (-26.21%)
Mutual labels:  smart-contracts
Smart Contract Sanctuary
🐦🌴🌴🌴🦕 A home for ethereum smart contracts. 🏠
Stars: ✭ 99 (-3.88%)
Mutual labels:  smart-contracts
Indy Leaderboard
Example game leaderboard dApp utilizing EbakusDB on Ebakus blockchain
Stars: ✭ 103 (+0%)
Mutual labels:  smart-contracts
Purple
Official Rust implementation of the Purple Protocol
Stars: ✭ 85 (-17.48%)
Mutual labels:  smart-contracts

Town Crier: An Authenticated Data Feed For Smart Contracts

Build Status

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.

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 town-crier.org.

To run a TC node

TC docker images (configured to serve the Rinkeby testnet) are released online for evaluation purposes.

git clone https://github.com/bl4ck5un/Town-Crier-docker-sevices
cd rinkeby
docker-compose up  

You can find more information about the Rinkeby deployment here.

Build instructions

The above docker images are built using this script.

We also provide devel docker which provides a more interactive dev environment. The devel docker has all the dependencies installed and configured, and it gives you more control and flexibility of the compilation process.

Here is an example to compile the TC backend using the devel docker:

git clone https://github.com/bl4ck5un/Town-Crier
cd Town-Crier
./scripts/sgx-enter.sh

# in docker
cmake -DCMAKE_INSTALL_PREFIX=/tc /code
make -j && make install

The main executable is installed at /tc/bin/tc. You'll need a config file to start Town Crier. For example, using the dummy config we provided for testing purposes, you can do,

# in docker
/tc/bin/tc -c /tc/conf/config-privatenet-sim
# omit logging
2020-02-05 18:12:35,256 [tc.cpp:107] INFO  - Enclave 4733053960194 created
2020-02-05 18:12:35,264 [tc.cpp:122] INFO  - using wallet address at 0x89B44E4D3C81EDE05D0F5DE8D1A68F754D73D997
2020-02-05 18:12:35,265 [tc.cpp:123] INFO  - using hybrid pubkey: BLtIrjcmxXNzRKVLNGP+xJnLEIp9EboTe6PH0EO9bX4UmU9gRio/kVUHSbsq5UEfIrf5vueZVqRjwwitUI81V98=
2020-02-05 18:12:35,265 [tc.cpp:138] INFO  - RPC server started at 8123

To build and run tests:

# in docker
make tc-test
cd src/Enclave
./tc-test

You can use the Dockerfile as a guidance for setting up a local dev environment, if you want.

LICENSE

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].