How crypto transactions and wallets work

What a private key, public key and address really are, why a wallet does not actually hold your coins, and what happens step by step when you send crypto.

Your coins are not "in" your wallet

The most important idea in this article is a surprising one. A crypto wallet does not contain coins the way a leather wallet contains banknotes. Ethereum.org puts it directly: you hold private keys, not the cryptocurrency itself, because the funds always remain on the blockchain's ledger.

The blockchain is the record of who owns what. Your wallet holds the secret that proves you are allowed to move what the record says belongs to you. Lose that secret and the coins are still there on the ledger, but nobody, including you, can move them. Let someone else learn it and they can move them as easily as you.

Keys and addresses in plain words

Crypto uses public-key cryptography, a branch of mathematics that creates matched pairs of keys:

An analogy: the address is like your email address (safe to share, people send things to it), and the private key is like your password (anyone who has it controls the account), except there is no "forgot password" button.

What a wallet actually is

Ethereum.org distinguishes an account (the key pair and its balance on the blockchain) from a wallet (an app or device that lets you use that account). A wallet:

Wallets come in several forms: mobile and browser apps (convenient, connected to the internet), hardware devices (keys stay on a dedicated device that signs offline), and accounts at an exchange, where the exchange holds the keys for you.

Sending crypto, step by step

Suppose you want to send 0.1 ETH to a friend (illustrative amount).

  1. You enter the address and amount. Your friend gives you their address. You paste it, carefully.
  2. Your wallet builds the transaction. It specifies the sender, the recipient, the amount and the fee you are willing to pay.
  3. You sign it. The wallet uses your private key to create a digital signature. Anyone can verify the signature with your public key, but nobody can forge it without your private key.
  4. The transaction is broadcast. It goes out to the network and waits, with other pending transactions, to be included in a block.
  5. It is included in a block. On Ethereum a validator includes it; on Bitcoin a miner does. Block explorers show the transaction moving from "pending" to "success" (or "failed").
  6. Confirmations accumulate. Each new block added after yours makes reversing it harder. Bitcoin.org notes that confirmations arrive at irregular intervals because finding blocks is probabilistic.

On Bitcoin the mechanics differ in detail (it tracks unspent pieces of previous transactions rather than account balances), but the core is the same: sign with a private key, broadcast, get included in a block.

What can go wrong

Why transactions are public

Every transaction is recorded on a public ledger that anyone can inspect with a block explorer: a website that shows blocks, transactions, addresses and balances. Ethereum.org's guide to block explorers notes that accounts can be tracked through their history. Your address is not your name, but if it is ever linked to you (for example through an exchange that knows your identity, or by posting it publicly), your whole history can be seen.

Worked example (illustrative). You pay a shop from the same address you use for savings. The shop now knows that address, and therefore can see your savings balance and every past payment from it. Many people use separate addresses for different purposes for this reason.

Key takeaways

Common mistakes

Sharing a private key or seed phrase with "support", not verifying the full address before sending, sending on the wrong network, and approving unknown smart contracts.

This article is educational and not personal financial advice. Crypto assets are highly risky and you can lose everything you put in.

Test yourself

  1. If you lose your private key and have no backup, where are your coins? Answer: Still recorded on the blockchain, but no one can move them, so they are effectively lost.
  2. Which is safe to share: your private key or your address? Answer: Your address. Never share the private key.
  3. Why might reusing one address for everything reduce your privacy? Answer: Anyone who links that address to you can see its full balance and transaction history on a block explorer.

Sources

For educational purposes only. This is not financial advice. Investing carries risk, including losing the money you put in. Do your own research.