sdk icon indicating copy to clipboard operation
sdk copied to clipboard

[Examples] Zk Auction Expansion

Open iamalwaysuncomfortable opened this issue 1 year ago • 0 comments

Motivation

A frontend for the original auction example on leo-playground.com was built in #1000. However, its simplicity while suitable for introducing basic record usage, it leads to a confusing end to end web app.

Thus to showcase how to mix private and public state, the auction contract has been extended to allow the following:

  • Creation of fully public auctions, fully private auctions that hide the item and the auctioneer to everyone except for invited bidders, or mixed privacy auctions that allow revealing of either the item or auctioneer.
  • Allows bidders to bid publicly or privately on auctions.
  • Allows bidders to redeem their items privately or publicly and transfer credits to the bidders privately or publicly

Preview:

image

iamalwaysuncomfortable avatar Apr 15 '25 16:04 iamalwaysuncomfortable