Skip to content

[Examples] Zk Auction Expansion #1024

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 30 commits into
base: mainnet
Choose a base branch
from

Conversation

iamalwaysuncomfortable
Copy link
Collaborator

@iamalwaysuncomfortable iamalwaysuncomfortable commented Apr 15, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants