Font Size: a A A

Research And Application Of Block Chain Cross Chain Algorithm Based On Hashed Timelock Protocol

Posted on:2021-04-06Degree:MasterType:Thesis
Country:ChinaCandidate:Z J LiFull Text:PDF
GTID:2428330602976419Subject:Engineering
Abstract/Summary:
With the continuous development of blockchain technology,the application of blockchain in real business scenarios is also increasing.However,due to the technical characteristics of blockchain itself,each project is an independent closed blockchain network.There is no data communication between the chain and other chains,thus forming a data island.Users need to exchange digital assets on different chains through centralized exchanges,which is contrary to the idea of decentralization and non-tamperability of blockchain.Security and reliability depend on exchanges completely.To solve the problem of value exchange between different blockchains,the cross chain technology of blockchain is produced.HTLC(hashed time lock contract)algorithm is the most widely used cross chain technology.However,there are some problems in its practical application,such as low security,long transaction time and low default cost.To solve these problems,this paper improves the algorithm.At the same time,the algorithm is designed and implemented,and applied to the specific scene for verification.The main findings and contents of this paper are as follows:(1)We analyze the technology principle of blockchain and its underlying technology,introduce the Ethereum blockchain technology and smart contract technology.At the same time,we analyze the principle and implementation of cross chain algorithms such as Notary schemes,Sidechain and Distributed private key control.We explain the structure and flow of HTLC algorithm in lightning network,these technical principles provide theoretical basis and technical support for the research and improvement of blockchain cross chain algorithm.(2)Aiming at the problems of low security,long transaction time and low default cost in the application of HTLC algorithm in the real scene,this paper proposes an improved scheme in hash encryption transmission,backoff mechanism and default penalty.While improving the speed of cross chain transaction,it increases the attack cost of attacker to cross chain transaction and effectively reduces the risk of user's asset transaction.On this basis,the improved algorithm is defined and implemented.Compared with the original HTLC algorithm,the cross chain algorithm proposed in this paper has some advantages in security and performance,further expanding the application of the algorithm in the actual scene.(3)In order to solve the problems such as the inability to exchange points between traditional enterprises and the difficulty in landing the credit alliance of blockchain,this paper applies the improved HTLC algorithm to the credit exchange model.Based on this model,enterprises do not need to integrate user credit data into a blockchain.Through the credit exchange system,users can realize credit exchange on different chains.On this basis,we design and implement the credit exchange system and simulate the operation of exchange credit on different chains.We find that the algorithm can effectively meet the cross chain work of assets in real business scenarios...
Keywords/Search Tags:Block chain, Cross chain technology, Hashed Timelock, Ethererum, Credit exchange
Related items