Abstract
Cross-chain exchange is an important way to promote cooperation and exchange between different blockchains. However, current cross-chain approaches mainly rely on smart contracts with essential pre-deployment steps, several of which need to be synchronized, resulting in low performance. In this paper, we propose an asynchronous cross-chain exchange model based on a transaction that embeds a control condition to determine whether to transfer assets. The condition is used to specify the paired transaction. In order to find which cross-chain transaction meets the condition, the fields of cross-chain transactions are compared mutually, including sender, receiver, value, blockchain identifier, etc. Meanwhile, the balance process in the blockchain consensus needs to be changed: subtracting the balance of the sender first, increasing the balance of the receiver when the conditions match, or returning the assets to the sender if the time expires. By embedding conditions in transactions, the step of pre-deploying smart contracts is eliminated, and transactions can be sent in parallel. The simulation results show that compared with smart contract-based method, the exchange waiting time is reduced by up to 73.4%.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.References
Angela O, Sun Y (2020) Factors affecting cryptocurrency prices: evidence from ethereum. In 2020 international conference on information management and technology (ICIMTech), IEEE, pp 318–323
Aniello L, Baldoni R, Gaetani E, Lombardi F, Margheri A, Sassone V (2017) A prototype evaluation of a tamper-resistant high performance blockchain-based transaction log for a distributed database. In: 2017 13th European dependable computing conference (EDCC), IEEE, pp 151–154
Back A, Corallo M, Dashjr L, Friedenbach M, Maxwell G, Miller A, Poelstra A, Timón J, Wuille P (2014) ‘Enabling blockchain innovations with pegged sidechains’, URL: http://www.opensciencereview.com/papers/123/enablingblockchain-innovations-with-pegged-sidechains72
Buterin V (2016) Chain interoperability. R3 research paper
Christidis K, Devetsikiotis M (2016) Blockchains and smart contracts for the internet of things. IEEE Access 4:2292–2303
El Faqir Y, Arroyo J, Hassan S (2020) An overview of decentralized autonomous organizations on the blockchain. In: Proceedings of the 16th international symposium on open collaboration, pp 1–8
Esposito C, Ficco M, Gupta BB (2021) Blockchain-based authentication and authorization for smart city applications. Inf Process Manag 58(2):102468
Greenspan G (2015) Multichain private blockchain-white paper. http://www.multichain.com/download/MultiChain-White-Paper.pdf pp 57–60
Herlihy M (2018) Atomic cross-chain swaps. In: Proceedings of the 2018 ACM symposium on principles of distributed computing. pp 245–254
Kakavand H, Kost De Sevres N, Chilton B (2017) The blockchain revolution: an analysis of regulation and technology related to distributed ledger technologies. Available at SSRN 2849251
Kan L, Wei Y, Muhammad AH, Siyuan W, Gao LC, Kai H (2018) A multiple blockchains architecture on inter-blockchain communication. In: 2018 IEEE international conference on software quality, reliability and security companion (QRS-C), IEEE, pp 139–145
Kang J, Yu R, Huang X, Maharjan S, Zhang Y, Hossain E (2017) Enabling localized peer-to-peer electricity trading among plug-in hybrid electric vehicles using consortium blockchains. IEEE Trans Ind Inf 13(6):3154–3164
Kher R, Terjesen S, Liu C (2021) Blockchain, bitcoin, and ICOS: a review and research agenda. Small Bus Econ 56(4):1699–1720
Miraz MH, Donald DC (2019) Atomic cross-chain swaps: development, trajectory and potential of non-monetary digital token swap facilities. Ann Emerg Technol Comput (AETiC) 3
Nelson J, Ali M, Shea R, Freedman MJ (2016) Extending existing blockchains with virtualchain. In: Workshop on distributed cryptocurrencies and consensus ledgers
Shahid A, Almogren A, Javaid N, Al-Zahrani FA, Zuair M, Alam M (2020) Blockchain-based agri-food supply chain: a complete solution. IEEE Access 8:69230–69243
Tama BA, Kweka BJ, Park Y, Rhee KH (2017) A critical review of blockchain and its current applications, In: 2017 international conference on electrical engineering and computer science (ICECOS), IEEE, pp 109–113
Wang A, Wang H, Jiang B, Chan WK (2020) Artemis: an improved smart contract verification tool for vulnerability detection. In: 2020 7th international conference on dependable systems and their applications (DSA), IEEE, pp 173–181
Wang H, Cen Y, Li X (2017) Blockchain router: a cross-chain communication protocol. In: Proceedings of the 6th international conference on informatics, environment, energy and applications, pp 94–97
Wood G (2016) Polkadot: vision for a heterogeneous multi-chain framework. White Paper 21
Yadav AK, Singh K (2020) Comparative analysis of consensus algorithms of blockchain technology. Ambient Commun Comput Syst 2020:205–218
Zheng Z, Xie S, Dai H, Chen X, Wang, H (2017) An overview of blockchain technology: architecture, consensus, and future trends. In: 2017 IEEE international congress on big data (BigData congress), IEEE, pp 557–564
Funding
This work was supported in part by the National Natural Science Foundation of China under Grant No. 61772352; National Key Research and Development Project under Grant Nos. 2020YFB1711800 and 2020YFB1707900; the Science and Technology Project of Sichuan Province under Grant Nos. 2019YFG0400, 2020YFG0479, 2020YFG0322, and the R&D Project of Chengdu City under Grant No. 2019-YF05-01790-GX.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no conflict of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Su, H., Guo, B., Lu, J.Y. et al. Cross-chain exchange by transaction dependence with conditional transaction method. Soft Comput 26, 961–976 (2022). https://doi.org/10.1007/s00500-021-06577-5
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00500-021-06577-5