JugglingSwap: Scriptless Atomic Cross-Chain Swaps

Omer Shlomovits, Oded Leiba
7/28/2020
cs.CR

Official code: ZenGo-X/JugglingSwap (34 stars, TypeScript, GPL-3.0, last commit 2021-01-19).

Abstract

The blockchain space is changing constantly. New chains are being implemented frequently with different use cases in mind.

Show full abstract

As more and more types of crypto assets are getting real world value there is an increasing need for blockchain interoperability. Exchange services today are still dominated by central parties which require custody of funds. This trust imposes costs and security risks as frequent breaches testify. Atomic cross-chain swaps (ACCS) allow mutual distrusting parties to securely exchange crypto assets in a peer-to-peer manner while preserving self-custody. Fundamental ACCS protocols leveraged the scripting capabilities of blockchains to conditionalize the transfer of funds between trading parties. Recent work showed that such protocols can be realized in a scriptless setting. This has many benefits to blockchains throughput, efficiency of swap protocols and also to fungibility and privacy. The proposed protocols are limited to assets transferable by either Schnorr signatures or ECDSA that are assuming the same elliptic curve parameters. In this work we present JugglingSwap, a scriptless atomic cross-chain swap protocol with a higher degree of interoperability. We weaken the assumptions about blockchains that can be included in the ACCS protocol, and only require that (1) a threshold variant exists to the underlying digital signature scheme and (2) it is based on the elliptic curve discrete logarithm problem (ECDLP). The fair exchange is achieved by a gradual release of secrets. To achieve this we use a new building block we call Juggling: a public key verifiable encryption scheme to transfer segments of secret shares between parties, which can also be of separate interest. Juggling is then tailored to a specific private key management system design with threshold signatures security.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Scriptless atomic cross-chain (and cross-curve) swap protocol based on a fair exchange of secrets.

346TypeScriptAug 2, 20205 years agoGPL-3.0

Similar Papers

Cite this paper

@article{shlomovits2020jugglingswap,
  title  = {JugglingSwap: Scriptless Atomic Cross-Chain Swaps},
  author = {Omer Shlomovits and Oded Leiba},
  year   = {2020},
  eprint = {2007.14423},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.14423}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2007.14423.svg)](https://codeofpaper.com/paper/2007.14423)

Discussion