Atomic Cross-Chain Swaps

被引:217
|
作者
Herlihy, Maurice [1 ]
机构
[1] Brown Univ, Comp Sci Dept, Providence, RI 02912 USA
关键词
D O I
10.1145/3212734.3212736
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
An atomic cross-chain swap is a distributed coordination task where multiple parties exchange assets across multiple blockchains, for example, trading bitcoin for ether. An atomic swap protocol guarantees (1) if all parties conform to the protocol, then all swaps take place, (2) if some coalition deviates from the protocol, then no conforming party ends up worse off, and (3) no coalition has an incentive to deviate from the protocol. A cross-chain swap is modeled as a directed graph D, whose vertexes are parties and whose arcs are proposed asset transfers. For any pair (D, L), where D = (V, A) is a strongly-connected directed graph and L subset of V a feedback vertex set for D, we give an atomic cross-chain swap protocol for D, using a form of hashed timelock contracts, where the vertexes in L generate the hashlocked secrets. We show that no such protocol is possible if D is not strongly connected, or if D is strongly connected but L is not a feedback vertex set. The protocol has time complexity O(diam(D)) and space complexity (bits stored on all blockchains) O(vertical bar A vertical bar(2)).
引用
收藏
页码:245 / 254
页数:10
相关论文
共 50 条
  • [41] An Atomic Cross-Chain Swap-Based Management System in Vehicular Ad Hoc Networks
    Tan, Chenkai
    Bei, Shaoyi
    Jing, Zhengjun
    Xiong, Neal
    [J]. WIRELESS COMMUNICATIONS & MOBILE COMPUTING, 2021, 2021
  • [42] Research on cross-chain and interoperability for blockchain system
    Ming, Li
    Honglin, Qiu
    Quanqing, Xu
    Wenpeng, Song
    Baixiang, Liu
    [J]. Journal of China Universities of Posts and Telecommunications, 2021, 28 (05): : 1 - 17
  • [43] Research on the Progress in Cross-chain Technology of Blockchains
    Li, Fang
    Li, Zhuo-Ran
    Zhao, He
    [J]. Ruan Jian Xue Bao/Journal of Software, 2019, 30 (06): : 1649 - 1660
  • [44] Distributed fusion cross-chain model and architecture
    Yang, Guozheng
    Zang, Cheng
    Chen, Jiajun
    Guo, Dongsheng
    Zhang, Jingzhi
    [J]. IET Blockchain, 2022, 2 (02): : 29 - 43
  • [45] Interopera: An Efficient Cross-Chain Trading Protocol
    Yin, Lingyuan
    Xu, Jing
    Zhang, Zhenfeng
    [J]. COMPUTER JOURNAL, 2023, 66 (07): : 1609 - 1621
  • [46] CVEM: A Cross-chain Value Exchange Mechanism
    Yang, Shilan
    Wang, Huaimin
    Li, Wei
    Liu, Wei
    Fu, Xiang
    [J]. PROCEEDINGS OF 2018 INTERNATIONAL CONFERENCE ON CLOUD COMPUTING AND INTERNET OF THINGS (CCIOT 2018), 2018, : 80 - 85
  • [47] Cross-chain payment protocols with success guarantees
    van Glabbeek, Rob
    Gramoli, Vincent
    Tholoniat, Pierre
    [J]. DISTRIBUTED COMPUTING, 2023, 36 (02) : 137 - 157
  • [48] Efficient Cross-Chain Transaction Processing on Blockchains
    Wang, Wenqi
    Zhang, Zhiwei
    Wang, Guoren
    Yuan, Ye
    [J]. APPLIED SCIENCES-BASEL, 2022, 12 (09):
  • [49] Xscope: Hunting for Cross-Chain Bridge Attacks
    Zhang, Jiashuo
    Gao, Jianbo
    Li, Yue
    Chen, Ziming
    Guan, Zhi
    Chen, Zhong
    [J]. PROCEEDINGS OF THE 37TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2022, 2022,
  • [50] Research on cross-chain and interoperability for blockchain system
    Li Ming
    Qiu Honglin
    Xu Quanqing
    Song Wenpeng
    Liu Baixiang
    [J]. The Journal of China Universities of Posts and Telecommunications, 2021, 28 (05) : 1 - 17