arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.17733cs.CR
收藏

BitMLx:面向比特币风格加密货币的安全跨链智能合约

BitMLx: Secure Cross-chain Smart Contracts For Bitcoin-style Cryptocurrencies

Federico Badaloni, Sebastian Holler, Chrysoula Oikonomou, Pedro Moreno-Sanchez, Clara Schneidewind

AI总结:

本文提出首个跨链智能合约领域特定语言 BitMLx 及其编译器,实现比特币风格加密货币间的安全交互与合约同步,并证明了诚实用户资金安全性。

摘要:

智能合约是一种交互式程序,用于管理单一加密货币领域内的资金。然而,现有的众多加密货币推动了跨链应用的设计,这些应用需要同时与多种加密货币进行交互。目前,跨链应用被实现为特定用例的密码学协议,作为同步不同加密货币中智能合约执行的覆盖层。因此,它们的设计需要大量专业知识,以及在复杂的密码学框架中进行安全分析。在这项工作中,我们提出了 BitMLx,这是首个用于跨链智能合约的领域特定语言,支持与在多个比特币风格的加密货币中持有资金的多个用户进行交互。我们提供了一个编译器,能够自动将 BitMLx 合约转换为每个相关加密货币的一个合约,以及一个同步这些合约执行的用户策略。我们证明,遵循规定策略与多个合约交互的诚实用户,最终获得的资金将不少于在 BitMLx 合约对应执行中的资金。最后,我们实现了 BitMLx 编译器,并通过多链捐赠或不同加密货币间的贷款等跨链应用示例,展示了其在设计中的实用性。

英文摘要:

A smart contract is an interactive program that governs funds in the realm of a single cryptocurrency. Yet, the many existing cryptocurrencies have spurred the design of cross-chain applications that require interactions with multiple cryptocurrencies simultaneously. Currently, cross-chain applications are implemented as use-case-specific cryptographic protocols that serve as overlay to synchronize smart contract executions in the different cryptocurrencies. Hence, their design requires substantial expertise, as well as a security analysis in complex cryptographic frameworks. In this work, we present BitMLx, the first domain-specific language for cross-chain smart contracts, enabling interactions with several users that hold funds across multiple Bitcoin-like cryptocurrencies. We contribute a compiler to automatically translate a BitMLx contract into one contract per involved cryptocurrency and a user strategy that synchronizes the execution of these contracts. We prove that an honest user, who follows the prescribed strategy when interacting with the several contracts, ends up with at least as many funds as in the corresponding execution of the BitMLx contract. Last, but not least, we implement the BitMLx compiler and demonstrate its utility in the design of illustrative examples of cross-chain applications such as multi-chain donations or loans across different cryptocurrencies.

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

↑