Remix.run Logo
▲ thaumasiotes a day ago

> Bitcoin wallets expose their public keys only when the coins are spent.

Really? How do they receive coins?

▲extraextra a day ago | parent [-]

The wallet address is a hash of the public key, but the public key is not "publicly visible" until you sign something with it

The public key is used when you send Bitcoin, but once you use it once, it remains publicly visible

The solution to that would be if with every transaction, you divert the remaining Bitcoin to a brand new wallet

▲Bootvis 21 hours ago | parent [-]

Which is standard practice for a long time now.

▲extraextra 11 hours ago | parent [-]

Right now there are plenty of old pay-to-public-key (P2PK) wallets still exposed, plus lots of wallets that already signed outgoing transactions and has kept the same wallet

Out of the top 100 biggest wallets, only 33 have not made any outgoing transactions, while 67 have already signed something so their pubkey is exposed

If someone actually had a practical way to reverse private keys and the resources to do so, I doubt they'd have a shortage of wallets to target