Sub topic 1
What a Wallet Address Really Is
Prerequisites
This chapter assumes you understand the basic idea of a cryptocurrency and a blockchain. You should also be familiar with sending and receiving crypto in a wallet or exchange and be comfortable reading hexadecimal strings.
A wallet address is a public identifier that tells a blockchain where assets should be sent. It works somewhat like an account number, but it does not prove ownership by itself. The person who controls the matching private key can usually authorize transactions from that address.
A wallet application may manage many addresses. The word “wallet” therefore describes the software or system that manages keys, not a container that physically holds coins. The blockchain records balances and transactions. The wallet stores or protects the credentials needed to use those balances.
From private key to address
A private key is a secret number generated with cryptographic randomness. It must remain secret. On networks that use public-key cryptography, the private key produces a corresponding public key through a one-way mathematical operation.
The public key can be shared. An address is usually created from the public key, often by applying a hash function and encoding the result in a shorter, safer text format. Some systems use a script or account model, so the exact process differs by blockchain.
The relationship is directional:
- A private key produces a public key.
- A public key or spending script produces an address.
- A private key signs a transaction.
- Network participants verify the signature using the public key.
A signature proves that the transaction was authorized by the holder of the private key. It does not reveal the private key.
Private key → Public key → Address
│ │
└── signs transactions └── receives fundsThe arrow cannot normally be reversed. Knowing an address should not allow someone to calculate its private key. However, an address is still sensitive information because it exposes transaction history and balances on a public ledger.
Addresses are network-specific identifiers
An address has meaning in the context of a blockchain network and asset system. The same text can be valid on one network and invalid on another. A valid-looking address is not automatically a universal destination.
Common structures include:
- Bitcoin legacy addresses often start with
1or3. - Bitcoin SegWit addresses often start with
bc1. - Ethereum and other EVM-compatible networks commonly use
0xfollowed by 40 hexadecimal characters. - Solana addresses commonly use a longer Base58 string without a
0xprefix.
EVM means Ethereum Virtual Machine. An EVM-compatible network uses compatible address and transaction conventions, so one address may appear on Ethereum, Polygon, Base, or another EVM network. The network selection still determines where the transaction is recorded.
A format check can eliminate some mistakes, but it cannot identify every correct network.
import re
def looks_like_evm_address(address: str) -> bool:
return bool(re.fullmatch(r"0x[0-9a-fA-F]{40}", address))
address = "0x52908400098527886E0F7030069857D2E4169EE7"
print(looks_like_evm_address(address))This checks only the shape of the string. It does not prove that the address exists, belongs to the intended recipient, or is supported by the selected network.
Checksums and safe handling
Some address formats include a checksum, which is extra encoding used to detect typing errors. An Ethereum checksummed address may mix uppercase and lowercase letters. Wallets can reject an invalid checksum or warn about it.
A checksum is not an identity check. A correctly checksummed address can still belong to the wrong person or service. Copying an address from a trusted source and comparing the first and last characters helps, but malware can replace copied addresses. For valuable transfers, verify the complete address through a trusted channel.
Exercise
Exercise
What does a wallet address identify, and what authorizes spending from it?
Show answer
The address identifies a destination on a blockchain. A transaction is authorized by a signature made with the matching private key.