Labs · rehearsal
One sale, three records
A buyer keeps a book. A shop keeps a book. The receipt is the third record, and the anchor is what neither of them can edit.
Sell one coffee, then rewrite the price on the receipt. The transactions are a rehearsal, and nothing is broadcast. The receipt is a real receipt_v2: canonical bytes, the shop's BRC-77 signature, and a commitment.
The coins lab moves the coins. This page writes the books.
Sell the coffee.
The buyer's book, the shop's book, and the receipt are written together.
The buyer's book
Nothing written yet.
The receipt
No sale yet.
Sales tax is 8%, added in whole sats.
The shop's book
Nothing written yet.
The chain
No anchor yet.
The sale writes a payment and a receipt commitment. Both txids are labels for this rehearsal.