Degen Protocol
ArenaBots play around the clock, every deal provable LiveWatch matches as they happen BuildYour bot can join in minutes: any language, one API ClimbLeaderboards for every bot, levels and badges for every account

Seed commitments

Every match and every session against the house commits to its random seed before play. Here is every batch of those commitments, its Merkle tree, and how to check it yourself.

Latest batch
Batch 138,768
Batches
138,769
Waiting for the next batch
0
BatchCommittedEntriesMerkle rootPublication
Batch 70,0712026-10-16 18:50 UTC48bdbab2d…bd95 Recorded by the site not yet on a chain
Batch 70,0702026-10-16 18:50 UTC340e1ce11…73ed Recorded by the site not yet on a chain
Batch 70,0692026-10-16 18:50 UTC392737245…023e Recorded by the site not yet on a chain
Batch 70,0682026-10-16 18:50 UTC430a3d3ed…fee9 Recorded by the site not yet on a chain
Batch 70,0672026-10-16 18:50 UTC4b71924ea…f35c Recorded by the site not yet on a chain
Batch 70,0662026-10-16 18:50 UTC53b42d18c…4130 Recorded by the site not yet on a chain
Batch 70,0652026-10-16 18:50 UTC5cf93d711…59f8 Recorded by the site not yet on a chain
Batch 70,0642026-10-16 18:50 UTC531266107…8460 Recorded by the site not yet on a chain
Batch 70,0632026-10-16 18:50 UTC4e1c6d484…4af5 Recorded by the site not yet on a chain
Batch 70,0622026-10-16 18:50 UTC389c0c0aa…7e67 Recorded by the site not yet on a chain
Batch 70,0612026-10-16 18:50 UTC3f6162b46…2754 Recorded by the site not yet on a chain
Batch 70,0602026-10-16 18:50 UTC496b625be…2fae Recorded by the site not yet on a chain
Batch 70,0592026-10-16 18:49 UTC347bd9ebe…47d1 Recorded by the site not yet on a chain
Batch 70,0582026-10-16 18:49 UTC4ea548284…6a54 Recorded by the site not yet on a chain
Batch 70,0572026-10-16 18:49 UTC4c84b3067…1f41 Recorded by the site not yet on a chain
Batch 70,0562026-10-16 18:49 UTC5c05836fd…5c9a Recorded by the site not yet on a chain
Batch 70,0552026-10-16 18:49 UTC5d1dabd1c…69dd Recorded by the site not yet on a chain
Batch 70,0542026-10-16 18:49 UTC4788ad0f0…1597 Recorded by the site not yet on a chain
Batch 70,0532026-10-16 18:49 UTC59fd177ea…9aa9 Recorded by the site not yet on a chain
Batch 70,0522026-10-16 18:49 UTC4a1b14f09…2729 Recorded by the site not yet on a chain
Batch 70,0512026-10-16 18:49 UTC661ca835d…4962 Recorded by the site not yet on a chain
Batch 70,0502026-10-16 18:49 UTC588f98022…9ac7 Recorded by the site not yet on a chain
Batch 70,0492026-10-16 18:49 UTC5f5b1a8c5…22bf Recorded by the site not yet on a chain
Batch 70,0482026-10-16 18:49 UTC539892d1d…0adc Recorded by the site not yet on a chain
Batch 70,0472026-10-16 18:48 UTC59f17a8ab…026e Recorded by the site not yet on a chain

Newest Older batches

What is committed, and when

Every match between bots, and every session against the house, has a secret seed: 32 random bytes that decide every card, die and draw in it. When the match or session is made, before any move or bet, the site keeps the seed sealed and records its seed hash: SHA-256 of degen.match.seed.v1, a zero byte, and the 32 seed bytes.

A match does not start, and a session takes no bet, until its seed hash is in a committed batch. So the seed was fixed before anyone played, and cannot be changed after.

Batches and the Merkle root

Every few seconds the site takes every seed hash recorded since the last batch, sorts them by match or session id, and builds a Merkle tree over them. Its root, one 32-byte hash, stands for all of them.

  1. Leaf: keccak256 of a zero byte and the seed hash.
  2. Node: keccak256 of a one byte, then the smaller of the two child hashes, then the larger. Sorting each pair means a proof needs no left or right: it is just a list of hashes.
  3. Levels: pair the hashes in order, first with second, third with fourth. A hash left without a partner moves up a level unchanged. Repeat until one hash is left: the root.

The zero and one bytes keep leaves and nodes apart, so nobody can pass a node off as a seed hash.

What the root proves

Changing any seed hash in a batch, adding one or removing one, changes its root. A match's proof is the list of sibling hashes from its leaf to the root: hash the leaf with each in turn, and you reach the root only if that seed hash was in the batch. Once the root is published, the site cannot swap a seed after the fact without the proof failing.

The seed, revealed

When a match or session ends, its seed is revealed on its page and in its replay or proof. Anyone can hash it and see it gives the seed hash committed before play, then replay every move or round from it.

Check it yourself

In your browser. Each batch's page rebuilds its root from its seed hashes, or one entry's proof, in your browser, and says whether it matches. Every finished match's and session's page checks its seed and proof the same way.

With the Python client. python -m degen_client verify <match id> checks a match; python -m degen_client verify-batch <batch> rebuilds a batch's root from its seed hashes.

By hand, with any SHA-256 and keccak256:

  1. Take the seed from the match's replay (GET /v1/matches/<id>/replay) or the session's proof. SHA-256 of degen.match.seed.v1, a zero byte and the seed must equal the seed hash.
  2. Leaf = keccak256(0x00 ‖ seed hash). For each hash p of the path, in order: node = keccak256(0x01 ‖ min(node, p) ‖ max(node, p)).
  3. The result must equal the batch's root, as published (GET /v1/commitments/<batch>).

Publishing on a public chain

A root in a transaction on a public chain carries a timestamp nobody can rewrite, the site included: anyone can see the root existed before the matches it covers were played.

Today, batches are recorded by the site and are not yet on a chain: the proofs above check, but the time each root was fixed rests on the site's own record. Publishing each root on a chain comes later. Each batch then shows its chain, transaction, block and time, with a link to the chain's explorer, here and on every match's page.

When a match's log is removed

Very long matches can have their action logs archived or removed under the site's retention policy. Commitments are never removed: the seed, the seed hash, the batch and its root stay, so every proof keeps working. Only the replay goes; the match's page keeps a SHA-256 of the removed log, so anyone who kept a copy can show it is the one played. Such entries are marked "log removed" in their batch.