作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2023, Vol. 49 ›› Issue (2): 181-190. doi: 10.19678/j.issn.1000-3428.0063550

• 网络空间安全 • 上一篇    下一篇

Electronic Auction Scheme Based on Smart Contract and IPFS

WU Xiaohua1, LIU Huan1, WU Fengheng2, ZHANG Ke1   

  1. 1. School of Information and Software Engineering, University of Electronic Science and Technology of China, Chengdu 610054, China;
    2. Chengdu Huanhaishaqiu Network Technology Co., Ltd., Chengdu 610041, China
  • 收稿日期:2021-12-16 修回日期:2022-03-25 发布日期:2023-02-13
  • 作者简介:WU Xiaohua(1979-), women, associate professor, Ph.D., main research directions are artificial intelligence, blockchain, cryptography algorithm;LIU Huan, master;WU Fengheng, bachelor;ZHANG Ke, associate researcher, Ph.D.
  • 基金资助:
    National Natural Science Foundation of China(62173066);Open Project of Sichuan Provincial Key Laboratory of Intelligent Terminal Co-built by Province and City(SCITLAB-1014).

Electronic Auction Scheme Based on Smart Contract and IPFS

WU Xiaohua1, LIU Huan1, WU Fengheng2, ZHANG Ke1   

  1. 1. School of Information and Software Engineering, University of Electronic Science and Technology of China, Chengdu 610054, China;
    2. Chengdu Huanhaishaqiu Network Technology Co., Ltd., Chengdu 610041, China
  • Received:2021-12-16 Revised:2022-03-25 Published:2023-02-13
  • Supported by:
    National Natural Science Foundation of China(62173066);Open Project of Sichuan Provincial Key Laboratory of Intelligent Terminal Co-built by Province and City(SCITLAB-1014).

摘要: Sealed-bid auctions are a vital transaction tool in the e-commerce field.Traditional centralized auction schemes typically result in severe threats to data integrity, information transparency, and traceability owing to their excessive reliance on third parties, and blockchain-based auction schemes generally suffer from high storage costs and are deficient in functional and architectural design.To solve these problems, this study presents a sealed-bid auction scheme that removes the third-party based on an Ethereum smart contract, ensuring data integrity, openness, and transparency in the execution process.The commitment mechanism and distributed storage system help to significantly reduce the user's storage cost and protect the privacy of user bids.For the functional design, this study introduces a full-text-retrieval and dispute-processing module for commodities, which reduces the defects existing in the functional module design of existing auction systems.Furthermore, a prototype auction system on the Ethereum test chain is built to validate the proposed scheme.Experiments show that compared with traditional storage methods, indirect storage based on a distributed storage system of texts and images can reduce the storage cost by at least 50% while ensuring data integrity.Finally, the gas cost at each stage of the auction scheme and the time required for the full-text retrieval of products are recorded to evaluate the scheme performance and analyze the test results.

关键词: sealed bid auction, Ethereum, smart contract, commitment, Interplanetary File System(IPFS)

Abstract: Sealed-bid auctions are a vital transaction tool in the e-commerce field.Traditional centralized auction schemes typically result in severe threats to data integrity, information transparency, and traceability owing to their excessive reliance on third parties, and blockchain-based auction schemes generally suffer from high storage costs and are deficient in functional and architectural design.To solve these problems, this study presents a sealed-bid auction scheme that removes the third-party based on an Ethereum smart contract, ensuring data integrity, openness, and transparency in the execution process.The commitment mechanism and distributed storage system help to significantly reduce the user's storage cost and protect the privacy of user bids.For the functional design, this study introduces a full-text-retrieval and dispute-processing module for commodities, which reduces the defects existing in the functional module design of existing auction systems.Furthermore, a prototype auction system on the Ethereum test chain is built to validate the proposed scheme.Experiments show that compared with traditional storage methods, indirect storage based on a distributed storage system of texts and images can reduce the storage cost by at least 50% while ensuring data integrity.Finally, the gas cost at each stage of the auction scheme and the time required for the full-text retrieval of products are recorded to evaluate the scheme performance and analyze the test results.

Key words: sealed bid auction, Ethereum, smart contract, commitment, Interplanetary File System(IPFS)

中图分类号: