Foundations · Wallets & Security
Hardware Wallets
A hardware wallet is a small dedicated device that stores private keys offline and signs transactions on the device itself, so the keys never reach the computer or phone it is used with.
Why it matters
A hardware wallet is the most common way to hold keys offline, and it is widely described as a strong protection for self-held funds. That reputation is deserved for one specific threat and misleading for others.
Knowing where the protection starts and stops matters more than owning the device. People with hardware wallets lose funds regularly, most often by approving something harmful or by giving away the seed phrase.
How it works
- PrepareAn app on the computer or phone builds the transaction.
- DisplayThe device shows the details on its own screen.
- ConfirmThe owner presses a physical button on the device.
- SignThe device signs inside. The key stays there.
- BroadcastOnly the signature goes back to the app and the network.
A hardware wallet is a small device, often the size of a USB stick or a thin card, with its own screen and buttons. It generates and stores the private keys and is built so that they are not meant to be read out. Many models keep them in a tamper-resistant chip called a secure element.
The device does not hold coins and usually cannot reach the internet by itself. It works with a companion app on a computer or phone, which shows balances, builds transactions and broadcasts them. The single job done inside the device is the one that needs the key: signing.
In plain words
Think of a company seal locked in a small safe with a slot. Documents go in through the slot, the owner reads each one through a window and presses a lever, and the document comes out stamped. The seal never leaves the safe. If the owner stamps a bad contract, the stamp is still valid.
What it protects, and what it does not
HELPS AGAINST
Attacks on the computer or phone.
- Malware searching the computer for keys
- A stolen wallet file or password
- Software changing an address, if the owner checks the device screen
DOES NOT HELP AGAINST
Decisions made by the owner.
- Approving a malicious transaction on the device
- Typing the seed phrase into any site or app
- Losing the written backup
- A device that was tampered with before it arrived
The device is aimed at one problem: a compromised computer or phone. Malware can search every file and record every keystroke and still find no key, because the key is not there. This is why a hardware wallet is generally considered much less exposed to remote theft than a hot wallet.
It offers no protection against the owner’s own approval. If a malicious website requests a harmful transaction and the owner confirms it on the device, the device signs it faithfully. A hardware wallet used to grant an unlimited token approval to a malicious contract gives away exactly as much as a hot wallet would.
Reading the device screen
The device’s own screen is the trusted display. The computer screen can be altered by malware. The device screen is much harder to alter.
| What the device shows | What it means |
|---|---|
| A recipient address and an amount | A plain transfer. The address can be compared, character by character, with the intended one |
| A named action, such as an approval, with a spender and an amount | A contract interaction the device was able to decode |
| Raw data or a long string of characters | The device could not decode the request. Confirming it is blind signing |
Blind signing means approving something that cannot be read. Many wallet-draining attacks depend on it.
Going deeper
PIN and reset. A PIN stops a casual thief from using a found device, and many devices erase themselves after several wrong attempts. The funds are then restored on a new device from the seed phrase.
The backup is still paper. Setting up the device produces a seed phrase like any other wallet. Whoever has those words does not need the device at all.
Supply chain. A genuine device creates its seed phrase during first setup, on its own screen. A device that arrives with a phrase already printed on a card, or with instructions to use a supplied phrase, has been tampered with. Buy a hardware wallet directly from its maker or from a seller the maker lists as authorised. A device from a marketplace listing, a second-hand sale or an unknown seller may have been tampered with. Whatever the source, never use a recovery phrase that came with the device or from someone else, and set the device up yourself.
Updates. Device software, called firmware, is updated from time to time through the maker’s own app. An update process does not ask for the seed phrase to be typed into a computer or website. A page that does ask is phishing.
Two hypothetical moments at the device screenHypothetical illustration
The device helps. Iris copies an address to send 10 units of a coin. Malware on her computer silently replaces the copied address with another one. Her computer shows a normal-looking transfer. The hardware wallet shows the address that will really be signed, which starts with different characters from the one she intended. Iris notices, rejects the request and nothing is sent.
The device cannot help. A week later Iris visits a site that promises a reward. Her device shows a request it cannot fully decode, and the site urges her to confirm quickly. She presses the button. The request was an approval that lets a stranger’s contract move her tokens. The device did its job: it signed what its owner confirmed.
What it does NOT mean
- A hardware wallet is not a guarantee of safety. It removes one class of attack and leaves the others in place.
- The device does not store coins. It stores keys. Losing or breaking it loses nothing if the seed phrase is safe.
- Pressing the button is not a formality. It is the moment of consent, and it cannot be taken back.
- The device is not the backup. The seed phrase is. Protecting the gadget and neglecting the paper gets the priorities backwards.
- Offline keys do not make a malicious website harmless. The site only needs a signature, not the key.
Common mistakes
- Confirming without reading. The screen is small and the habit of pressing “yes” forms quickly.
- Typing the seed phrase into a computer. That one act turns the cold wallet into a hot one.
- Trusting a pre-configured device. A phrase supplied by someone else is a phrase that someone else knows.
- Enabling blind signing and forgetting about it. Every unreadable request after that is approved on trust.
- Never checking the backup. A phrase copied with an error is discovered only when the device fails. Check it only with the wallet’s own on-device recovery check or backup screen, or by restoring onto a genuine spare device that you set up yourself and reset afterwards. Never type the words into a website or a look-alike app.
Risks and limitations
- Devices can be lost, damaged or discontinued. Access then depends entirely on the seed phrase.
- Physical attacks on devices have been demonstrated by researchers. They usually require possession of the device and specialised skill.
- Small screens cannot always show complex contract interactions in a readable way.
- Designs differ between makers in chips, connections and how much of the software is open to inspection. This page does not compare products.
Key takeaway
A hardware wallet keeps keys on a separate device and signs there, which protects them from malware on the computer. It does not protect against approving a malicious request or revealing the seed phrase.
Sources and further reading
- Mastering Bitcoin, Andreas M. Antonopoulos. Chapters on wallets and security, including hardware signing devices
- Mastering Ethereum, Andreas M. Antonopoulos and Gavin Wood (2018). Chapters on wallets and on transactions and signatures
- Ethereum security and scam prevention (opens in a new tab), ethereum.org. A hardware wallet provides offline storage for private keys, and the transaction message should be read before signing
- Ledger Academy: Buying a Ledger securely (opens in a new tab). Buy from the maker or an authorised reseller; devices from unauthorised sellers can be tampered with
- Trezor Support: Is my device safe to use? (opens in a new tab). Never buy from an unauthorised third party; check the package for signs of tampering