Recently, blockchain has been adopted across an increasing range of domains, e.g., supply chain finance, digital government. The confidentiality of smart contracts has now become a fundamental and crucial demand for practical applications. However, while new privacy protection techniques are emerging, how to securely enable Multi-party Computation (MPC) in confidential smart contracts is understudied. State-of-the-art solutions suffer on high on-chain cost, low flexibility and security thus can hardly reach general users. This paper proposes TENET, a pluggable and configurable confidential smart contract framework. TENET identifies the pitfalls for supporting off-chain MPC-enabled confidential smart contracts by leveraging the TEE network and proposes corresponding treats, e.g., anonymously negotiate MPC among apriori-unknown participants, atomically and fairly distribute the MPC outputs, and securely evaluate an MPC program with constant on-chain transactions. TENET manages to secure an MPC by only 3 transactions. In our evaluation on both examples and real-world applications involving 2 to 11 parties, TENET costs 0.55-0.98X gas (0.91X on average) against the state-of-the-art.
翻译:最近,在越来越多的领域,例如供应链融资、数字政府等领域,采用了链链式链条。智能合同的保密性现已成为对实际应用的基本和关键需求。然而,虽然新的隐私保护技术正在出现,但如何确保保密智能合同中的多方计算(MPC)的可靠能力却未得到充分研究。最先进的解决方案在高链成本、低灵活性和安全性方面遭遇困难,因此很难接触到普通用户。本文提议了TENET,这是一个可插入和可配置的保密智能合同框架。TENET通过利用TEE网络确定支持由链式MPC启动的离链式保密智能合同的陷阱,并提出相应的治疗建议,例如,在知名参与者中匿名谈判多方计算(MPC),以原子和公平的方式分配MPC产出,并可靠地评价具有固定链交易的MPC程序。TENET仅能通过3项交易确保MPC的安全。在我们对涉及2至11个缔约方的示例和实际应用的评价中,TENET对州平均0.55-098X气体(0.91X)的费用。