This is the repo for the paper On the optionality and fairness of Atomic Swaps (published at The First ACM Conference on Advances in Financial Technologies (AFT’19)) by Runchao Han, Haoyu Lin and Jiangshan Yu.
/data
: relevant experimental data/doc
: relevant documentations/paper
: source code of the paper/src
: source code/src/atomicswap
: the Go code for launching Atomic Swaps with BTC and ETH/src/crawler
: a simple crawler for getting exchange rate data/src/evaluation
: code for evaluating the unfairness of Atomic Swaps, including the volatility analysis and the Cox-Ross-Rubinstein model
/test
: testing code for connecting BTC nodes
We submitted our protocol to Ethereum as an EIP proposal, which is assigned with the ID EIP-2266 and currently under review.
Runchao Han, Haoyu Lin and Jiangshan Yu. On the optionality and fairness of Atomic Swaps. The First ACM Conference on Advances in Financial Technologies (AFT’19), Oct 2019.
Please feel free to contact any of the authors (Runchao Han, Haoyu Lin and Jiangshan Yu) for any issues about this project or collaboration.
This code is licensed under GNU GPLv3.