With the rise of privacy-sensitive blockchain applications, traditional smart contracts’ transparency poses significant risks for sensitive data. We propose a lightweight execution architecture combining ARM TrustZone and WebAssembly to isolate contract logic in the Secure World, achieving hardware-level privacy while remaining compatible with standard blockchain frameworks. An efficient shared memory and extended WASI-based communication mechanism enables seamless cooperation between on-chain and trusted execution. We further implement a decentralized identity (DID) system supporting encrypted verifiable credential (VC) verification via ECDH key agreement and AES encryption. Experimental results show the system maintains low latency and high throughput for queries, transactions, and privacy verification, demonstrating the feasibility of deploying privacy-preserving smart contracts on mobile and edge devices.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

TrustZone-Based WebAssembly Smart Contract Execution for Privacy-Preserving Blockchain

  • Xingyun Zheng,
  • Jianrong Lu,
  • Zhuoya Gu,
  • Jianhai Chen

摘要

With the rise of privacy-sensitive blockchain applications, traditional smart contracts’ transparency poses significant risks for sensitive data. We propose a lightweight execution architecture combining ARM TrustZone and WebAssembly to isolate contract logic in the Secure World, achieving hardware-level privacy while remaining compatible with standard blockchain frameworks. An efficient shared memory and extended WASI-based communication mechanism enables seamless cooperation between on-chain and trusted execution. We further implement a decentralized identity (DID) system supporting encrypted verifiable credential (VC) verification via ECDH key agreement and AES encryption. Experimental results show the system maintains low latency and high throughput for queries, transactions, and privacy verification, demonstrating the feasibility of deploying privacy-preserving smart contracts on mobile and edge devices.