Journal of Applied Sciences ›› 2023, Vol. 41 ›› Issue (3): 431-447.doi: 10.3969/j.issn.0255-8297.2023.03.006

• Business Process Management • Previous Articles     Next Articles

Improved Hashed Timelock Contract Based on Miners

ZUO Yuxuan, QIANG Zhenping, DAI Fei, SU Shiqi, LIANG Zhihong   

  1. School of Big Data and Intelligent Engineering, Southwest Forestry University, Kunming 650224, Yunnan, China
  • Received:2022-09-28 Online:2023-05-30 Published:2023-06-16

Abstract: To overcome the challenging problem of the inability of hashed timelock contract to realize cross-chain asset transfers, an improved cross-chain protocol based on miners is proposed. The protocol incorporates elliptic curve cryptography during the atomic swap process, enabling miners to generate and lock transactions on the target chain, thereby completing cross-chain asset transfers. Additionally, a competitive selection algorithm and a reward-punishment algorithm for miner nodes are integrated into the protocol to implement a new proof-of-coin-trust consensus mechanism. Finally, the protocol’s smart contracts and their functional capabilities are described in detail. Simulation results based on Ethereum show that cross-chain asset transfer is safely completed, and honest miners are motivated to actively participate in cross-chain transactions.

Key words: blockchain, cross-chain, hashed timelock contract, asset transfer, elliptic curve cryptography, consensus mechanism

CLC Number: