[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/3558535.3559786acmotherconferencesArticle/Chapter ViewAbstractPublication PagesaftConference Proceedingsconference-collections
research-article

Atomic cross-chain exchanges of shared assets

Published: 05 July 2023 Publication History

Abstract

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.

References

[1]
2019. Introduction to Token SDK in Corda. https://www.corda.net/blog/introduction-to-token-sdk-in-corda/ Published on 16-Jul-2019.
[2]
2021. Hyperledger Fabric Token SDK. https://labs.hyperledger.org/labs/fabric-token-sdk.html Accessed on 15-Dec-2021.
[3]
2021. Weaver: DLT Interoperability (Hyperledger Labs). https://github.com/hyperledger-labs/weaver-dlt-interoperability Accessed on 30-Aug-2022.
[4]
Ermyas Abebe, Dushyant Behl, Chander Govindarajan, Yining Hu, Dileban Karunamoorthy, Petr Novotný, Vinayaka Pandit, Venkatraman Ramakrishna, and Christian Vecchiola. 2019. Enabling Enterprise Blockchain Interoperability with Trusted Data Transfer (Industry Track). In Middleware. ACM, 29--35.
[5]
Elli Androulaki, Artem Barger, Vita Bortnikov, Christian Cachin, Konstantinos Christidis, Angelo De Caro, David Enyeart, Christopher Ferris, Gennady Laventman, Yacov Manevich, Srinivasan Muralidharan, Chet Murthy, Binh Nguyen, Manish Sethi, Gari Singh, Keith Smith, Alessandro Sorniotti, Chrysoula Stathakopoulou, Marko Vukolic, Sharon Weed Cocco, and Jason Yellick. 2018. Hyperledger fabric: a distributed operating system for permissioned blockchains. In EuroSys. ACM, 30:1--30:15.
[6]
N. Asokan, Victor Shoup, and Michael Waidner. 1998. Optimistic Fair Exchange of Digital Signatures (Extended Abstract). In EUROCRYPT. 591--606.
[7]
Carsten Baum, Bernardo David, and Rafael Dowsley. 2020. Insured MPC: Efficient Secure Computation with Financial Penalties. In FC. 404--420.
[8]
Rafael Belchior, André Vasconcelos, Sérgio Guerreiro, and Miguel Correia. 2022. A Survey on Blockchain Interoperability: Past, Present, and Future Trends. ACM Comput. Surv. 54, 8 (2022), 168:1--168:41.
[9]
Marianna Belotti, Stefano Moretti, Maria Potop-Butucaru, and Stefano Secci. 2020. Game Theoretical Analysis of Cross-Chain Swaps. In (ICDCS).
[10]
Michael Ben-Or, Shafi Goldwasser, and Avi Wigderson. 1988. Completeness Theorems for Non-Cryptographic Fault-Tolerant Distributed Computation (Extended Abstract). In STOC. 1--10.
[11]
Iddo Bentov and Ranjit Kumaresan. 2014. How to Use Bitcoin to Design Fair Protocols. In CRYPTO II. 421--439.
[12]
Bitcoin. 2021. Bitcoin Script. https://en.bitcoin.it/wiki/Script Accessed on 10-Dec-2021.
[13]
Manuel Blum. 1983. How to Exchange (Secret) Keys. ACM Trans. Comput. Syst. 1, 2 (1983), 175--193.
[14]
Wietze Bronkema. 2020. Multi Signatures. https://medium.com/mycrypto/introduction-to-multisig-contracts-33d5b25134b2 Published on 16-Jan-2020.
[15]
Vitalik Buterin. 2015. Ethereum Whitepaper. https://ethereum.org/en/whitepaper/ Accessed on 10-Dec-2021.
[16]
Shanwei Cen and Bo Zhang. 2017. Trusted Time and Monotonic Counters with Intel Software Guard Extensions Platform Services. https://community.intel.com/legacyfs/online/drupal_files/managed/1b/a2/Intel-SGX-Platform-Services.pdf.
[17]
Arka Rai Choudhuri, Matthew Green, Abhishek Jain, Gabriel Kaptchuk, and Ian Miers. 2017. Fairness in an Unfair World: Fair Multiparty Computation from Public Bulletin Boards. In ACM CCS. 719--728.
[18]
Arka Rai Choudhuri, Matthew Green, Abhishek Jain, Gabriel Kaptchuk, and Ian Miers. 2017. Fairness in an Unfair World: Fair Multiparty Computation from Public Bulletin Boards. In ACM CCS. 719--728.
[19]
Richard Cleve. 1986. Limits on the Security of Coin Flips when Half the Processors Are Faulty (Extended Abstract). In STOC. 364--369.
[20]
Sid Coelho-Prabhu. 2020. A Beginner's Guide to Decentralized Finance (DeFi). https://blog.coinbase.com/a-beginners-guide-to-decentralized-finance-defi-574c68ff43c4 Published on 7-Jan-2019.
[21]
Ms Emily Dawson. 2016. ISO/TC 307: Blockchain and distributed ledger technologies. https://www.iso.org/committee/6266604.html
[22]
Banque de France. 2021. Experiment on the use of Central Bank Digital Currency (CBDC). https://www.banque-france.fr/en/communique-de-presse/experiment-use-central-bank-digital-currency-cbdc.
[23]
Decred. 2017. Decred-compatible cross-chain atomic swapping. https://github.com/decred/atomicswap
[24]
Juan A. Garay, Philip D. MacKenzie, Manoj Prabhakaran, and Ke Yang. 2006. Resource Fairness and Composability of Cryptographic Protocols. In TCC. 404--428.
[25]
Oded Goldreich, Silvio Micali, and Avi Wigderson. 1987. How to Play any Mental Game or A Completeness Theorem for Protocols with Honest Majority. In STOC. 218--229.
[26]
Shafi Goldwasser and Yehuda Lindell. 2005. Secure Multi-Party Computation without Agreement. J. Cryptol. 18, 3 (2005), 247--287.
[27]
Thomas Hardjono, Martin Hargreaves, Ned Smith, and Venkatraman Ramakrishna. 2021. Interoperability Architecture for DLT Gateways (Active Internet-Draft). https://datatracker.ietf.org/doc/draft-hardjono-sat-architecture/
[28]
Ethan Heilman, Sebastien Lipmann, and Sharon Goldberg. 2020. The Arwen Trading Protocols (Full Version). Cryptology ePrint Archive, Paper 2020/024. https://eprint.iacr.org/2020/024 https://eprint.iacr.org/2020/024.
[29]
Maurice Herlihy. 2018. Atomic Cross-Chain Swaps. In (PODC).
[30]
Maurice Herlihy, Liuba Shrira, and Barbara Liskov. 2019. Cross-chain Deals and Adversarial Commerce. VLDB 13, 2 (2019), 100--113.
[31]
Aggelos Kiayias, Hong-Sheng Zhou, and Vassilis Zikas. 2016. Fair and Robust Multi-party Computation Using a Global Transaction Ledger. In EUROCRYPT II. 705--734.
[32]
Jae Kwon and Ethan Buchman. 2016. Cosmos Whitepaper. https://whitepaper.io/document/582/cosmos-whitepaper Accessed on 15-Dec-2021.
[33]
Hart Montgomery, Hugo Borne-Pons, Jonathan Hamilton, Mic Bowman, Peter Somogyvari, Shingo Fujimoto, Takuma Takeuchi, Tracy Kuhrt, and Rafael Belchior. 2020. Hyperledger Cactus Whitepaper. https://github.com/hyperledger/cactus/blob/master/docs/whitepaper/whitepaper.md Accessed on 15-Dec-2021.
[34]
Krishnasuri Narayanam, Venkatraman Ramakrishna, Dhinakaran Vinayagamurthy, and Sandeep Nishad. 2022. Atomic cross-chain exchanges of shared assets. https://arxiv.org/abs/2202.12855
[35]
Tier Nolan. 2013. Alt chains and atomic transfers. https://bitcointalk.org/index.php?topic=193281.0 Accessed on 15-Dec-2021.
[36]
Rafael Pass, Elaine Shi, and Florian Tramèr. 2017. Formal Abstractions for Attested Execution Secure Processors. In EUROCRYPT I. 260--289.
[37]
Tal Rabin and Michael Ben-Or. 1989. Verifiable Secret Sharing and Multiparty Protocols with Honest Majority (Extended Abstract). In STOC. 73--85.
[38]
Daira Hopwood Sean Bowe. 2017. Hashed Time-Locked Contract transactions. https://github.com/bitcoin/bips/blob/master/bip-0199.mediawiki
[39]
Andrey Sergeenkov. 2021. A Beginner's Guide to Atomic Swaps. https://www.coindesk.com/tech/2021/08/20/a-beginners-guide-to-atomic-swaps/ Published on 20-Aug-2021.
[40]
Shobith Seth. 2022. Central Bank Digital Currency (CBDC). https://www.investopedia.com/terms/c/central-bank-digital-currency-cbdc.asp Accessed on 09-Mar-2022.
[41]
SynthSwap. 2021. Cross asset swaps using Curve and Synthetix. https://github.com/curvefi/curve-cross-asset-swaps
[42]
Sri AravindaKrishnan Thyagarajan, Giulio Malavolta, and Pedro Moreno-Sanchez. 2022. Universal Atomic Swaps: Secure Exchange of Coins Across All Blockchains. In 2022 IEEE Symposium on Security and Privacy (SP). 1299--1316.
[43]
Bitcoin Wiki. 2021. Multi Signatures. https://en.bitcoin.it/wiki/Multi-signature Accessed on 10-Dec-2021.
[44]
Gavin Wood. 2016. Polkadot: Vision for a Heterogeneous Multi-Chain Framework. https://github.com/w3f/polkadot-white-paper/raw/master/PolkaDotPaper.pdf Accessed on 15-Dec-2021.
[45]
Jiahua Xu, Damien Ackerer, and Alevtina Dubovitskaya. 2021. A Game-Theoretic Analysis of Cross-Chain Atomic Swaps with HTLCs. In (ICDCS).
[46]
Yingjie Xue and Maurice Herlihy. 2021. Hedging Against Sore Loser Attacks in Cross-Chain Transactions. In (PODC).
[47]
Andrew Chi-Chih Yao. 1982. Protocols for Secure Computations (Extended Abstract). In FOCS. 160--164.
[48]
Victor Zakhary, Divyakant Agrawal, and Amr El Abbadi. 2020. Atomic Commitment Across Blockchains. VLDB 13, 9 (2020), 1319--1331.
[49]
Fan Zhang, Ethan Cecchetti, Kyle Croman, Ari Juels, and Elaine Shi. 2016. Town Crier: An Authenticated Data Feed for Smart Contracts. In ACM CCS. 270--282.

Cited By

View all
  • (2024)A Brief History of Blockchain InteroperabilityCommunications of the ACM10.1145/3648607Online publication date: 24-Sep-2024
  • (2024)Cross-Chain Smart Contract Invocations: A Systematic Multi-Vocal Literature ReviewACM Computing Surveys10.1145/363804556:6(1-38)Online publication date: 22-Jan-2024
  • (2024)SoK: Security and Privacy of Blockchain Interoperability2024 IEEE Symposium on Security and Privacy (SP)10.1109/SP54263.2024.00255(3840-3865)Online publication date: 19-May-2024
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Other conferences
AFT '22: Proceedings of the 4th ACM Conference on Advances in Financial Technologies
September 2022
330 pages
ISBN:9781450398619
DOI:10.1145/3558535
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 05 July 2023

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. blockchain
  2. distributed ledger technology
  3. fair exchange
  4. HTLC
  5. shared assets
  6. co-ownership
  7. atomicity
  8. interoperability

Qualifiers

  • Research-article

Conference

AFT '22

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)65
  • Downloads (Last 6 weeks)17
Reflects downloads up to 20 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2024)A Brief History of Blockchain InteroperabilityCommunications of the ACM10.1145/3648607Online publication date: 24-Sep-2024
  • (2024)Cross-Chain Smart Contract Invocations: A Systematic Multi-Vocal Literature ReviewACM Computing Surveys10.1145/363804556:6(1-38)Online publication date: 22-Jan-2024
  • (2024)SoK: Security and Privacy of Blockchain Interoperability2024 IEEE Symposium on Security and Privacy (SP)10.1109/SP54263.2024.00255(3840-3865)Online publication date: 19-May-2024
  • (2024)Towards a Standard Framework for Blockchain Interoperability: A Position Paper2024 IEEE International Conference on Blockchain and Cryptocurrency (ICBC)10.1109/ICBC59979.2024.10634443(1-5)Online publication date: 27-May-2024
  • (2023)Arbitrary Message Passing Across BlockchainsSSRN Electronic Journal10.2139/ssrn.4417670Online publication date: 2023
  • (2023)Cross-chain General Message Passing Protocol via Eternal Bridge2023 31st Telecommunications Forum (TELFOR)10.1109/TELFOR59449.2023.10372602(1-4)Online publication date: 21-Nov-2023

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media