# ShadowEth: Private Smart Contract on Public Blockchain

## Abstract

Blockchain is becoming popular as a distributed and reliable ledger which allows distrustful parties to transact safely without trusting third parties. Emerging blockchain systems like Ethereum support smart contracts where miners can run arbitrary user-defined programs. However, one of the biggest concerns about the blockchain and the smart contract is privacy, since all the transactions on the chain are exposed to the public.

In this paper, we present ShadowEth, a system that leverages hardware enclave to ensure the confidentiality of smart contracts while keeping the integrity and availability based on existing public blockchains like Ethereum. ShadowEth establishes a confidential and secure platform protected by trusted execution environment (TEE) off the public blockchain for the execution and storage of private contracts. It only puts the process of verification on the blockchain. We provide a design of our system including a protocol of the cryptographic communication and verification and show the applicability and feasibility of ShadowEth by various case studies. We implement a prototype using the Intel SGX on the Ethereum network and analyze the security and availability of the system.

Read the [full text](https://www.trustkernel.com/uploads/pubs/shadoweth.pdf).

## **Authors**

[Rui Yuan](https://ieeexplore.ieee.org/author/37088993662), [YuBin Xia](https://scholar.google.com/citations?user=jHYNM6QAAAAJ&hl=en), [HaiBo Chen](https://scholar.google.com/citations?hl=en&user=qd9xSkYAAAAJ), [BinYu Zang](https://ieeexplore.ieee.org/author/37540644700), [Jan Xie](https://twitter.com/janhxie)

## **Published in**

Journal of Computer Science and Technology, May 2018

## **Keyword**

Smart Contract

---

**Other articles that you might like:**

* [Lay Down the Common Metrics: Evaluating Proof-of-Work Consensus Protocols' Security](https://blog.cryptape.com/lay-down-the-common-metrics-evaluating-proof-of-work-consensus-protocols-security)
    
* [SC2Share: Smart Contract for Secure Car Sharing](https://blog.cryptape.com/sc2share-smart-contract-for-secure-car-sharing)
    
* [NC-Max: Breaking the Security-Performance Tradeoff in Nakamoto Consensus](https://blog.cryptape.com/nc-max-breaking-the-security-performance-tradeoff-in-nakamoto-consensus)
    
* [Polynomial IOPs for Linear Algebra Relations](https://blog.cryptape.com/polynomial-iops-for-linear-algebra-relations)
