Commit · reveal · re-derive

Provably fair

You never have to trust us about which cards you got. Paste the payment signature of any opening and this page recomputes every card in your browser from public data.

Verify an opening

How a pack is rolled

  1. When you connect, the server creates a secret server seed for your wallet and shows you only sha256(server_seed).
  2. Your payment carries a memo goldpiece:<pack>:<first 16 hex of that hash>, so the commitment is on-chain before any card exists.
  3. Each of the 5 slots is rolled from HMAC_SHA256(server_seed, tx_signature:client_seed:nonce:slot). Your payment signature did not exist when the seed was committed, and you choose the client seed.
  4. The seed is revealed in the opening record right after the roll and a new one is committed for your next pack.
h  = HMAC_SHA256(key = server_seed, msg = `${tx_sig}:${client_seed}:${nonce}:${slot}`)
u1 = first 52 bits of h[0..7]  / 2^52   // hit slot only: picks the tier by cumulative odds
u2 = first 52 bits of h[7..14] / 2^52   // picks the card inside the tier (cards sorted by id)
slots 0-3 use the pack's base tier, slot 4 is the hit

Tier card lists and odds for every pool version are public at /rest/v1/pool_version, so anyone can rebuild them.