Sub topic 4
Generating a Phrase on a Trusted Device
Assume you understand self-custody, public addresses, and private keys. This chapter focuses on creating a recovery phrase safely. A recovery phrase is the human-readable backup from which a wallet derives its private keys. Anyone who obtains it can usually control the wallet's funds.
What Makes a Device Trusted?
A trusted device is one whose software and hardware you can reasonably verify before using it to create secrets. For meaningful amounts, a dedicated hardware wallet is usually safer than a general-purpose computer or phone because it keeps the phrase inside a device designed for key management.
Before setup:
- Buy the device from the manufacturer's official store or an authorized seller.
- Check the package and device for signs of tampering.
- Download wallet software only from the manufacturer's official website or app store.
- Verify the software's published checksum or signature when the manufacturer provides one.
- Update the device through the official process.
- Disconnect unnecessary peripherals and close unrelated applications.
- Make sure nobody can see the device screen, your notes, or your hands.
Do not let a website, chat agent, browser extension, or person generate the phrase for you. A phrase generated by another party is not a secret.
Generate the Phrase
Start wallet setup on the device itself. Choose the option to create a new wallet, not to restore one. The device should generate random data using its hardware random-number source and approved software.
Most BIP-39 wallets produce 12, 15, 18, 21, or 24 words. BIP-39 is a standard that converts random wallet data into a word sequence. The last word includes checksum bits, which help detect some transcription mistakes.
# This calculates BIP-39 word counts without creating a wallet phrase.
for entropy_bits in (128, 160, 192, 224, 256):
checksum_bits = entropy_bits // 32
words = (entropy_bits + checksum_bits) // 11
print(
f"{entropy_bits} bits entropy + "
f"{checksum_bits} checksum bits = {words} words"
)Record the words exactly as the device displays them. Do not photograph them, copy them to a clipboard, type them into a computer, or save them in cloud storage. Write each word in order and number the positions.
After recording the phrase, the device should ask you to confirm selected words. Treat this as a required check, not a formality. If a word is unclear, stop and display it again. Do not guess.
Confirm the First Address
After the phrase is recorded and confirmed, let the wallet finish setup. It may display a receiving address. Compare the address shown on the device's trusted screen with the address shown in the companion application. This does not prove that your backup is correct, but it helps detect a modified or misleading application.
Do not deposit substantial funds yet. First, plan a separate backup test by restoring the phrase on a reset device or a spare compatible wallet. Use only a new wallet or an empty test account during that test.
Common Errors
- Generating a phrase on an internet-connected website.
- Accepting a phrase preprinted in the box.
- Entering the phrase into a support form or mobile app.
- Missing a word or changing its order.
- Assuming a checksum makes every mistake detectable.
- Funding the wallet before testing the backup.
Exercise
Your hardware wallet displays a new phrase, but a support representative asks you to type it into a recovery form to “activate” the wallet. What should you do?
Show answer
Do not enter it. Close the conversation and contact support only through the manufacturer's official channel. A legitimate support process never needs your recovery phrase.