Essay
The 2130 number, without hand-waving
“It is impossible” is a conclusion, not an explanation. This is the explanation: two spaces of different sizes, one hash function, and a division that produces a number with a name.
Start with what you are actually generating
A 12-word mnemonic contains 128 bits of entropy. People often assume that means a wallet is “128-bit safe”, and therefore that a search of the mnemonic space is a search of 2128 steps. That is the first mistake, and it is a subtle one.
The mnemonic is not the address. It is a seed that is stretched by BIP-39 into a 512-bit seed, then by BIP-32 into a 256-bit private key, then by secp256k1 into a public key, then hashed into a 160-bit address. So the object you are trying to hit lives in a space of 2160, not 2128 — and the mapping from seeds to addresses behaves, for all practical purposes, like a random function.
A random function from 2128 inputs into 2160 outputs covers, at best, 2128 of those outputs: one part in 4.3 billion. That single ratio is the whole story, and it is why “I have 340 undecillion possible wallets to try” is much less impressive than it sounds.
The division
To find any funded wallet, you need two quantities: how many addresses are funded, and how large the space around them is. The second is exact. The first is an estimate, and it does not need to be precise — a factor of ten moves the answer by three bits.
| Quantity | Value | Source |
|---|---|---|
| Address space | 2160 ≈ 1.46 × 1048 | exact (160-bit hash) |
| Addresses with any history, all chains | ≈ 109 | order-of-magnitude estimate |
| Expected work for one hit | ≈ 1.46 × 1039 ≈ 2130 | division |
Two hundred bits of margin, minus thirty bits of target density: one hundred and thirty bits of work. That is the entire security model of every wallet you have ever used, expressed as a subtraction — and it is why the number does not move when chips get faster. It is not a race between your GPU and the network. It is a race between your GPU and a constant.
“Surely there is a smarter algorithm”
For a specific public key, there is a better algorithm than brute force: Pollard’s rho solves the discrete logarithm in about 2128 group operations instead of 2256. That is a real square-root speedup, and it is why secp256k1 is described as offering 128-bit security rather than 256.
It does not help a wallet finder, for a reason worth internalising: each group operation is a point multiplication, hundreds of times more expensive than deriving one address from an already computed seed. You would be paying a thousandfold for a factor that does not matter, because 2128 expensive operations remain 2128 operations. And there is no “any target” variant that exploits the sparse funded set — the birthday bound applies to collisions among your own samples, not to collisions with a fixed billion specks.
The doubling trap
Every demonstration of a “faster” finder is a doubling. Twice the keys per second, half the time. It sounds like progress until you count the doublings required:
- A single machine at 103 keys/s → 1036 years.
- A thousand such machines → 1033 years.
- A million → 1030 years.
- Every GPU in a country (1013/s) → 1026 years.
To get from “1026 years” to “one year” you need a factor of 1026 — about eighty-six doublings. Moore’s law, at its most optimistic historical pace, is a doubling every eighteen months. Eighty-six doublings is a hundred and thirty years of uninterrupted exponential progress, applied exclusively to this one task.
What would actually change it
Only a different attack, not a faster version of this one. A sufficiently large quantum computer running Shor’s algorithm breaks the discrete logarithm outright — but it needs the public key, which means it attacks exposed addresses, not random ones. That distinction is the subject of the addresses page, and it is the reason “quantum” is not a get-out clause for wallet finders.
Until then the arithmetic stands: 2160 divided by a billion is 2130, and nothing you can buy divides it further.