First of all, confusion about the various terms makes learning difficult. I'm quoting the following thread to help clear up this confusion:
- Address: Bitcoins are sent to an address. An address is derived from its public key. It is not a public key or a wallet.
- Private Key: Used to control the bitcoins at an address. A private key is not a password or a seed phrase.
- Public Key: A public key is used in a transaction, and it is rarely seen elsewhere. A public key is derived from its private key. It is not an address.
- Wallet: A wallet contains and controls private keys and their associated addresses. A wallet is not an address. A wallet typically uses a seed phrase to generate its private keys.
- Seed/Mnemonic/Recovery Phrase: Used by a wallet to generate private keys and their associated addresses. A seed phrase is not a passphrase or a private key. A seed phrase is also known as a recovery phrase because all of a wallet's private keys and associated addresses are derived from it, and, every wallet will generate the same private keys and associated addresses if given the same recovery phrase.
- Passphrase/password: A passphrase is used to encrypt a wallet, private key, or other information. A passphrase is not a private key or a seed phrase. Sometimes a seed phrase can contain an extra word or phrase that is commonly called a passphrase, but it is not actually a passphrase.
Here are sets of terms that are frequently confused with each other:
- Public key <==> Address
- Address <==> Wallet
- Private key <==> Seed/Mnemonic/Recovery Phrase <==> Passphrase
Also, there is no such thing as a "wallet address" in Bitcoin.
From my understanding, These Keys in cryptocurrency serve as your account details in Traditional banks...
Bitcoin only has
wallets. A wallet generates and stores private keys and the associated addresses. An
account is what you have at an exchange or other custodian. It keeps track of how many bitcoins you have stored in
their wallet.
...And For someone to send you some Bitcoin, you would first need to give the person your public keys.
You are confusing "public key" with "address". In order for someone to send you bitcoins, you give them an
address to send the bitcoins to.
1. Where can you get a public and private keys?
You download wallet software and it will generate the private keys and their associated addresses for you.
2. How do you unlock Bitcoin that are assigned to your public key?
You don't really unlock bitcoins, you just send them. Your wallet will have the private keys to the addresses in your wallet that hold the bitcoins that you have received.
3. What is The main difference between Public and private keys?
The private key is kept secret. Anyone that has the private key for an address can spend the bitcoins at that address. The use of the public key is complicated, but for users, the public key is used to create the address associated with the private key.
I'm asking this question because I was taking Wallet addresses to be same as My private key.
In short, an
address is given to someone so they can send you bitcoins, and the
private key allows you to send the bitcoins at that address to someone else.