A real round on Zcash mainnet, checked in your browser

A fairness certificate for every sealed Zcash auction.

Anyone can produce one in their browser, without seeing a single price.

Fairness certificate · Lot

· blocks

Bids counted
Winners
Clearing price
300,000 zat
Refunds paid in full
Transactions scanned
482
Hidden payments found
0
    Verdict

    Checking...

    The seller's files, exactly as published. Every check agrees with the chain.

    No account. Nothing about you leaves this page.

    Servers contacted: none. After this page loads it makes no network calls.

    01

    How it works

    1Get the files

    The seller's files, exactly as published.

    2Run 23 checks

    Imani works the result out again from the chain.

    3Read the stamp

    FAIR if every check passes, NOT FAIR if one fails.

    02

    Check it yourself

    Drop the seller's files here. Imani works out which file is which. They are read on this device and never uploaded.

    03

    Kinds of round

    04

    Read more

    What the check proved and what stayed private

    What the check proved

    • The winners and price follow the lot's own rules
    • Every bid was counted and none was slipped in late
    • Every refund left the lot in full
    • It read every block of the auction, not only the seller's list

    What stayed private

    • Who the bidders are
    • What else is in their wallets
    • Any payment outside this one lot
    • Every amount, from anyone without this lot's key (the mainnet example publishes its key, so anyone can read that one)
    What Imani is

    Imani works the result out again from the chain: every bid counted, the right winner, every refund paid. It runs on your computer and shows nobody who bid. Once a lot's key is published, anyone holding it can read that lot's amounts and refund addresses. Bidders write their own refund address into their bid, and Imani checks, right in your browser with no server, that every refund landed there.

    Imani is a Zcash library and command line. It reads shielded payments with librustzcash, Zcash's own code, built to WebAssembly so it runs right here in your browser. It checks a whole round from one read-only viewing key plus public chain data, and its command line can download every block from two independent block servers that must agree.

    This page puts it to work on one question: was this sealed-bid auction on Zcash run fairly? It works the result out again from the seller's own files. It runs in your browser and uploads nothing.

    • Finds bids the seller left out. It reads every block of the auction, not only the payments the seller lists.
    • The bidder picks the refund address. It is written in the bid memo on the chain, so the seller cannot swap it.
    • Catches a change to any single number. Alter one bid, refund, winner or price and the check fails, naming the check that caught it.
    • Can re-read the chain from two separate operators. The command line tool downloads every block again and accepts it only when both agree.

    Servers contacted: none. This page makes no network calls after it loads. Your files stay on your device.

    Who learns what

    Worked out from the round's own files when this page was built, not typed by hand.

    WhoLearnsCannot learn
    Anyone, without the lot keyThat 80 shielded transactions in 34 blocks happened, and their feesAny amount, memo or address, or even which 6 belong to this auction
    Anyone, once the seller publishes the lot keyThe 3 bid amounts, their memos with each bidder's refund address, the 3 refunds and which bid each one pays backWho the bidders are, what else is in their wallets, or any payment outside this auction. Refund links that reach outside the round: 0
    The sellerEach bid as it arrives, because the lot key is the seller'sAnything else in the bidders' wallets. The seller can see bids early, which the check cannot rule out
    Each bidderTheir own bid and refund, and after the close everything the lot key showsOther bidders' wallets or identities
    The checker page and its hostThat the page was downloadedAnything you check here: the checker page makes no network calls after it loads
    The "Check any round" page, its host and two public Zcash serversOnly after you press the button that names them: which block numbers you asked for. The host also sees your IP address, as any website doesYour viewing key, or any amount, memo or address: the key never leaves your browser tab, and the blocks are read there. A saved block file sends nothing at all
    What this check cannot do
    • It only works when the seller shares the lot's one-time viewing key. A viewing key shows payments and can never spend them. Without it only the basic checks run.
    • The seller can see bids as they arrive. The check proves that the counting, amounts, price and refunds are right. It does not prove the seller never looked.
    • This is not a zero-knowledge proof. You recompute the result yourself from data the seller chose to share.
    • A shared viewing key cannot be taken back. Anyone who has it can see that lot's payments for good, so each lot needs its own fresh key.
    • Without the scan level, block heights and the list of payments come from the seller's files. With it, a saved chain file covers every block, but you still trust where that file came from.
    • A refund is shown to have left the lot with the right amount. Where it went is compared with the refund address the bidder wrote in their bid memo, which the seller cannot choose, or else with the list the seller gives. A seller's list is the seller's word: each bidder should check the address next to their bid is theirs. A refund is shown to have reached the bidder for certain only when that bidder supplies their own viewing key.
    About your files and keys
    • Nothing is uploaded. The page has no code that talks to a server, and its security policy forbids it (connect-src 'none').
    • Keys are checked on this device. Seed phrases and spending keys are refused. The lot key is never shown on this page.
    • Nothing is saved in cookies or browser storage. Close the tab and it is gone.

    01

    Place a bid

    Bid in a round from any Zcash wallet.

    You pay a deposit to the round's address. Your bid stays hidden, and you can check later that it was counted.

    Fill in the lot's details and get a payment request: a link and a QR code. Scan it or open it in a Zcash wallet that reads payment requests, and the wallet fills in the lot address, the amount and the bid memo for you. This page only builds the request. It sends nothing and holds no money.

    Three steps
    01
    Scan or copy the address

    Open any Zcash wallet that can send shielded payments.

    02
    Pay your deposit with your bid in the memo

    Pay at least the reserve. Anything above your bid is refunded.

    03
    Come back after the close

    Run the check, then prove your own bid was counted.

    02

    After the close

    Prove your own bid was counted.

    Check that your payment was counted at the right amount and your refund was paid, without showing anyone your wallet.

    Paste the transaction id of your bid (the receipt your wallet showed). The lookup runs here on your device, against the result above, and nothing is sent anywhere.

    What you will see
    ✓
    Your payment is on the chain, before the close

    Found at the block it landed in.

    ✓
    It was counted at the amount you paid

    The seller's result lists your bid at the right amount.

    ✓
    Your refund was paid

    Full refund if you lost, or your bid minus the clearing price if you won.

    ✓
    Refund went to the address you wrote

    A proof shows a payment was made, not who made it. Anyone holding the file can show it, like a receipt.

    01

    Your files

    Check a round you were given.

    Drop the seller's files here. Imani works out which file is which. They are read on this device and never uploaded.

    Drop your files here

    or press to choose them

    The files Imani looks for
    01
    Seller's disclosure file · Needed

    The lot's published rules and the key for this lot.

    02
    Seller's result file · Needed

    Winners, price and refunds as the seller reports them.

    03
    Saved chain file · Optional

    Adds the full scan of every block, so no payment can hide.

    02

    The verdict

    Result

    Amounts are in zatoshis, the smallest unit of ZEC: 100,000,000 zatoshis make 1 ZEC, so 2,000,000 zat is 0.02 ZEC. How many checks run depends on what the files allow. 5 basic checks need no key. The lot key adds 10, plus 1 when refund addresses are known. Reading every block adds 5, and bidders' own keys add 1.

    Loading the reader...

    03

    Where the numbers come from

    Where each number comes from

    From the chain

    Bid amounts, bid memos, refund amounts and refund memos. Read from the lot's transactions with the lot's one-time viewing key. Transaction ids are recomputed from the bytes.

    From the seller's file

    The bid list, winners, clearing price, reserve outcome and refund list the seller claims. The checker works these out again and compares.

    From the disclosure file

    Close height, the block height of each transaction, item count and reserve. Without the scan level these heights are taken on the seller's word.

    The same check, more kinds of round.

    Each one is a ready-made example. Open it, run the check, then flip to the cheated copy to see it fail.

    The page opens on a real auction: a real Zcash wallet paid these bids and refunds on Zcash mainnet, in real ZEC. A second real round on the public Zcash test network, lot DRY-01, uses test coins that have no value.

    01

    Ready-made rounds

    The round above, on Zcash mainnet
    REAL ZEC

    The round above, on Zcash mainnet

    The round above is a small round paid in real ZEC on Zcash mainnet: lot IMANI-M1, 3 bids and 3 refunds, with the bids adding up to 0.013 ZEC. The check reads every block from 3,532,593 to 3,532,653 (482 transactions) and passes 23 of 23 checks.

    All 3 bids came from 3 separate wallets that we ran, and we ran the lot too. So this round shows the checker working on real chain data. It does not show independent bidders. The page above checks it in your browser from its saved blocks. The live answer below is the same check worked out on our server.

    To check it yourself, run this in a copy of the Imani repository. It should print RESULT: PASS (23 of 23 checks passed).

    node bin/imani.js check --disclosure examples/mainnet-01/disclosure.json --result examples/mainnet-01/result.json --scan --chain examples/mainnet-01/chain.json

    To download the same blocks again from two public mainnet servers instead of using the saved copy, put --fetch in place of --chain examples/mainnet-01/chain.json.

    Made-up rounds, one cheat at a time

    These are built offline with throwaway keys. Each tampered copy changes one thing and fails on exactly the check built to catch it. The stories name the made-up bidders: Alice bids 3,000,000 zat, a second bidder 2,000,000, Carol 1,500,000, and Dave sends 1,200,000 after the close.

    Try a tampered copy: pick the honest round or any of the 6 tampered copies.

    With a full scan of every block

    The scan also reads every block of the auction from a saved copy of the chain, so a payment the seller left out cannot hide.

    With a refund address for every bid

    The seller lists the address each bid's refund must go to. The check reads where each refund really went and compares.

    With the refund address written by the bidder

    Each bidder writes their own refund address at the end of their bid memo, so the seller cannot choose it. The check reads it from the chain and compares it with where each refund went.

    Beyond auctions: a fundraiser or group buy

    The same check works on any collection where the amounts stay hidden. Here the rule is a goal: if the payments reach it they are all kept, and if not every payment is refunded in full.

    Sealed lots: the seller cannot read the prices

    In a plain lot the seller holds the key and could read every bid as it arrives. In a sealed lot each bidder pays the same deposit with only a hash of their price in the memo, then opens it after the close. The check verifies every opened price against its seal, applies the same price rule, and refunds deposits, with a penalty for seals that were never opened.

    Another price rule: the lowest winning bid

    A seller can choose what winners pay. By default it is the highest bid that lost. In this lot it is the lowest bid that won, so the last bidder in pays exactly what they bid. The lot's published rules say which one applies, and the check refuses a result that uses the other.

    Headline numbers a seller publishes

    Big auctions are reported as a few totals: how many bids, how much came in, how much was kept and how much went back. When a seller publishes them in the result file, the check adds them up (received = kept + refunded), compares them with the winners and the refund list, and with the chain.

    02

    Try to cheat it

    Cheat lab

    Pick a cheat. The page changes one fact in the seller's files and runs the same check again.

    The seller drops a losing bid of 1,500,000 zat from the files, so the price can fall.

    Carol lost and got 1,400,000 back, not her 1,500,000. The seller's file still says 1,500,000.

    Carol's 1,500,000 is on the chain but the seller's list leaves it out and raises the price to Bob's bid, 2,000,000.

    Each cheat is a real file from our test kit. Your own copy of Imani fails it the same way.

    03

    Another project's file

    A round someone else published

    Drop a round file published by another sealed-bid auction project on Zcash, or try one of the three below. The page works the numbers out again under that file's own rules. It reads only what is in the file and does not look at the chain.

    Run it from the command line
    npx -y @sireadell/imani check --disclosure disclosure.json --result result.json