How wallets and blockchains interact
The blockchain of any cryptocurrency contains a public record of all the transactions that have been made since it began. Your wallet address keeps a record of all your transactions and tracks your crypto balance. By following the chain all the way to the present day, a wallet can figure out how many coins you have.
For example, let’s say Alice sends Bob 0.001 BTC. Once this transaction has been verified and added to the blockchain, the ledger records that the amount of Bitcoin at Alice’s wallet address has decreased by 0.001 and that the amount of Bitcoin at Bob’s wallet address has increased by 0.001 BTC.
The amounts sent and received as well as the public wallet addresses are all public information.
