Atomic Cross-Chain Swaps
arXiv:1801.09515
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 , whose vertexes are parties and whose arcs are proposed asset transfers. For any pair , where is a strongly-connected directed graph and a feedback vertex set for , we give an atomic cross-chain swap protocol for , using a form of hashed timelock contracts, where the vertexes in generate the hashlocked secrets. We show that no such protocol is possible if is not strongly connected, or if is strongly connected but is not a feedback vertex set. The protocol has time complexity and space complexity (bits stored on all blockchains) .
To appear, PODC 2018
References in corpus (1)
Cited by in corpus (8)
- Horizon: A Gas-Efficient, Trustless Bridge for Cross-Chain Transactions
- Astraea: A Decentralized Blockchain Oracle
- Building Scalable Decentralized Payment Systems
- On the specification and verification of atomic swap smart contracts
- Atomic Loans: Cryptocurrency Debt Instruments
- SPB: A Secure Private Blockchain-based Solution for Energy Trading
- Transwarp Conduit: Interoperable Blockchain Application Framework
- Transactional Smart Contracts in Blockchain Systems