Relaunch raffle

loading…

 

Raffle draw

Paste the hash of the block you announced and draw. The draw is decided entirely by that hash and the ticket list below, it runs in this page, and anyone can repeat it. Nobody can win twice: a winner's tickets all leave the pool.

How the draw works, so you can check it yourself
  1. The entrants are the list below, in that exact order: most tickets first, and ties broken by the id column, which is the first 12 hex characters of sha256(wallet). The order never depends on the database.
  2. The seed is your text with spaces trimmed, a leading 0x removed and everything lowercased.
  3. For winner number i (starting at 0) the page hashes <seed>:<i> with SHA-256, reads the first 16 bytes as one big number and takes it modulo the tickets still in the pool. That is the winning ticket; whoever holds it wins.
  4. The winner and all of their tickets are removed, then the next number is drawn the same way.

Each winner below shows the exact text that was hashed, the 16 bytes that came out and the ticket it landed on, so the whole draw can be redone with any SHA-256 tool. On a Mac: printf '%s' '<seed>:0' | shasum -a 256

List fingerprint

One line that proves the ticket list did not change. Published when the window closes, before the seed exists, it lets anyone check afterwards that the draw ran on exactly the list they saw. A draw you can verify over a list that can still be edited proves nothing.

loading…

 

How to check it yourself

Hash the published list with any SHA-256 tool and compare. On a Mac or Linux:

 

That file is plain text, built only from what the database gave us, so it is the same bytes for everybody:

  1. A version line, golfcraft-relaunch-v1.
  2. window <from> <to>, the event window in UTC.
  3. players <n> tickets <n>, the totals.
  4. Then one line per entrant, in the order of the table below: <id> <tickets>. The file ends with a newline.

Player names are left out on purpose: they are looked up live from Decentraland profiles, so a rename would change the hash of a list that did not change. Only the ids and the ticket counts are hashed, and the id is the first 12 hex of sha256(wallet), the same column the draw uses.

This page also rebuilds the list from what it received and hashes it again in your browser, which is the line above the buttons.

Tickets

One ticket per completed game.

#PlayerWalletidTickets