First, let’s talk about how Bitcoin addresses work.
Picture Bitcoin addresses as a series of safe deposit boxes at a bank. Whoever has the key to the box can open it and retrieve the contents. Likewise with Bitcoin, whoever has the key to a given Bitcoin address can spend the bitcoins stored at that address.
When you create a new Bitcoin address, you create both the public...