Computer Engineering and Applications ›› 2022, Vol. 58 ›› Issue (2): 116-122.DOI: 10.3778/j.issn.1002-8331.2008-0014

• Network, Communication and Security • Previous Articles     Next Articles

Fast and Fair Contract Signing Protocol for Fabric

CHEN Huanxin, LI Aiping   

  1. College of Information and Computer, Taiyuan University of Technology, Jinzhong, Shanxi 030600, China
  • Online:2022-01-15 Published:2022-01-18

基于Fabric的快速公平合同签署协议

陈焕新,李爱萍   

  1. 太原理工大学 信息与计算机学院,山西 晋中 030600

Abstract: With the rapid development and application of blockchain in the field of commercial transactions, especially the demand for fairness in the signing of transaction contracts, it has led to the traditional one-way trust model of blockchain needs to be replaced with a two-way trust mode. Based on the existing multiple fair contract signing protocol(FCSP), it proposes a fast and fair contract signing protocol for Fabric blockchain(TFCSP), different from the implementation of multiple block uploads or simple smart contract of the existing FCSP, by changing the gossip process of Fabric, TFCSP enables the transaction initiator to sign the transaction, the receiver to verify and sign the block information and then upload. This way of multiple asynchronous signatures, single upload and double verification of the contract content guarantees the two-way trust, and greatly improves the efficiency of the transaction. Finally, the protocol is applied to the insurance blockchain, its architecture design is completed, and its validity is verified through experiments, the protocol keeps good performance on the premise of ensuring transaction credibility.

Key words: blockchain, contract signing, Fabric, two-way trust, smart contracts

摘要: 区块链在商业交易领域的快速发展及应用,尤其是交易合同的签署对公平的需求,导致传统的单向信任模式的区块链需要更换为双向信任模式。基于已有的多种公平合同签署协议(fair contract signing protocol,FCSP),提出一种面向Fabric区块链的快速公平合同签署协议(TFCSP),与已有FCSP的分步多次区块上传或者简单智能合约的实现不同,TFCSP通过修改Fabric的gossip进程,由交易发起方对交易签名、接收方对块信息验证并签名再进行上传,这种多次异步签名一次上传及二次验证合约内容的方式保证了双向信任,并且大大提升了交易的效率。最后将该协议应用到保险区块链,完成其架构设计,并通过实验验证其有效性,实验结果表明,该协议在保证交易可信的前提下保持了较好的性能。

关键词: 区块链, 合同签署, Fabric, 双向信任, 智能合约