Cryptocurrencies; Atomic Swap; Hashed Timelock Contract; Lightning Network; Griefing Attack; Game Theory
Hashed Timelock (HTLC)-based atomic swap protocols enable the exchange of coins between two or more parties without relying on a trusted entity. This protocol is like the American call option without premium. It allows the finalization of a deal within a certain period. This puts the swap initiator at liberty to delay before deciding to proceed with the deal. If she finds the deal unprofitable, she just waits for the time-period of the contract to elapse. However, the counterparty is at a loss since his assets remain locked in the contract. The best he can do is to predict the initiator's behavior based on the asset's price fluctuation in the future. But it is difficult to predict as cryptocurrencies are quite volatile, and their price fluctuates abruptly. We perform a game theoretic analysis of HTLC-based atomic cross-chain swap to predict whether a swap will succeed or not. From the strategic behavior of the players, we infer that this model lacks fairness. We propose Quick Swap, a two-party protocol based on hashlock and timelock that fosters faster settlement of the swap. The parties are required to lock griefing-premium along with the principal amount. If the party griefs, he ends up paying the griefing-premium. If a party finds a deal unfavorable, he has the provision to cancel the swap. We prove that Quick Swap is more participant-friendly than HTLC-based atomic swap. Our work is the first to propose a protocol to ensure fairness of atomic-swap in a cyclic multi-party setting.
Foundations and Tools for Client-Side Web Security Cryptographic Foundations for Future-proof Internet Security Forschungszentrum für Cybersicherheit und Datenschutz in Wien Vorbereitung für die Einreichung eines Kompetenzzentrums Comet K1 - Arbeitstitel Minerva Blockchaintechnologien für das Internet der Dinge
771527 P31621-N38 ViSP 1360366 CDL-BOT
Europäischer Forschungsrat (ERC) Fonds zur Förderung der wissenschaftlichen Forschung (FWF) Wirtschaftsagentur Wien Wirtschaftsagentur Wien CDG Christian Doppler Forschungsgesellschaft