arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.13460cs.CRcs.SE
收藏

CLOAK:一个开发机密区块链智能合约的框架

CLOAK: A Framework For Development of Confidential Blockchain Smart Contracts

Qian Ren, Han Liu, Yue Li, Hong Lei

摘要:

近年来,随着区块链的采用已经在广泛的领域中扩展,例如,数字资产、供应链金融等,智能合约的保密性现在是实际应用的基本需求。然而,尽管新的隐私保护技术不断涌现,但现有技术如何最好地适应开发环境却很少有人研究。由于在编程接口方面受到有限的架构支持,最先进的解决方案很难达到一般开发人员。在本文中,我们提出了用于开发机密智能合约的CLOAK框架。CLOAK的关键功能是允许开发人员实现和部署多方事务(MPT)问题的实用解决方案,即,通过简单地指定它来处理不同方拥有的秘密输入和状态。为此,CLOAK引入了一种特定于域的注释语言,用于声明隐私规范,并进一步自动生成机密智能合约,以在区块链上的可信执行环境(TEE)中部署。在我们对简单和真实世界应用程序的评估中,开发人员通过仅开发规模不到已部署智能合约30%的CLOAK智能合约,以简洁的方式在区块链上部署业务服务。

英文摘要:

In recent years, as blockchain adoption has been expanding across a wide range of domains, e.g., digital asset, supply chain finance, etc., the confidentiality of smart contracts is now a fundamental demand for practical applications. However, while new privacy protection techniques keep coming out, how existing ones can best fit development settings is little studied. Suffering from limited architectural support in terms of programming interfaces, state-of-the-art solutions can hardly reach general developers. In this paper, we proposed the CLOAK framework for developing confidential smart contracts. The key capability of CLOAK is allowing developers to implement and deploy practical solutions to multi-party transaction (MPT) problems, i.e., transact with secret inputs and states owned by different parties by simply specifying it. To this end, CLOAK introduced a domain-specific annotation language for declaring privacy specifications and further automatically generating confidential smart contracts to be deployed with trusted execution environment (TEE) on blockchain. In our evaluation on both simple and real-world applications, developers managed to deploy business services on blockchain in a concise manner by only developing CLOAK smart contracts whose size is less than 30% of the deployed ones.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑