freecoding.school100% FREE · NO SIGNUP
Ledger LandISSUE #45 of 90

hardware wallets · ledger · trezor · keystone

BlockyVSDouble-Spend Dan
Blocky saysHardware wallets keep private keys on a dedicated offline device that signs transactions.

A hardware wallet (Ledger, Trezor, Keystone) stores keys in a secure element and signs transactions on-device — the private key never touches your internet-connected computer. You confirm details on the device's own screen, defeating malware that would alter a transaction on your PC. It's the gold standard for self-custody of meaningful amounts, combining cold-storage security with usability.

Power-ups you unlock

Double-Spend Dan attacks — common mistakes

Boss battleExplain how a hardware wallet protects you from a compromised PC.

Example code

<!doctype html><html><head><meta charset="utf-8"></head>
<body style="background:#06040d;color:#e6e0ff;font-family:monospace;padding:20px"><pre>PC (maybe infected) → builds tx → device
device: shows real details, you confirm, signs internally
key never touches the PC</pre></body></html>
▶ Open the interactive comic issue
‹ Hd Wallets · Bip-32 · Derivation PathsMultisig · Gnosis Safe · M-Of-N ›