DACLOCK

The fair draw.

Five $DACLOCK holders win a copy of GTA 6. Nobody, us included, can choose who. Here is exactly how the pick works, and a tool to re-run it yourself.

The rule

  1. At the draw time (midnight Eastern, 19 Nov 2026) we read every token account of the $DACLOCK mint from chain and add up each owner's balance.
  2. A wallet is eligible if it holds at least 0.01% of supply. Accounts owned by a program (the bonding curve, pools and LP vaults), the mint authority and the dev wallet are left out.
  3. The eligible wallets are sorted alphabetically. The SHA-256 of that list, joined by newlines, is the snapshot hash.
  4. The seed is the blockhash of the first finalized Solana slot whose block time is at or after the draw time. Nobody can know it in advance.
  5. For k = 0 to 4: j = k + (SHA-256(blockhash + ":" + k) read as a 256-bit number, mod (count − k)). Swap positions k and j. Position k is winner k + 1.

Re-run it

Checking whether the draw has run…

The code

async function pick(wallets, blockhash, n) {
  const list = wallets.slice().sort();
  const out = [];
  for (let k = 0; k < n && k < list.length; k++) {
    const h = await sha256hex(blockhash + ':' + k);
    const j = k + Number(BigInt('0x' + h) % BigInt(list.length - k));
    [list[k], list[j]] = [list[j], list[k]];
    out.push(list[k]);
  }
  return out;
}