Reading contract state from the preprod indexer…
Reading contract state from the preprod indexer…
A sealed-bid auction is only as honest as the system holding the bids. Aegis Procure puts the bids on a blockchain where nobody — not the organizer running the auction — can read an amount before the deadline. Built on Midnight with Compact contracts and ZK proofs.
Three transactions, one contract deployment per auction. Several auctions can run at the same time because several contracts can — the dashboard lists them.
Bidders submit hash(bidAmount, salt) to the public ledger. Raw amounts stay private.
Bidders submit amount + salt as ZK private witnesses. The circuit verifies the hash. No amounts hit the ledger.
The organizer's wallet states the winning key and price, and those two values are disclosed. Losing bids are never readable from the ledger.
Raw bid amounts are never written to the public ledger — they exist only as private witnesses inside the circuit, and disclose() never takes a bid amount as an argument. After finalization the ledger holds one winner and one price; the other amounts stay sealed.
What this version does not prove: that the disclosed price was the lowest reveal. That pair is supplied by the organizer's wallet, and the contract enforces the deadline, one-commitment-per-key and the hash match instead. See the README Limitations section.