TokenQR

What the first character tells the scanner

Updated · 4 min read

Paste an address into any wallet and it instantly knows which network to ask. Nobody selected a menu. The wallet read the shape. Address formats are designed to be recognizable at a glance, and the first few characters do most of the work. Understanding that routing explains both why scans are so reliable and why the rare failure is so total.

The shapes

Looks like Network What it encodes Checked by
T… (33-35 chars) Tron 21-byte account, base58check base58 checksum
0x… (42 chars) any EVM chain 20-byte key, mixed case EIP-55 letter-case checksum
bc1q… / bc1p… Bitcoin witness program bech32(m) checksum
base58, 32-44 chars Solana 32-byte ed25519 key nothing, the key itself
ltc1…, d…, 8… LTC, DOGE, Monero per-chain formats per-chain checksums

A wallet's first move is a shape test. A 42-character 0x string with a valid EIP-55 case pattern cannot be a Tron address, and a 33-character T string cannot be anything else. The shape narrows the network before a single byte is verified.

Then the checksum

The interesting part is what the checksum protects against: the fat finger. Every one of these formats except Solana embeds redundant arithmetic, so one mistyped character almost always breaks the code and the wallet refuses before asking a network anything. Bitcoin's bech32 catches any single error and most doubles. Ethereum's EIP-55 says a letter must be uppercase or lowercase based on a hash of the whole address; flip one letter and the two stories stop agreeing. The QR removes these errors at the source, which is why a verified generator prints the checksum test before it draws, not after.

The one that is not checked, and the one that is under-checked

Solana addresses have no checksum layer; the public key is the string. A mistyped character does not produce an error, it produces someone else's key. Never type these; scan them. And every EVM wallet shares one address across chains, so the shape test passes for all of them at once, which is precisely why the network has to be agreed out loud, in the label, or in the payment link.

Why this matters for a code

A QR does not choose the network; it carries the string that lets your wallet choose. Encoding a verified address, from the right network, under the right label, means the scanner's routing works exactly as designed. Get any of the three wrong and you learn the same lesson the designers already wrote into the formats: the shape always wins.

Generate a verified address code Open the QR maker

Keep reading