Docs and verification

Build, inspect, and verify Hookedin rounds.

One workspace for the partner model, embed contract, public audit tools, calculators, and verification FAQ. Start with the tools when you need proof; use the references when you need implementation detail.

Verification checksClosing hash to winning ticket
  • closing block hash input
  • configured-width draw digits
  • ticket digit count
  • winning ticket calculation
Overview

One partner platform, one public audit path

Platform model
01Partner embeds the iframe

A partner-owned product can show the iframe publicly, then passes a public player ID and private account ID when the player buys tickets.

02Tickets join one ledger

Confirmed payments from every partner are assigned into the same shared round ticket sequence.

03Bitcoin block closes the draw

The closing block hash expands into the configured ticket digits; that number is the winning ticket.

04Anyone can verify

The browser calculator and standalone script let partners reproduce the winning ticket from public draw inputs.

Calculators and tools

Start with the proof surface

Utility guide
Audit workflow

What the calculator does

Open calculator
1Choose a settled round

Open a round page and copy the closing block hash.

2Convert the hash

The calculator recomputes the configured-width draw digits from the closing block hash.

3Read the ticket

The draw digit string is already the zero-indexed ticket number.

4Compare the result

The recomputed ticket number should match the displayed round result.

Bitcoin hash draw

Why the draw fills from right to left

Open calculator

Verification needs the configured ticket digits and the Bitcoin closing block hash. The block hash is converted into a 8-digit decimal value, and that value is the winning ticket number.

The hash work is meant to make block-withholding attacks harder. A miner who bought tickets and finds the closing block should not be able to instantly check whether they won and discard the block if they lost. The sequential hash work adds time pressure while a withheld Bitcoin block can be overtaken by another miner.

after k completed digits:
H = P * 10^k + S_k
winner = H

The right-hand suffix S_k is visible as progress, but the unknown left-hand prefix P still controls the final ticket bucket. That is why the string is constructed right to left: people can watch progress without revealing the winning ticket early.

Reference library

Read by task

FAQ

Common verification questions

Full FAQ
Which tool should I use first?

Use the Bitcoin hash draw calculator to inspect the block-hash-to-ticket step.

Does verification require trusting partner metadata?

No. Partner slug, theme, house edge, payout address, and player IDs do not influence winner selection. The draw depends on the closing block hash and the configured ticket digits.

What does the verifier prove?

It proves that the configured ticket digits and closing block hash reproduce the draw digits and winning ticket.

What does it not prove?

It does not prove that a partner credited an internal casino account, that a payout address belongs to the partner, or that a pending payout transaction has confirmed.