<p>Private key gives you access to your account and your funds.
Public key is used for receiving funds to your private account.</p>

<p>Similar to a bank account, only you can log in with your private information. But anyone can send you money if they know your account number which can be public.</p>

<p>If someone gets your private key, they will thereby have access to your account and take all your funds. Don't ever share your private keys.</p>

CC BY-SA 3.0
2017-11-24T09:48:31.477Z
I see.Incidentally,how bitcoind can log in without specifying private_key?and how can I  expressly specify my private _key to do something?
西田龍
CC BY-SA 3.0
2017-11-24T10:25:43.180Z
When you log in, your password will decrypt the file that contains your private key, and then the wallet software can use your private key to do something (such as send coins).
chytrik
CC BY-SA 3.0
2017-11-24T11:45:27.507Z
I figured it out. By the way,how can I do something when I know an address and its private key but I don't have the file that contains the private key?
西田龍
CC BY-SA 3.0
2017-11-25T03:31:21.010Z
I meant how can I steal bitcoin from others whose address and private key is known by me
西田龍
CC BY-SA 3.0
2017-11-25T11:27:00.943Z
you can just import it to your wallet and that way get control of it
2313112441312
CC BY-SA 3.0
2017-11-24T07:40:35.020Z
2017-11-24T07:40:35.020Z
2313112441312
<p>As I know,we can send bitcoin from our own account to other's account without specifying private_key.
So I wonder why we have to store our own private key carefully </p>

<bitcoin-core><bitcoind>
How can we send bitcoin?
西田龍
# How can we send bitcoin?

(Asked by: username_0 on 2017-11-24)

As I know,we can send bitcoin from our own account to other's account without specifying private\_key.
So I wonder why we have to store our own private key carefully

**Tags:** bitcoin-core, bitcoind


---

## 1 answers

### Answer by username_1 on 2017-11-24. Score: 1 | Accepted answer

Private key gives you access to your account and your funds.
Public key is used for receiving funds to your private account.

Similar to a bank account, only you can log in with your private information. But anyone can send you money if they know your account number which can be public.

If someone gets your private key, they will thereby have access to your account and take all your funds. Don't ever share your private keys.

> **Comments:**
> **username_0**: I see.Incidentally,how bitcoind can log in without specifying private_key?and how can I  expressly specify my private _key to do something?  
> **username_2**: When you log in, your password will decrypt the file that contains your private key, and then the wallet software can use your private key to do something (such as send coins).  
> **username_0**: I figured it out. By the way,how can I do something when I know an address and its private key but I don't have the file that contains the private key?  
> **username_0**: I meant how can I steal bitcoin from others whose address and private key is known by me  
> **username_1**: you can just import it to your wallet and that way get control of it  

---

