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.
Immediately begin developing this project in the browser using StackBlitz or Deploy it with Vercel.
Examine and Extend Aleo smart contract behind this project to create your own auction system on the Leo Playground.
Run this project locally with the following commands.
yarn install && yarn dev- 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.
- 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.