【Author】 Monika; Bhatia, Rajesh; Jain, Arnav; Singh, Baljeet
【Source】CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS
【Abstract】The rapid growth of blockchain technology is giving rise to siloed blockchains. Blockchains can efficiently store values and assets, but their inability to interoperate is reducing their usability. Lack of cross-chain exchange of assets and data is hindering the novel developments using blockchain technology. Interoperability solutions designed for blockchains mostly use a trusted third party: centralized or decentralized. Atomic swap solutions provide cross-chain asset exchange without involving any trusted third party. However, most of the atomic swap solutions proposed in the literature are for private blockchain and are not practically implemented. This paper proposes a solution for implementing an atomic swap between public blockchains using Hash Time Locked Contract (HTLC). We have also formulated the time-lock equations using the confirmation time of probabilistic blockchains to be used in HTLC. The accuracy of proposed time-lock equations and the performance of the atomic swap solution is evaluated by implementing HTLC between Ethereum and Tron blockchains. Redeem and refund functions of HTLC are implemented as conflicting events, and only one of the two can execute for an atomic swap. The implemented atomic swap solution maintains atomicity and adheres to time-lock values calculated using the proposed time-lock equations.
【Keywords】Blockchain; Atomic swap; Atomic cross-chain swap; Smart contract; Hash time locked contract
【收录时间】2022-07-30
【文献类型】Article; Early Access
【论文大主题】去中心化金融
【论文小主题】去中心化金融技术
【影响因子】2.303
评论