QR codes in crypto: what's inside, and what to check before you pay

·5 min read·By SSP Editorial Team
SSP Academy cover: QR codes in crypto

QR codes in crypto: what's inside, and what to check before you pay

QR codes save you from typing a 42-character address. But a QR code says nothing about who made it. Here's what one contains, how it goes wrong, and how SSP uses them.

A QR code is just text

A QR code is a picture of a short piece of text. Your camera turns the squares back into that text, and that's all: no signature, no sender, no check that the text is honest.

In crypto, it's usually one of these:

  • bc1q...: a bare address
  • bitcoin:bc1q...?amount=0.005: a BIP-21 payment request
  • ethereum:0x...@1?value=5e16: an EIP-681 request (value in wei)
  • solana:<recipient>?amount=1: a Solana Pay transfer request
  • solana:https://...: a Solana Pay transaction request
  • wc:...@2?relay-protocol=irn&symKey=...: a WalletConnect pairing link
  • https://...: a website

The first four describe a payment. The last three do something else: a Solana Pay transaction request has your wallet fetch a transaction from a server for you to sign, and a WalletConnect link connects your wallet to a website.

Why your wallet still needs you

A wallet fills in whatever the text says. It can check that an address has the right format for the chain, but not that it belongs to the person you mean to pay. A swapped address is still a valid address.

Wallets also read the same text differently. Some fill in the amount, some ignore it. Units differ: BIP-21 amounts are in bitcoin, EIP-681 values are in wei. In an Ethereum token request (ethereum:<token>@1/transfer?address=<recipient>&uint256=...), the address right after ethereum: is the token's contract, and the recipient comes later. A wallet reading only the first address shows the contract.

So after every scan, look at what landed in the form: address, amount and network. Compare the address with a second source, such as the invoice, as you would after pasting. Clipboard hijackers shows why checking the first and last few characters isn't enough, and address formats explains what a "wrong format" error is telling you.

How QR codes go wrong

Swapped stickers. A printed code on a shop counter, a donation poster or a payment terminal can be covered with a sticker that points somewhere else, and still decode to a perfectly valid address.

"Scan to claim" phishing. Letters, emails and flyers promise an airdrop, refund or "security check" behind a QR code. The code opens a website, often a lookalike, which asks you to connect a wallet, sign something or type your recovery phrase. Phone cameras usually preview the link, so read the domain first.

WalletConnect codes. A scam page can show a WalletConnect code labelled "scan to verify". Scanning it connects your wallet to that site. The connection moves nothing on its own, but every request after it comes from the scammer. How WalletConnect works covers what a session can ask for.

Your seed in a QR code. Some backup tools and old paper wallets turn a recovery phrase or private key into a QR code. Whoever scans it owns the wallet. Never show one on a video call, never scan one into a site or app because someone asked, and never make one with an online QR generator.

Good habits

  • Check the decoded address, amount and network after every scan.
  • For payments, scan with your wallet, not the phone camera app, which hands links to the browser.
  • Look at printed codes first: a sticker over another code is a warning sign.
  • Treat a code that opens a website like a link from a stranger.
  • Only connect your wallet to sites you opened yourself.
  • Send a small test payment to a new payee first.

How SSP uses QR codes

SSP Wallet's receive screen shows your address as a QR code, with the address written out underneath and a warning that it's for that chain only. The code holds just the address, with no amount; SSP Key's receive screen does the same.

On the send screen, SSP Wallet has a scan button in browsers that support built-in QR detection. If the code is a payment link, SSP Wallet keeps only the part between the prefix and the first @ or ?, and ignores the amount, so you type it yourself. For an Ethereum token request, that can put the token contract in the recipient field, so ask for a plain address for token payments. The address is then checked against the selected chain, with a hint if it looks like another chain's address. That catches many typos and wrong-format addresses, not a swapped one.

Neither app connects to a site from a scanned code. SSP Wallet's WalletConnect screen takes a pasted link, and SSP Key's scanner only understands SSP's own codes, so a payment link or WalletConnect code comes back as invalid.

SSP Key's scanner is mainly for talking to SSP Wallet. During pairing, SSP Wallet shows a QR code holding its extended public key for the chain, and SSP Key scans it. That key can't spend, but it reveals your addresses (see what a seed, private key and xpub can do). Both devices then show the same six-word verification code, and SSP Key can scan the wallet's code to compare. A mismatch means don't use that pairing. If the relay can't reach your phone, SSP Wallet can show the transaction request as a QR code instead, and SSP Key opens it on its usual approval screen. Neither app shows your recovery phrase as a QR code.

The honest summary

A QR code is a convenient way to move text, nothing more. It can hold an address, a payment request, a website or a WalletConnect link, and it can be covered with a sticker. Your wallet can check the format; only you can check the destination. Read what was decoded, compare it with a second source, treat codes that open websites as links, and never turn your recovery phrase into a QR code.

Share this article

Related articles