Crypto Wallet
A software program or hardware device that stores private keys, allowing users to sign transactions, manage balances, and interact with blockchain networks.
A wallet's primary job is transaction signing. When a user wants to send crypto, the wallet constructs a raw transaction, signs it using the elliptic curve digital signature algorithm (ECDSA) with the private key, and broadcasts it to a node.
Custodial vs. Non-Custodial:
- Non-Custodial (Self-Custody): The user holds the private keys (e.g., Ledger, MetaMask). 'Not your keys, not your coins.'
- Custodial: A third party holds the keys on the user's behalf (e.g., centralized exchanges like Coinbase or Binance).
graph LR
Center["Crypto Wallet"]:::main
Rel_private_keys["private-keys"]:::related -.-> Center
click Rel_private_keys "/terms/private-keys"
Rel_custodial_wallet["custodial-wallet"]:::related -.-> Center
click Rel_custodial_wallet "/terms/custodial-wallet"
Rel_wallet["wallet"]:::related -.-> Center
click Rel_wallet "/terms/wallet"
classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
linkStyle default stroke:#4b5563,stroke-width:2px;
🧠 Knowledge Check
🧒 Explain Like I'm 5
Think of a crypto [wallet](/en/terms/wallet) not as a physical wallet that holds cash, but as a digital keychain. The [blockchain](/en/terms/blockchain) is like a giant wall of transparent safe deposit boxes. Everyone can see inside the boxes, but you can only open your box if you have the right key. Your crypto wallet is the tool that safely holds your key and uses it to unlock your box when you want to send money.
🤓 Expert Deep Dive
HD Wallets and BIPs
Modern wallets are Hierarchical Deterministic (HD) wallets, following standards like BIP-32, BIP-39, and BIP-44. A single random entropy source generates a 12- or 24-word 'seed phrase' (BIP-39), from which an infinite tree of private and public keys can be derived deterministically. If a device is lost, the entire wallet can be mathematically recreated using just the seed phrase.
Hot vs. Cold Wallets
- Hot Wallets: Connected to the internet (e.g., MetaMask, Trust Wallet). Convenient for interacting with DeFi, but vulnerable to malware, phishing, and clipboard hijacking.
- Cold Wallets / Hardware Wallets: Physical devices (e.g., Ledger, Trezor) that generate and store private keys offline. Transactions are signed inside the device's secure enclave, meaning the private key is never exposed to the internet-connected computer.
Account Abstraction (ERC-4337)
A newer paradigm in Ethereum is the 'Smart Contract Wallet' (Account Abstraction). Instead of an Externally Owned Account (EOA) controlled by a single private key, the wallet is a smart contract. This enables features like multi-signature security, social recovery (recovering access without a seed phrase), and transaction batching.
❓ Frequently Asked Questions
Where are my cryptocurrencies actually stored?
Your cryptocurrencies are recorded on the public blockchain ledger. Your wallet only stores the private key required to move them.
What happens if I lose my hardware wallet?
If you lose the physical device, your funds are safe as long as you still have your 12- or 24-word seed phrase backed up. You can buy a new device, enter the seed phrase, and your keys will be regenerated. If you lose the seed phrase, the funds are lost forever.
What is the difference between a hot wallet and a cold wallet?
A hot wallet is connected to the internet (like a browser extension or mobile app), making it convenient but vulnerable to hacks. A cold wallet (like a USB hardware wallet) keeps your private keys completely offline, making it much more secure.