<p>Regarding your question about storing the private key on a piece of paper and later transferring coins to it using exchanges, yes, it is possible to do that. You can send Bitcoin to an address associated with the private key written on paper. However, always verify the address carefully to avoid any mistakes.</p>

CC BY-SA 4.0
2023-08-08T06:16:58.103Z
2023-08-08T06:16:58.103Z
Mani T
<p>Paper wallets used to be the safest way. But as of late there are many rumors that some of them actually do not generate random keys but can steal your coins (even when generated offline). So sites like bitcoinpaperwallet are a nono.
If you want it for free, you can find many key generators on github. You'll need some programming skills to check them. And before comitting to one test that the keys are generated correctly. Even I have made one in Java at <a href="https://github.com/Johanpmeert/GeneratePrivateBitcoinKey" rel="nofollow noreferrer">https://github.com/Johanpmeert/GeneratePrivateBitcoinKey</a>
It uses a Intel DRNG to generate 32 random bytes. Or you can bypass this by entering the random bytes yourself or by taking any picture and taking the SHA256 hash. That'll be random enough.
The safest way is buying a ledger or Trezor direct from the manufacturers website.</p>
<p>If you have a paper wallet, that's all you need. Private and bitcoin address on the paper. No need to store anything but that. You can verify the amount on it by entering the bitcoin address on any blockchain explorer. If you have a QR code that is even easier, there's many apps that scan that and give you the balance.</p>

CC BY-SA 4.0
2021-03-20T16:39:03.177Z
The back door and any unchecked random generator is exactly my concern.  I will try your advice, but in worst case probably buy some 20-faces dice for private key generation. 


Regarding cold storage, you mentioned that I only need to store the private key. From what I understand, spending the coin need to refer previous transaction (where this coin is obtained, scriptSig). Do you mean if I import my private key to any online trading platform (exchanges), they will find these relevant information for me (searching from the whole blockchain)?  Thank you.
qwewsx qweszxc
CC BY-SA 4.0
2021-03-21T20:06:24.290Z
Never ever give your private key. When you generate a private key, from that you can calculate the public key and from that you calculate the bitcoin address. The last one is the one you use to put coins onto and to check the balance. The private key is only necessary when you are spending the coins. When you are spending the coins, import your private key into a wallet software like electrum. Use that to send your coins to an exchange.
johanpm
CC BY-SA 4.0
2021-03-21T20:08:39.543Z
Also no need to buy 20 face dice. You can do that with normal dice. The generated bitpattern is as follows: 1 = 00, 2 = 01, 3 = 10, 4 = 11, 5 = 0, 6 = 1. Throw as many as necessary to get to 256 bits.
johanpm
CC BY-SA 4.0
2021-03-20T16:03:04.967Z
2021-03-20T16:03:04.967Z
johanpm
<p>I am considering holding Bitcoin for the long term. I have learned a few basics about the blockchain and BTC mechanisms, but still unable to find a complete guide on how to safely store bitcoin.</p>
<ol>
<li><p>How to generate a private key safely? Online tools are obviously undesirable as they might keep a back door on all keys generated. Similar reason for any library or packages even they operate offline (I cannot check if these keys generated are in fact following some predetermined sequence).</p>
<p>I can use a random number generator on a offline PC. But I am not a real 'hacker' and have concerns on whether any programming language can produce truly random numbers that cannot be reproduced (or say predicted) on another PC.</p>
<p>Currently, I can only think of throwing dice in my room for key generating but that cannot scale.</p>
</li>
<li><p>I do not want to use any 3rd party software as wallet. Suppose I just store my private key on a piece of paper and later transfer coins into it using exchanges. Would that be a valid transaction and allows me later to spend these coins?  Is there anything else I need to store together with the private key (like the hashed transaction number in transaction_input in the blockchain?)  I really want to avoid 3rd party software because it might be obsolete in the future, get wiped out, and cannot be backed up on a single paper.</p>
</li>
</ol>
<p>Any advice?</p>

CC BY-SA 4.0
2021-03-20T20:21:04.380Z
Does this answer your question? [Long term BTC investing](https://bitcoin.stackexchange.com/questions/88500/long-term-btc-investing)
chytrik
CC BY-SA 4.0
2021-12-15T23:02:11.490Z
What about a hardware wallet? They're specifically designed for long term holding off the air. Some are open source as well.
Nick Bedford
<private-key><coldstorage>
Safest way of long term holding
qwewsx qweszxc
# Safest way of long term holding

(Asked by: username_0 on 2021-03-20)

I am considering holding Bitcoin for the long term. I have learned a few basics about the blockchain and BTC mechanisms, but still unable to find a complete guide on how to safely store bitcoin.

1. How to generate a private key safely? Online tools are obviously undesirable as they might keep a back door on all keys generated. Similar reason for any library or packages even they operate offline (I cannot check if these keys generated are in fact following some predetermined sequence).

   I can use a random number generator on a offline PC. But I am not a real 'hacker' and have concerns on whether any programming language can produce truly random numbers that cannot be reproduced (or say predicted) on another PC.

   Currently, I can only think of throwing dice in my room for key generating but that cannot scale.
2. I do not want to use any 3rd party software as wallet. Suppose I just store my private key on a piece of paper and later transfer coins into it using exchanges. Would that be a valid transaction and allows me later to spend these coins? Is there anything else I need to store together with the private key (like the hashed transaction number in transaction\_input in the blockchain?) I really want to avoid 3rd party software because it might be obsolete in the future, get wiped out, and cannot be backed up on a single paper.

Any advice?

**Tags:** private-key, coldstorage

> **Comments:**
> **username_1**: Does this answer your question? [Long term BTC investing](https://bitcoin.stackexchange.com/questions/88500/long-term-btc-investing)  
> **username_2**: What about a hardware wallet? They're specifically designed for long term holding off the air. Some are open source as well.  

---

## 2 answers

### Answer by username_3 on 2023-08-08. Score: 0

Regarding your question about storing the private key on a piece of paper and later transferring coins to it using exchanges, yes, it is possible to do that. You can send Bitcoin to an address associated with the private key written on paper. However, always verify the address carefully to avoid any mistakes.


---

### Answer by username_4 on 2021-03-20. Score: 0

Paper wallets used to be the safest way. But as of late there are many rumors that some of them actually do not generate random keys but can steal your coins (even when generated offline). So sites like bitcoinpaperwallet are a nono.
If you want it for free, you can find many key generators on github. You'll need some programming skills to check them. And before comitting to one test that the keys are generated correctly. Even I have made one in Java at <https://github.com/Johanpmeert/GeneratePrivateBitcoinKey>
It uses a Intel DRNG to generate 32 random bytes. Or you can bypass this by entering the random bytes yourself or by taking any picture and taking the SHA256 hash. That'll be random enough.
The safest way is buying a ledger or Trezor direct from the manufacturers website.

If you have a paper wallet, that's all you need. Private and bitcoin address on the paper. No need to store anything but that. You can verify the amount on it by entering the bitcoin address on any blockchain explorer. If you have a QR code that is even easier, there's many apps that scan that and give you the balance.

> **Comments:**
> **username_0**: The back door and any unchecked random generator is exactly my concern.  I will try your advice, but in worst case probably buy some 20-faces dice for private key generation.    Regarding cold storage, you mentioned that I only need to store the private key. From what I understand, spending the coin need to refer previous transaction (where this coin is obtained, scriptSig). Do you mean if I import my private key to any online trading platform (exchanges), they will find these relevant information for me (searching from the whole blockchain)?  Thank you.  
> **username_4**: Never ever give your private key. When you generate a private key, from that you can calculate the public key and from that you calculate the bitcoin address. The last one is the one you use to put coins onto and to check the balance. The private key is only necessary when you are spending the coins. When you are spending the coins, import your private key into a wallet software like electrum. Use that to send your coins to an exchange.  
> **username_4**: Also no need to buy 20 face dice. You can do that with normal dice. The generated bitpattern is as follows: 1 = 00, 2 = 01, 3 = 10, 4 = 11, 5 = 0, 6 = 1. Throw as many as necessary to get to 256 bits.  

---

