Sub topic 4
Hot Wallets: Fast and Exposed
Assume you already understand public and private keys, blockchain transactions, and the basic process of sending cryptocurrency. This chapter focuses on how an online wallet handles keys, why it is useful, and where its risks come from.
What makes a wallet hot?
A hot wallet is a wallet whose transaction-signing keys are available to an internet-connected device during normal use. The device may be a phone, laptop, browser extension, or server. The wallet can sign and send transactions quickly because it does not need a separate offline approval step.
The cryptocurrency is recorded on the blockchain, not inside the wallet application. The wallet holds or can access private keys. A private key is secret data that creates valid signatures for transactions. Whoever can use the required private key can usually move the associated funds.
A wallet remains hot even if it is used carefully. The important question is where the signing key lives and whether that key can be reached by software connected to a network.
| Setup | Where the signing key is available | Typical use |
|---|---|---|
| Hot wallet | Online phone, computer, browser, or server | Frequent spending and receiving |
| Cold wallet | Offline device or protected offline backup | Long-term savings |
| Exchange account | Exchange-controlled systems | Trading and account-based transfers |
A hardware wallet may protect a key from the computer that connects to it, but its exact security depends on its design and use. Treat the key's exposure and signing process as the deciding factors, not the product label.
Why hot wallets are useful
Hot wallets reduce friction. You can scan an address, review a transaction, approve it, and broadcast it in seconds. They work well for:
- Regular purchases and payments
- Small balances used for applications or services
- Receiving funds when you need an address immediately
- Testing a new application with an amount you can afford to lose
This convenience has a cost. A hot wallet should usually contain a spending balance, not every asset you own. The right amount depends on your expected payments and your ability to recover from a compromise.
What can go wrong?
A hot wallet's signing key may be exposed through several paths:
- Malware can read wallet data, alter a destination address, or control the screen.
- A phishing site can trick you into entering a recovery phrase or approving a malicious transaction.
- A fake wallet application can generate keys known to its creator.
- A stolen or unlocked phone can give an attacker access to the wallet.
- A compromised server can sign unauthorized withdrawals if its key is stored online.
- A mistake can send funds to the wrong address. Blockchain transfers are often irreversible.
The threat is not limited to stealing the key directly. An attacker may persuade you to sign a transaction that looks harmless but grants token spending permission or transfers assets to an attacker-controlled address.
> callout note > A password may protect the wallet application, but it does not make an online key cold. If malware can reach the unlocked wallet or its signing process, the funds may still be at risk.
Set a spending limit
A practical control is to define a hot-wallet cap. The cap is the largest balance you allow the wallet to hold. When the balance exceeds that cap, move the excess to a safer storage setup. Keep a lower target balance so that routine transfers do not immediately trigger another rebalance.
def plan_rebalance(hot_sats, hot_cap_sats, hot_target_sats):
"""Return satoshis to move out of an over-cap hot wallet."""
if hot_target_sats > hot_cap_sats:
raise ValueError("target must not exceed cap")
if hot_sats <= hot_cap_sats:
return 0
return hot_sats - hot_target_sats
print(plan_rebalance(5_000_000, 2_000_000, 500_000))
print(plan_rebalance(1_000_000, 2_000_000, 500_000))The function plans a transfer; it does not create or authorize one. Before sending, verify the destination through a trusted device or an independent record. Do not copy an address from an untrusted message without checking it.
Decide whether the wallet fits the threat
A hot wallet is a reasonable choice when speed matters, the balance is limited, and you can keep the device and software under control. It is a poor choice for funds that would cause serious harm if stolen.
Review the setup after major changes, such as installing unknown software, changing phones, sharing device access, or beginning to use a new decentralized application. Security is a process of limiting exposure, not a one-time setting.
Exercise
You use a wallet on an internet-connected phone and keep its signing key available for immediate payments. Is it hot or cold, and what control should you apply first?
Show answer
It is hot. Set a balance cap and keep only the amount needed for expected spending, while moving excess funds to a separate safer setup.