Atomic cross chain swaps via relays and adapters
Résumé
Blockchain technologies have proven their potential when it comes to store assets and value. However, swapping assets across chains, for example trading ethers for bitcoins is still a challenging problem to solve. Current solutions widely rely on trusted third parties such as exchanges, which is not acceptable for a distributed technology.
Atomic Cross Chain Swap protocols that use hash time locked contract have been proposed as a solution for inter-chain exchanges but the atomicity of the transaction can be violated in case of client crash or packet loss. Furthermore those protocols are impractical as they require the user to perform complex audits and transactions on several blockchains over relatively long period of time.
In this paper we propose to solve the shortcomings of hash time locked cross chain transaction by using relays and adapters in order to automate contract auditing and user actions as well as preventing atomicity violation.