Try it yourself: a property auction where the bid deposits settle themselves.
At a property auction every bidder first lodges a deposit. Losing bidders wait for their money back, auctions are often cancelled or suspended, and some winners walk away. Nearly 300,000 property auctions are waiting in Greece, and only about 1 in 5 succeeds. Here every deposit waits in one escrow, and it moves only on what GenLayer validators read on the official auction record.
This page runs on GenLayer Studio with free temporary accounts kept in your browser. You play the creditor and two bidders. A whole auction takes about 20 to 35 minutes, most of it waiting for the auction to start. Fictional platform, property and bidders; test GEN only.
- Open. The creditor freezes the terms: the auction, the record page, a 1 GEN deposit and the deadlines.
- Deposit. Two bidders lodge exactly 1 GEN each before the auction starts, under the codes the record will print (B-201 and B-202).
- Read. After the auction, anyone asks for a reading. Each validator opens the record page and copies the status, winner and balance lines; code checks them and validators must agree exactly.
- Seen twice. A result counts only when two readings at least 2 minutes apart show it. Then code pays: unsuccessful bidders refunded, the winner's deposit to the creditor when paid or forfeited, everyone refunded if cancelled.
1. Accounts
Three temporary accounts, kept only in this browser, funded from Studio's built-in faucet.
Creditor
No account
Bidder 1 (code B-201)
No account
Bidder 2 (code B-202)
No account
2. Open an auction (as the creditor)
Pick what the official record will show after the auction. The record page is published in advance by the fictional platform and changes on its own clock.
3. Act
Money
Terms
Bidders
What the contract recorded
Open any auction
Finished examples with no wait: the ten auctions of the live runs on Studio and Testnet Bradbury are on the main page, every transaction linked.
The rules, in brief
- The model copies; code decides. Code finds each copied value after its label on the validator's own copy of the page, looks the whole status and balance text up in closed tables (anything else is UNCLEAR and moves nothing) and checks the winner is a well-formed bidder code.
- Exact agreement: a majority of validators must accept the reading, and each accepts it only if kind, status, winner and balance equal its own (any two no-readings agree; nothing moves on them).
- Seen twice: a state counts once two readings stamped at least the confirmation time apart show it, after deposits close.
- Outcomes: cancelled, suspended or no bidders refund everyone; completed with a pending balance refunds the unsuccessful bidders and holds the winner's deposit; paid in full sends it to the creditor as part of the price; buyer in default sends it as the penalty; no confirmed payment within the winner's window forfeits it; no outcome by the refund date refunds everyone.
- Payouts are credits: each address withdraws its own.
Full rules and limits: README. The contract's get_rules() returns them on chain.