Create Auction

Deploy a sealed-bid reverse auction to the Midnight blockchain. Your wallet will prove the circuit and ask you to approve the transaction.

Stored on-chain as unix seconds — bidders can commit until this moment, reveal after it.

What happens on-chain:

1. Your wallet proves the createAuction circuit and you sign the balancing transaction.

2. The contract sets auctionActive = true and records you as organizer plus the deadline.

3. Bidders submit commitment hashes until the deadline via commitBid.