Nostr WoT
IntermediateExtensionIdentityRecovery

Create a recovery phrase with dice

Build your Nostr recovery phrase from real dice rolls or coin flips instead of your computer's randomness.

·3 min read
Create a recovery phrase with dice

When you create an account with a seed phrase, the extension generates 24 recovery words from your computer's randomness. If you prefer not to rely on it, you can build the phrase from real dice rolls or coin flips instead. This needs Nostr WoT 0.8.15 or later.

Before you start

Have a normal six-sided die or a coin, and a few quiet minutes. Dice take 100 rolls; a coin takes 256 flips. Record only real throws: numbers you make up are far less random than they feel.

Open the dice game

  1. Start setup and choose Create with a seed phrase.
  2. Below the generated phrase, find Roll your own seed and choose Use dice or a coin. The game opens in its own tab, so a long session is not lost when the popup closes.

Roll your own seed below the generated recovery phraseRoll your own seed below the generated recovery phrase

Record your rolls

  1. Pick Dice or Coin. The choice locks once you record the first result, so the two never mix.
  2. Throw the die and tap the face that landed up, or press 1 to 6 on your keyboard. For a coin, heads is 1 and tails is 0.
  3. Each result rolls the die on screen and fills the bar toward 256 bits. Press Backspace or Undo last to remove a mistake.

Dice or coin choice before the first rollDice or coin choice before the first roll

One hundred recorded rolls reaching 256 bitsOne hundred recorded rolls reaching 256 bits

Use the phrase

  1. At 100 rolls (or 256 flips), choose Use this seed. If building it fails, your rolls stay so you can try again.
  2. The tab never shows the words. Choose Close this tab and return to setup.

The finished game, which tells you to return to setupThe finished game, which tells you to return to setup

  1. Back on the Create screen, your new phrase replaces the generated one. It starts hidden, and a notice confirms it came from your rolls.
  2. Reveal it in a private place and back it up the usual way, then continue setup. See Create a Nostr account for the backup check and password steps.

The new phrase, hidden until you reveal it, with the dice noticeThe new phrase, hidden until you reveal it, with the dice notice

If you take longer than five minutes to return to setup, the rolled phrase expires before it is saved. The Create screen tells you so and shows a newly generated phrase instead. Roll again if you want your own.

Check the words offline

The phrase is not mixed with the computer's randomness, so the same throws always give the same words:

  • Coin: the 256 flips are the BIP-39 entropy bits, first flip first.
  • Dice: the rolls are written as digits and hashed with SHA-256, the same method Coldcard uses.

An offline tool that uses the same method should give you the same 24 words. Use one only on a computer that is not connected to the internet.

Related video walkthroughs

These videos are in English.

Create Your Nostr Seed Phrase with Real DiceWatch on YouTube

Stay Updated

Get news about published Nostr WoT releases, new features, and integrations.

You will receive the newsletter in English.

We store your email address and preferred language to send you the newsletter.

Newsletters