<p>You can generate a permanent address while offline.</p>

<p>It doesn't matter where the address is stored.  As long as you communicate that address to someone somehow, they can issue a transaction to that address.  However, the transaction must reach the network somehow in order for it to be confirmed into blockchain.  Once that happens, everyone will be aware that your public address likely exists because they see that someone sent BTC to it.</p>

CC BY-SA 3.0
2015-01-13T23:38:09.817Z
one weird thing tho : if I'm not online, how can the wallet be sure that it has not generated a adress already made by someone else?
sliders_alpha
CC BY-SA 3.0
2015-01-14T19:21:30.297Z
@sliders_alpha Good question.  It can't be sure.  However, generally speaking, collisions like this are possible in many facets of the bitcoin protocol and the protocol basically assumes that these events are so improbable that they can be ignored.  If you make the public key offline using some kind of secure algorithm (flipping coins to take the extreme example) it is effectively impossible to duplicate another.  For example of another kind of related collision, it is conceivable that two different private key could map to the same public key.  Again, we just assume this will never happen.
Nick
CC BY-SA 3.0
2015-01-13T20:48:41.167Z
2015-01-13T20:48:41.167Z
Nick
<p>A Bitcoin address is equivalent to a random number. The possible numbers this random number is picked from, is such a huge range of numbers (possibilities are as large as a 1 with 26 0's behind it!) that we can just pick any number in there and have almost the same odds of picking the same number someone else did. (If I tell you to pick a number between 1 and 10, you have a 1 in 10 chance of picking MY number.)</p>

<p>Meaning that, if I have a computer not connected to the internet, it can still pick a random number and create a human readable bitcoin address corresponding to the random number and be pretty sure that number / address has never been used before.</p>

<p>This is a really great part of the system, because now I can send bitcoins to the address I just generated, knowing that I have the password (Private Key) for that address, but no one will steal that password, as long as my computer is not compromised (and it won't since it isn't connected to the internet.)</p>

<p>Also, every bitcoin address is permanent, since once it is included in the blockchain, it won't ever disappear out of it. The only thing you can lose is your private key. But the address will be included in the blockchain for as long as the blockchain will be run.</p>

CC BY-SA 3.0
2015-01-14T11:21:08.353Z
2015-01-14T11:21:08.353Z
Mr Jones
<p>So I'm using the original bitcoin client.
What if on a computer without internet (A) I generate a bitcoin address and
then use this address to receive a payment (by using an other computer with internet (B))</p>

<p>Once I transfer my wallet.dat to computer B and let it sync, will I still get the payment ?</p>

<p>I'm asking because I'm doing stuff from work and the bitcoin-qt can't synchronize from over there.</p>

<p>Do I need to be online in order to generate a ready to use payment address?</p>

<bitcoin-core><wallet.dat><receiving>
Can I generate payment adresses while offline?
sliders_alpha
# Can I generate payment adresses while offline?

(Asked by: username_0 on 2015-01-13)

So I'm using the original bitcoin client.
What if on a computer without internet (A) I generate a bitcoin address and
then use this address to receive a payment (by using an other computer with internet (B))

Once I transfer my wallet.dat to computer B and let it sync, will I still get the payment ?

I'm asking because I'm doing stuff from work and the bitcoin-qt can't synchronize from over there.

Do I need to be online in order to generate a ready to use payment address?

**Tags:** bitcoin-core, wallet.dat, receiving


---

## 2 answers

### Answer by username_1 on 2015-01-13. Score: 0

You can generate a permanent address while offline.

It doesn't matter where the address is stored. As long as you communicate that address to someone somehow, they can issue a transaction to that address. However, the transaction must reach the network somehow in order for it to be confirmed into blockchain. Once that happens, everyone will be aware that your public address likely exists because they see that someone sent BTC to it.

> **Comments:**
> **username_0**: one weird thing tho : if I'm not online, how can the wallet be sure that it has not generated a adress already made by someone else?  
> **username_1**: @username_0 Good question.  It can't be sure.  However, generally speaking, collisions like this are possible in many facets of the bitcoin protocol and the protocol basically assumes that these events are so improbable that they can be ignored.  If you make the public key offline using some kind of secure algorithm (flipping coins to take the extreme example) it is effectively impossible to duplicate another.  For example of another kind of related collision, it is conceivable that two different private key could map to the same public key.  Again, we just assume this will never happen.  

---

### Answer by username_2 on 2015-01-14. Score: 0

A Bitcoin address is equivalent to a random number. The possible numbers this random number is picked from, is such a huge range of numbers (possibilities are as large as a 1 with 26 0's behind it!) that we can just pick any number in there and have almost the same odds of picking the same number someone else did. (If I tell you to pick a number between 1 and 10, you have a 1 in 10 chance of picking MY number.)

Meaning that, if I have a computer not connected to the internet, it can still pick a random number and create a human readable bitcoin address corresponding to the random number and be pretty sure that number / address has never been used before.

This is a really great part of the system, because now I can send bitcoins to the address I just generated, knowing that I have the password (Private Key) for that address, but no one will steal that password, as long as my computer is not compromised (and it won't since it isn't connected to the internet.)

Also, every bitcoin address is permanent, since once it is included in the blockchain, it won't ever disappear out of it. The only thing you can lose is your private key. But the address will be included in the blockchain for as long as the blockchain will be run.


---

