Atomic Cross-Chain Swaps

From MaRDI portal
(Redirected from Publication:5197690)



Abstract: 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 calD, whose vertexes are parties and whose arcs are proposed asset transfers. For any pair (calD,L), where calD=(V,A) is a strongly-connected directed graph and LsubsetV a feedback vertex set for calD, we give an atomic cross-chain swap protocol for calD, 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 calD is not strongly connected, or if calD is strongly connected but L is not a feedback vertex set. The protocol has time complexity O(diam(calD)) and space complexity (bits stored on all blockchains) O(|A|2).












This page was built for publication: Atomic Cross-Chain Swaps

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q5197690)