Papers1 provider · 1 record
April 25, 2025· Blockchain Research and Applications
article
Open access

TrustChain: a privacy protection smart contract model with trusted execution environment

Authors:Fengyu WuAyong Ye *Yiqing DiaoYuexin ZhangJianwei ChenChuan Huang

Abstract

With the booming development of blockchain, it has gradually gained wide attention in the Internet of Things (IoT), finance, and other fields. However, due to the shared nature of blockchain ledgers among multiple users, sensitive user information, such as transaction amounts and private agreements, can be easily exposed. This poses significant privacy concerns for blockchain users. To address this issue, we propose TrustChain, a high-performance smart contract model based on the Trusted Execution Environment (TEE). TrustChain aims to safeguard the privacy of smart contract codes and user data by leveraging the secure execution environment provided by the TEE. Specifically, we introduce the TEE to run the smart contract with security and privacy without introducing a heavyweight cryptographic algorithm, thus improving the performance of the system. When running smart contracts, the operate nodes equipped with TEE ensure that the Operating System (OS) of the node itself cannot access the data within the TEE. This isolation effectively separates the sensitive information of the smart contract from the external environment. Furthermore, we introduce Verifiable Random Functions (VRFs) to randomly choose the operate nodes to prevent collusion attacks, further improving the security of the model. The graph ledger, based on the Directed Acyclic Graph (DAG), is used to adapt to the high-performance characteristics of a smart contract system based on the TEE. Finally, we simulate the scheme in TrustZone and demonstrate the feasibility of TrustChain through a series of experiments and analyses. The analysis and experimental results demonstrate that our solution exhibits excellent privacy protection performance and achieves higher throughput compared to traditional smart contracts. • We have introduced TrustChain, a smart contract model based on TEE, to ensure the privacy and security of smart contracts. • VRFs are proposed to randomly select operate nodes, preventing collusion and enhancing defense against malicious attacks. • The redesigned consensus mechanism limits blockchain storage to smart contract outputs, preventing leakage of sensitive information. • We enhanced smart contract performance by integrating a DAG-based ledger with TEE's low-latency execution.

Community

0 comments
Use Connect Wallet in the navigation

No discussion yet

Be the first to share a question or observation.