Rules

The whole game in four parts: the code, the try, the answer, the opening. The same rules file runs in the keeper, in the site's routes and in this page.

The code

  • Six digits, 000000 to 999999: a million codes.
  • Before a vault takes a single try, the keeper writes its lock memo on Solana:
safe lock <n> sha256("safe|<n>|<code>|<salt>")
  • The salt is 16 random bytes, so nobody can find the code by hashing all million of them.
  • Vaults 1 and 2 are locked before launch; when vault n opens, vault n+2 is locked. The next vault is always locked already.

The try

  • Any buy of $SAFE worth 0.05 SOL or more is one try (buys in one transaction are added up, one try per transaction).
  • Aimed: the Try button on this site adds the memo safe 482130 to your buy, signed by your wallet.
  • Wild: any other buy tries the code sha256(signature) mod 1 000 000.
  • Sells and buys under 0.05 SOL are not tries. The keeper's own buybacks are not tries.
  • Tries count in chain order: slot, then place in the block.

The answer

  • The door lights one lamp for every digit in the right place. It never says which ones.
  • A digit that is in the code but in another place lights nothing.
  • Every answer is public. The Clues board counts the codes that still fit all of them, and Fits every clue hands you one.
  • A vault takes tries only after its lock memo and after the previous vault opened. A try that lands in between does nothing.

The opening

  • Six lamps: the first try in chain order with the exact code opens the vault. The next try already belongs to the next vault.
  • The keeper writes safe open <n> <code> <salt> <signature>, then pays.

To the wallet that opened it50% of the pot

Buys $SAFE back and burns it30%

Stays in the pot for the next vault20%

  • The pot is filled by the creator fees of $SAFE, forwarded to the keeper: 95% of every forward goes to the pot, 5% pays the network.
  • Under 0.01 SOL in the pot, the opening is revealed at once and the payout waits for the next forward.

Check the keeper yourself

  1. Find the lock memo of vault n in the keeper wallet's history: safe lock n <hash>.
  2. After it opens, take code and salt from safe open n ... and hash safe|n|code|salt with sha256: it must equal the lock hash.
  3. For every try of that vault, count the digits in the right place against the code: it must equal the lamps the door showed. Opened safes does both in your browser.