WaxRoom

Check it yourself

Verify a pull

This page checks a WaxRoom pull in your browser. It sends nothing to us — you can disconnect from the network after it loads and it still works.


The protocol, in full

  1. At seal, the server draws a 32-byte seed and publishes commit = SHA256(utf8(seedHex)), lowercase hex.
  2. The pool is frozen and hashed: snapshotHash = SHA256(utf8(canonicalPoolJson)). The canonical form is versioned, and the version is inside the hashed bytes: a pool that opens with "canonicalVersion":2 is version 2, which carries each card's identity, displayed value, weight and picture and nothing about what the card cost us; a pool with no canonicalVersion key is version 1, the original form, and only if it is that whole form: every card carries the original fields, its cost included. Each version has exactly its own keys, so a pool that is neither form is refused. Either way the hash is over the exact bytes, and the draw reads only the entries' order and weights.
  3. At open, digest = HMAC‑SHA256(key = utf8(seedHex), msg = utf8(packRef + ":" + snapshotHash)), where packRef is the pack reference as 32 lowercase hex digits with no dashes (the app shows it with dashes; this page accepts either and removes them).
  4. fraction = (first 8 bytes of digest, big‑endian) / 264, which lands in [0,1).
  5. The drawn entry is the first entry whose cumulative weight exceeds fraction × totalWeight.
  6. The seed is revealed. SHA256(seed) must equal the commitment published in step 1.
  7. The reel. Before the rip the app is handed displaySeed = HMAC‑SHA256(key = utf8(seedHex), msg = utf8("waxroom/v1/display|" + len(m) + "|" + m)), where m = packRef + ":" + snapshotHash, and the strip's stripHash. Each frame draws a published odds band by its probability, then a card in that band by its pool weight, from the stream HMAC‑SHA256(key = utf8(displaySeed), msg = utf8("waxroom/v1/stream/strip|" + i)) read six bytes per number; stripHash = SHA256(JSON [[entryIndex, bandIndex], ...]). The strip is fixed by the same commitment as the card, and the composer never sees the drawn card.
  8. Reel proof version 2. The bands are the committed pool's own: for each drawWeighting.bandEdges threshold, the sum of its entries' weights at or above it, in whole 10−8 units. A reel is always exactly 25 frames. Each frame shows its entry's catalogCardId, name and committed imageUrl character for character (empty when the pool committed none), gold when its value is in the pool's top quarter. receiptHash = SHA256(utf8("waxroom/v2/reel-receipt|" + displaySeed + "|" + stripHash + "|25" + per frame "|" + band + "|" + id + "|" + gold + "|" + len(name) + ":" + name + "|" + len(imageUrl) + ":" + imageUrl)). Nothing else goes in: no image setting, and no length from the receipt.

The server cannot re-roll: the seed is committed before it knows anything. You cannot influence the draw: the pack reference and the pool are fixed at purchase. And the pool cannot be swapped after the fact, because its hash is inside the HMAC message.

WaxRoom by CardGrader.AI. Every pack’s odds are published before purchase; every rip is verifiable.