Hardware Wallet
A physical device that stores private keys offline and signs transactions in a secure environment.
A hardware wallet is a small, dedicated device whose only job is to store private keys and sign transactions. The keys are generated inside the device and never leave it. When you want to spend, the unsigned transaction is sent in (as a PSBT, the standard format for exactly this hand-off), you verify the destination and amount on the device's built-in screen, you confirm, and a signed transaction comes back out. Your laptop never sees the key.
The threat model this defends against: a fully compromised PC. If your computer is running malware that watches every keystroke and reads every file, a hot wallet's keys are toast - the attacker can just sign transactions to themselves at will. With a hardware wallet, the malware can show you a fake "Send to your friend" screen on the PC, but when the actual transaction goes to the hardware device, the device shows you the real destination address and amount on its trusted screen. You see the malware's substituted address, you reject the transaction, you're safe. That only works if you actually read the device screen and compare it with an address you got through a channel the malware doesn't control; the device can show you where the coins are going, not where you meant them to go.
What to look for when picking one:
- Open-source firmware. Closed-source signing devices ask you to trust the manufacturer's word that the device does what it claims. Open firmware lets the broader community audit the code that runs on the chip. Several mature open-source signing devices are widely available; prefer them.
- Bitcoin-only firmware, if offered. Multicoin firmware adds attack surface for support you'll never use. A simpler codebase is an easier-to-audit codebase.
- An air-gapped workflow, ideally. Devices that sign via QR code or microSD card never connect to a computer at all - even via USB - which closes off another category of attacks.
- Active development and a credible security history. Hardware-wallet vulnerabilities are routinely discovered and patched; you want a vendor that ships fixes promptly and publicly.
Recommendations rot fast. Rather than name specific products here, search "open-source bitcoin hardware wallet" or check what experienced self-custody-focused Bitcoiners are currently endorsing.
A hardware wallet is not magic. The seed phrase it generates is still the master backup; if someone gets that phrase, they don't need the device. The device's job is to keep the keys offline during day-to-day use, not to replace good phrase hygiene.
For amounts above casual-spending size, a hardware wallet is the floor. Multisig with multiple hardware devices is the next level up. See Journey: Be Your Own Bank for the walkthrough.
Key takeaways
- Offline key storage prevents software-based theft
- User verifies transaction details on a secure screen
- A middle ground between pure paper wallets and online wallets
Related chapters
On the mailing list
The topic timeline: Descriptors, PSBT and Miniscript (92 threads).
Sources (5)
- BIP-174 - Partially Signed Bitcoin Transaction Format (lets offline signers such as air-gapped wallets and hardware wallets sign without direct access to the UTXO set and without risk of being defrauded)
- Bitcoin Optech - Hardware wallet interface (HWI): a library and command-line tool that talks to hardware wallets using PSBTs and output script descriptors
- Bitcoin Wiki - Hardware wallet (keys cannot be transferred out of the device in plaintext; malware on the PC can still swap the recipient address, so confirm it out of band)
- Dmitry Nedospasov, Thomas Roth, Josh Datko - wallet.fail: hacking the most popular cryptocurrency hardware wallets, 35C3 (December 2018; some bugs fixable in firmware, some needing new hardware)
- BIP-39 - Mnemonic code for generating deterministic wallets (the phrase is converted into the seed that regenerates every key)
External references (3)
Related terms (15)
- Air-gapped
- Bitcoin Inheritance Planning
- Bitcoin Vault
- Custodial Wallet
- Deterministic Wallet
- Hardware Seed Vault
- Hardware Security Module (HSM)
- HD Wallet (Hierarchical Deterministic Wallet)
- Hierarchical Deterministic Wallet
- Inheritance Seed Backup
- Key Generation Ceremony
- Key Rotation
- Seed Phrase
- Security
- Wallet
Published . Revised . No corrections logged for this page.
Edit this page on GitHub