Hi all, I'm trying to educate myself about some of the technical details of wallets. My current understanding is that a wallet contains a series of addresses, each of which consists of a public and private key. (Correct me if this is wrong)
I use Electrum, which allows me to view and export a "Master Public Key". This enables me to view all the transactions of that wallet ie use all the public addresses.
How is the Master Public Key related to the public addresses of a wallet?
Electrum is a deterministic wallet, starting with a mnemonic seed, which is used
to calculate a master private key, and in turn, a master public key.
An unlimited number of addresses can be generated from these master keys.
The benefit of this is that you don't need to backup your wallet as long as
you have the seed, because all the addresses can be generated from that seed.
The master public key can be used for setting up a watching only wallet, for example,
if you have cold storage set up.
Never share your master public key as it can compromise your entire wallet when combined
with a single private key of any of your addresses.