zend.attest records a hash with Zend and returns a receipt signed by Zend. Receipts are chained, so a deleted or edited record is detectable. Use it for commit-reveal: commit to a secret before the game, reveal it after, and let anyone check you didn’t change it.
Needs the attest permission. Apps that do this can set results: "checked" in their manifest, which shows “Checked afterwards so nobody can cheat” on the listing.
Commit and reveal
Receipt
Fetch receipts
Anyone can read them, no auth needed:Verify a receipt
verifyAttestation recomputes receipt_hash from the receipt’s fields and checks Zend’s signature over it.
This catches lies after the game. It doesn’t stop players from using solvers during it; detect those separately.