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

面向跨区块链交互的原子性与抽象

Atomicity and Abstraction for Cross-Blockchain Interactions

Huaixi Lu, Akshay Jajoo, Kedar S. Namjoshi

AI总结:

针对多链环境下跨链通信抽象缺失、原子交易范围受限的问题,提出统一高层跨链通信接口与通用多链原子交易协议,经原型验证可简化开发且性能媲美定制方案。

摘要:

区块链可在链上互不信任的参与方之间促成安全的原子交易。如今存在多条接口、安全属性各不相同的区块链。由于缺乏通用、便捷的跨链通信与计算抽象,在这种多链世界中的编程工作受到阻碍。当前的跨链通信桥接口各异且处于底层,导致可移植应用的开发难度较高。现有的多链原子交易方法适用范围仅局限于加密货币兑换。\n本研究针对这些问题展开。我们首先定义了一套统一的高层链间通信接口。基于该接口,我们设计了一套协议,可为操作可能横跨多条链的通用交易提供原子性保证。我们对这些协议所需的正确性与安全属性进行了公式化表述并完成证明。我们的原型实现基于LayerZero跨链桥构建。该实现的使用经验表明,新提出的抽象大幅简化了多链交易的设计与实现。针对多链兑换交易的实验评估显示,其性能与定制化实现的表现相当。

英文摘要:

A blockchain facilitates secure and atomic transactions between mutually untrusting parties on that chain. Today, there are multiple blockchains with differing interfaces and security properties. Programming in this multi-blockchain world is hindered by the lack of general and convenient abstractions for cross-chain communication and computation. Current cross-chain communication bridges have varied and low-level interfaces, making it difficult to develop portable applications. Current methods for multi-chain atomic transactions are limited in scope to cryptocurrency swaps. This work addresses these issues. We first define a uniform, high-level interface for communication between chains. Building on this interface, we formulate a protocol that guarantees atomicity for general transactions whose operations may span several chains. We formulate and prove the desired correctness and security properties of these protocols. Our prototype implementation is built using the LayerZero cross-chain bridge. Experience with this implementation shows that the new abstractions considerably simplify the design and implementation of multi-chain transactions. Experimental evaluation with multi-chain swap transactions demonstrates performance comparable to that of custom-built implementations.

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

↑