LogoLogo
Go to Bitcoin Support Home
Coldcard Hardware Wallet
Coldcard Hardware Wallet
  • Why we recommend Coldcard
  • Guide Overview
  • Wasabi Wallet companion app
  • 🏰Security Overview
    • Is Coldcard secure?
    • Securing the wallet: overview of the basics
    • How people lose their Bitcoin
  • 🔐Create your wallet & backup
    • What you need
    • Initializing the device
    • Coldcard PIN Overview
    • PIN Steps
    • Updating the Firmware
      • Verifying the Firmware
    • Wallet backup basics
    • Create Wallet backup
      • Dice Roll Method (optional)
      • MicroSD backup (optional)
    • Seed XOR (optional)
      • Steps for Seed XOR
      • Restoring from Seed XOR
    • Passphrase Overview
    • Steps for adding a passphrase
      • Lockdown Seed
    • Installing Wasabi Wallet
      • Verifying Wasabi Wallet
    • Connecting to Wasabi Wallet
      • Air-Gapped Coldcard (optional)
  • ⛓️How to use Coldcard with Wasabi Wallet
    • Steps for receiving Bitcoin payments
    • Steps for sending Bitcoin
      • Privacy/Coin Control
      • PSBT Method (optional)
  • 🏹More Features
    • PIN Security Features
    • Power & Login
    • Address Explorer
    • BIP-85 Wallets
      • Using BIP-85 with Wasabi
  • ⚠️Summary
    • DO's & DONT's
Powered by GitBook
On this page
  • Verifying the Dice Roll math
  • Doing the actual Dice Roll

Was this helpful?

Export as PDF
  1. Create your wallet & backup
  2. Create Wallet backup

Dice Roll Method (optional)

The Coldcard uses a random number generator for creating your Bitcoin backup. You can avoid using this if you are wary that it might be compromised or if you wish to input your own source of entropy by rolling a six-sided dice.

Roll your dice 100 times in order to achieve 256 bits of entropy.

Before we attempt the dice rolls in their entirety, we will make sure that the Coldcard isn't duping us into believing that the entropy that we provided is legitimate and they are somehow providing us with a random-looking number that isn't actually random.

Verifying the Dice Roll math

Steps for generating the backup:

  1. Using a pen and paper, note down the results of 6 dice rolls

  2. In the main menu, select 'Import Existing'

  3. Select 'Dice Rolls'

  4. Using the Coldcard's keypad, enter the results you obtained by pressing on the corresponding numbers (1 to 6)

  5. The Coldcard will produce 24 words, write them down

Steps for verifying that the backup generation is legitimate:

  1. Open the Terminal or Shell of your computer to input a command line

  2. Enter one of the the following commands :

echo -n 123456 | sha256sum
echo -n 123456 | openssl sha256

Replace '123456' by the dice roll numbers you obtained

Verify that the hash value output matches that on the Coldcard device screen.

Now we want to verify that the hash value really generates the same 24 words.

  1. In your Terminal, change the directory to where the above file is saved

  2. Run the following command, using the same dice rolls used for your test by replacing the '123456':

echo 123456 | python3 rolls.py

Verify that the 24 words output in your Terminal matches those on your Coldcard!

If they match, then you are good to go with the complete dice roll process.

Doing the actual Dice Roll

Steps for generating the backup:

  1. Using a pen and paper, note down the results of 100 dice rolls

  2. In the main menu, select 'Import Existing'

  3. Select 'Dice Rolls'

  4. Using the Coldcard's keypad, enter the results you obtained by pressing on the corresponding numbers (1 to 6)

  5. The Coldcard will produce 24 words, write them down

You now have your 24 word backup generated using your own source of entropy!

PreviousCreate Wallet backupNextMicroSD backup (optional)

Last updated 3 years ago

Was this helpful?

Save the script found here:

🔐
https://coldcardwallet.com/docs/rolls.py