Sub topic 1
What a Wallet Actually Holds: Keys, Addresses and Signatures
Prerequisites
You should already know that a cryptocurrency uses a blockchain to record transactions. You should also recognize public and private keys at a high level and have used a wallet app or exchange to send or receive crypto.
Coins Are Recorded on the Blockchain
A wallet does not contain coins in the way a physical wallet contains cash. The blockchain contains the record of which addresses can spend which funds.
A wallet is software or hardware that manages cryptographic keys. A cryptographic key is a large number used in mathematical operations. The wallet uses these keys to create addresses, check balances, and authorize transactions.
Your wallet may display a balance, but that balance is calculated by reading blockchain data. If you lose the wallet application but still have the required keys and backup, you may be able to restore access to the same funds.
Private Keys Control Spending
A private key is a secret value that authorizes spending. Whoever can produce a valid signature with the private key can usually spend the funds controlled by its corresponding address.
A public key is derived from the private key. It can be shared because it does not let someone spend funds. A wallet normally derives an address from the public key. An address is a shorter, user-friendly identifier that tells others where to send funds.
The exact process differs between cryptocurrencies. Some addresses are derived directly from public keys. Others use scripts, hashes, or account identifiers. The important relationship is:
- The private key creates a public key.
- The public key or a related script produces an address.
- Funds are assigned to that address by blockchain rules.
- The private key creates signatures that authorize spending.
A signature is proof that the transaction was authorized by the holder of the private key. It does not reveal the private key. It also does not prove a person's real-world identity. The network can verify that the correct key authorized the transaction without knowing who controls that key.
What a Transaction Does
When you send cryptocurrency, the wallet prepares a transaction. The transaction identifies the funds being spent, the destination address, the amount, and any network fee. It then signs the transaction with the required private key.
The network checks several conditions:
- The referenced funds exist and have not already been spent.
- The transaction follows the cryptocurrency's format and rules.
- The signature matches the transaction and the required public key or script.
- The sender has enough value to cover the amount and fee.
After validation, the transaction is broadcast and eventually recorded in a block. The wallet does not send a private key to the network. It sends the signed transaction.
| Item | Usually shared with the network? | Purpose |
|---|---|---|
| Private key | No | Creates spending authorization |
| Public key | Sometimes | Verifies a signature |
| Address | Yes | Identifies a destination or spending condition |
| Signature | Yes | Proves authorization for a transaction |
Addresses Are Not Permanent Accounts
Many wallets create a new receiving address for each payment. This improves privacy and makes it harder for observers to connect all of your activity. A wallet may still show one combined balance even though the funds are spread across many addresses.
Do not assume that an address is a username, an account, or a safe place to send every asset. Addresses depend on the cryptocurrency and sometimes on the network. Sending an asset to an incompatible address can make recovery difficult or impossible.
Always verify the address and network before approving a transaction. Malware can replace a copied address with one controlled by an attacker. A hardware wallet or trusted display can help you compare the destination with what you intended to send.
The Ownership Model
In self-custody, you control the private keys and therefore control signing. An exchange or other custodian may show you a balance, but the custodian controls the keys and processes withdrawals for you. The blockchain does not know your legal ownership. It only checks whether a valid authorization exists.
This is why wallet security focuses on key protection. Protecting the app alone is not enough. You must also protect backups, signing devices, and the process used to approve transactions.
Exercise
A wallet app is deleted, but its owner has a correct backup of the wallet's signing secret. Why might the owner still recover the funds?
Show answer
The funds remain recorded on the blockchain. The backup can restore the keys needed to derive the relevant addresses and create valid spending signatures.