This repo implements the protocol refered to paper: SEAL:Sealed-Bid Auction Without Auctioneers.
This paper proposed a decentralized auction protocol without a central auctioneer. Every bidder compute the highest bid price using secure multi-party computation. In short, every bidder cooperate with each other and compute the highest bid price (winner in the auction) among all bidders. After the auction, every bidder only know the highest bid price and learn nothing about other's bid price.
However, it's a problem that how each bidder communicate with each other? This paper only mentioned there's a secure channel or secure public bulletin in this protocol. Hence, we proposed two implementation for the public bulletin.
In implementation I, we use a traditional centralized web backend server as a public bulletin.
In implementation II, we use a blockchain as a public bulletin. In blockchain, everyone has a consensus on the global current state. Every transaction is recorded on chain and backend server code can also run onchain using smart contracts.
For detailed operation for these implementation, please refer to implementation I and implementation II.