With the rapid development of digital economy,electronic contracting has been widely used in many fields such as finance,government,and education.The traditional e-signing system is highly dependent on the centralized server,and if this center is attacked from outside or inside,there is a possibility of losing,leaking and tampering the stored data.Therefore,the traditional electronic contracting system needs to seek new technical solutions to solve the above-mentioned problems,and the consortium blockchain,as a kind of blockchain that is currently gaining widespread attention,has the characteristics of partial decentralization,tamper-proof and traceability,which can precisely solve these problems.However,text documents are usually stored in blockchain,so this paper studies the e-signing scheme based on consortium blockchain and implements a prototype system based on it.The main work of this paper is as follows.(1)design for the consortium blockchain-based e-contracting scheme.Firstly,the scheme chooses to adopt Hyperledger Fabric consortium blockchain framework and IPFS technology,and then designs the e-contract deposition and e-contract signing schemes respectively,where the e-contract deposition scheme ensures the integrity and privacy of e-contracts by storing contract files to IPFS nodes and contract metadata to the blockchain.The e-contract signing scheme ensures the non-repudiation of the econtract through three rounds of signing by the user’s signature on the contract metadata,and finally reaching the signing of the contract.(2)Requirement analysis and design of the electronic contracting system based on the alliance blockchain.Firstly,the functional and non-functional requirements of the e-signing system are analyzed according to the designed scheme,then the overall functional structure of the system is designed in layers,and finally the database of the system application layer is described and designed.(3)Implementation of the prototype system of e-contracting based on consortium blockchain.Firstly,according to the designed scheme and system,the underlying framework of the consortium blockchain,Fabric,was built,and smart contracts were written according to the business process of the designed scheme. |