Why Addresses Need Checksums: Copy-Paste Traps and What Actually Protects You
What Base58Check, Bech32 and EIP-55 verify, and where they stop. Includes recipient checks, network matching and an exercise without money.
The wallet says “valid address” after you paste bc1q… or 0x…. That message confirms the encoding. You still check, separately, who controls the address and whether the recipient will credit this network.
A checksum catches many typos and bad copies. Base58Check, Bech32 and EIP-55 each compute it differently. The sample addresses in the Address Validator let you walk through the cases without sending money.
Three systems, one principle
Each format attaches the checksum in its own way:
| System | Example | Checksum | Catches |
|---|---|---|---|
| Legacy (Base58Check) | 1A1zP1… | 4-byte double-SHA-256 at the end | Typos with overwhelming probability |
| bech32 / bech32m (BIP173/350) | bc1q… / bc1p… | BCH code in the suffix | up to 4 character substitutions within the specified length limit; no general insertion or deletion guarantee |
| EIP-55 (Ethereum) | 0x5aAeb6… | No extra byte — capitalization is the checksum | Typos with very high probability (~15 checksum bits on average) |
EIP-55 stores the check in letter case and adds no extra byte. Lowercase the hex address with 0x removed, then hash it with Keccak-256. If the hash nibble at the matching position is 8 through f, capitalize that letter. Otherwise leave it lowercase. Digits stay as they are.
Many wallets accept an address without checking the case at all. A correctly computed EIP-55 address can also come out all lowercase or all uppercase by chance. The letters on screen are not a reliable sign that a check ran. The check runs when software compares the case it sees with the case derived from the hash.
bc1q and bc1p are both valid Bitcoin formats
bc1q… addresses (native SegWit, version 0, bech32) and bc1p… addresses (Taproot, version 1, bech32m) look related. The checksum constant differs. Both are valid Bitcoin mainnet formats. A wallet that supports the format can send to either. The address you pay does not have to match the type of your own receive address.
Editing the prefix by hand, or using the other checksum variant, breaks the encoding. If a service will not take Taproot, use an address the recipient supplies in a format they support. The validator will tell you why the check failed.
What no checksum protects against
A pass means the format and checksum rules under test are satisfied. The address can still belong to someone else. Clipboard hijacking and address poisoning both hand you an address in that state.
Clipboard hijacking: Malware on your machine swaps in the attacker’s address as you paste. The replacement is formally valid, and the wallet accepts it. After pasting, compare the entire address with a source you trust. On a hardware wallet, read the device display as well. A test transfer helps. It does not replace comparing the characters.
Address poisoning: The attacker sends a tiny amount (dust) or a worthless zero-value token transfer from an address that resembles a real one of yours, for example an exchange, at the start and at the end. Later you copy the wrong row from history. That address is formally valid too. Store the real one in an address book and copy from there. Check the full string. The matching start and end are the bait.
A signature is what shows that someone controls an address. The checksum shows that the encoding is intact. For Ethereum addresses, the Message Verifier can check an EIP-191 signature. What a Message Signature Proves covers what that signature establishes. How a Wallet Actually Works explains how address, public key and private key fit together.
Why this counts double for AI agents
An agent that takes an address from email, chat or a web page can pay an attacker the same way. Nobody has to touch the clipboard. An untrusted payment instruction is enough. An agent with a wallet (see What Actually Happens When AI Agents Start Paying for Themselves) needs an allowlist and a spending cap. The validator checks the layer under that: format and checksum.
Try it
Paste an address into the Address Validator. It reports format, version and checksum status, with the reason. The samples include the EIP-55 test address 0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed, taken straight from the specification.
Check four separate things before sending
| Check | Practical question | What a validator can do |
|---|---|---|
| Format | Is this string a supported address? | Detect format errors. |
| Checksum | Does the encoding satisfy its checksum scheme? | Detect many typos. |
| Network and asset | Does the recipient expect this exact token on this exact chain? | An EVM address alone cannot establish this. |
| Recipient | Did the entire address come from a verified contact or genuine deposit page? | It cannot confirm ownership or payment intent. |
Exchange deposit: The page shows a 0x… address. The same spelling can appear on several EVM networks. “Valid address” confirms the encoding. Whether the exchange will credit the network you selected is on the deposit page: asset, network, and any minimum listed there. A test payment has to meet those conditions too.
For an address book, add a recipient only after you have checked the full address. When a later message looks like new bank details, confirm the change on a channel you already use. Ethereum.org’s security guidance helps you spot these attempts.
An exercise without money or secrets
Open a built-in example in the validator. On a mixed-case EIP-55 address, change the case of exactly one letter. Validate again and read the error. Reset the example and set it next to another valid sample. Both pass, and they name different recipients. Before a real payment, check the person behind the address.
Sources:
Specifications
- Bitcoin BIPs: BIP173 — Base32 address format (bech32)
- Bitcoin BIPs: BIP350 — Bech32m format (bech32m for Taproot)
- EIP-55: Mixed-case checksum address encoding
- Geld 2.0 — Bitcoin from a monetary-theory perspective (in German)
- Bitcoin & Web3 Basics — overview
- How a Wallet Actually Works
- Why Ether Has 18 Decimals
- What Actually Happens When AI Agents Start Paying for Themselves
- Why QR Codes Belong to Crypto
- What a Message Signature Proves
- Glossary: Checksum, Bech32 & EIP-55