Skip to content

ProvableHQ/zk-auction-example

Repository files navigation

Private Auctions with Aleo

Overview

zkAuction is an example private auction system built on Aleo which can be used for applications like sealed-bid auctions, private NFT sales, or competitive procurement. It demonstrates how to mix private and public state within an Aleo smart contract and use that state within an end user application.

Quickstart

Develop in the Browser

Immediately begin developing this project in the browser using StackBlitz or Deploy it with Vercel.

Edit on StackBlitz    Deploy with Vercel

Deploy Your Own Smart Contract

Examine and Extend Aleo smart contract behind this project to create your own auction system on the Leo Playground.

Develop Locally

Run this project locally with the following commands.

yarn install && yarn dev

Features

👤 Auctioneering Features

  • Create a fully private auction, a public auction that hides the auctioneer, or fully public auction.
  • Have any auction accept only private bids, only public bids, or a mix of both.
  • Invite specific participants to bid privately via encrypted, on-chain invites.

🙋 Bidding Features

  • Place public bids, which are visible on-chain — while optionally keeping their identity hidden.
  • Place private bids, which are encrypted and only visible to the auctioneer.
  • Prove ownership of bids using bid receipts, allowing them to later redeem their bid if it wins — either privately or publicly.
  • Redeem items privately or publicly.
  • Pay the bid price publicly or privately.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •