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

共享资产的原子跨链交换

Atomic cross-chain exchanges of shared assets

Krishnasuri Narayanam, Venkatraman Ramakrishna, Dhinakaran Vinayagamurthy, Sandeep Nishad

摘要:

区块链或DLT互操作性的核心推动因素是能够原子地交换不同分类账上相互不信任的所有者持有的资产。这个原子交换问题已经得到了很好的研究,哈希时间锁定合同(HTLC)成为一个规范的解决方案。HTLC确保了交换的原子性,尽管对节点故障和索赔的及时性提出了警告。但HTLC的一个更大的局限性是,它只适用于由两个敌对方组成的模型,这些敌对方对每个分类账中的单个资产拥有唯一所有权。现实的扩展模型中,资产可能由多方共同拥有,所有的同意都需要交换,或者多个资产必须交换一个,容易受到共谋攻击,因此不能由HTLC处理。在本文中,我们概括了DLT网络中的资产交换模型,并提出了用例分类,描述了威胁模型,并提出了MPHTLC,一种用于原子多所有者和资产交换的增强HTLC协议。分析了MPHTLC的正确性、安全性和适用范围。作为概念验证,我们展示了如何在基于Hyperledger Fabric和Corda构建的网络中实现MPHTLC原语,以及如何通过增强其现有的HTLC协议在Hyperledger Labs Weaver框架中实现MPHTLC。

英文摘要:

A core enabler for blockchain or DLT interoperability is the ability to atomically exchange assets held by mutually untrusting owners on different ledgers. This atomic swap problem has been well-studied, with the Hash Time Locked Contract (HTLC) emerging as a canonical solution. HTLC ensures atomicity of exchange, albeit with caveats for node failure and timeliness of claims. But a bigger limitation of HTLC is that it only applies to a model consisting of two adversarial parties having sole ownership of a single asset in each ledger. Realistic extensions of the model in which assets may be jointly owned by multiple parties, all of whose consents are required for exchanges, or where multiple assets must be exchanged for one, are susceptible to collusion attacks and hence cannot be handled by HTLC. In this paper, we generalize the model of asset exchanges across DLT networks and present a taxonomy of use cases, describe the threat model, and propose MPHTLC, an augmented HTLC protocol for atomic multi-owner-and-asset exchanges. We analyze the correctness, safety, and application scope of MPHTLC. As proof-of-concept, we show how MPHTLC primitives can be implemented in networks built on Hyperledger Fabric and Corda, and how MPHTLC can be implemented in the Hyperledger Labs Weaver framework by augmenting its existing HTLC protocol.

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

↑