Author

Topic: How offline paper-wallet works?? (Read 864 times)

legendary
Activity: 2758
Merit: 6830
September 09, 2017, 02:48:34 PM
#12
I had no problem moving BTC to a paper wallet, but had some trouble finding a place to bring it out from the paper wallet. None of the major online services assist with that kind of thing - had to download some software (which I'm blanking on now).

Any suggestions?
The best option which brings a little of convenience and safety, would be using a safe mobile wallet like Electrum or Mycelium. The whole idea of a paper wallet would be a long term storage and unique usage. When you want to spend those coins, use your phone with Electrum/Mycelium to scan the QR code from the paper wallet (if you have one), and send all your coins to a new wallet.

Other options that does not require an android phone would be: sweep/import your private key by manually typing it (in case is just the private key without any QR code) on a safe wallet (e.g: Electrum for PC) and send all the coins to a new wallet.

If you don't want to download any extra software, you could also use Blockchain.info wallet (which does not have fully control your private keys) to import your paper wallet the same way as described above.
newbie
Activity: 38
Merit: 0
September 08, 2017, 05:41:06 PM
#11
That is really interesting. But there is one question. I can generate a private key offline. But how is working reserving a bitcoin adress? Needn't we to be online for that?
Not sure if I should waste my time answering you since you seem to be one of those guys who just jump from post to post making random pointless questions. I don't even think you are coming back to read my answer; but anyway...

A paper wallet is just a private key that has the right to spend the coins received by its respective address. You don't need access to the internet while generating a private key because the software already knows that this private keys belongs to X address. When this address receives some Bitcoin, its transaction will be kept registered in the Blockchain, proving that you indeed has those coins, and allowing a "spent" transaction to be made by you in the future.
I had no problem moving BTC to a paper wallet, but had some trouble finding a place to bring it out from the paper wallet. None of the major online services assist with that kind of thing - had to download some software (which I'm blanking on now).

Any suggestions?
legendary
Activity: 2758
Merit: 6830
September 08, 2017, 05:30:37 PM
#10
That is really interesting. But there is one question. I can generate a private key offline. But how is working reserving a bitcoin adress? Needn't we to be online for that?
Not sure if I should waste my time answering you since you seem to be one of those guys who just jump from post to post making random pointless questions. I don't even think you are coming back to read my answer; but anyway...

A paper wallet is just a private key that has the right to spend the coins received by its respective address. You don't need access to the internet while generating a private key because the software already knows that this private keys belongs to X address. When this address receives some Bitcoin, its transaction will be kept registered in the Blockchain, proving that you indeed has those coins, and allowing a "spent" transaction to be made by you in the future.
sr. member
Activity: 462
Merit: 254
September 08, 2017, 04:29:45 PM
#9
That is really interesting. But there is one question. I can generate a private key offline. But how is working reserving a bitcoin adress? Needn't we to be online for that?
legendary
Activity: 2758
Merit: 6830
September 07, 2017, 11:26:33 AM
#8
Thank you. I just read posted links and now I understand it.

I didn't understand how is to possible not to generate same address.

Information, that it is actually possible, but highly unlikely, explains it all to me.
It's not impossible. But it's also extremely unlikely to happen.

The odds in colliding with a specific address is 1 in 2^160.

If there are a billion users and each have one million active addresses (1 quadrillion funded addresses in the blockchain) the odds in colliding with any address would be roughly 1 in 2^110 (1*10^33).

Vanitygen can produce 20 million keypairs per second.  Lets say you build a super ASIC on 12nm (4 generations ahead of current tech) process that could create, validate, and steal one trillion keypairs per second (1 TK/s). That would be about 50,000x more powerful than faster GPU today.  Lets also say you built a thousand of them and ran them continually with no downtime 24/7/365.   In 1 year you could brute force 3*10^28 possible addresses.  

If there are 1 quadrillion funded addresses you would still have a ~1% chance of colliding with a random funded address in the next 1,000 years.

Source: https://bitcointalksearch.org/topic/m.1143828
full member
Activity: 140
Merit: 101
September 07, 2017, 04:17:35 AM
#7
Thank you. I just read posted links and now I understand it.

I didn't understand how is to possible not to generate same address.

Information, that it is actually possible, but highly unlikely, explains it all to me.
hero member
Activity: 574
Merit: 502
waiting to explode
September 07, 2017, 04:10:58 AM
#6
Read:
https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses

"Since Bitcoin addresses are basically random numbers, it is possible, although extremely unlikely, for two people to independently generate the same address. This is called a collision. If this happens, then both the original owner of the address and the colliding owner could spend money sent to that address. It would not be possible for the colliding person to spend the original owner's entire wallet (or vice versa). If you were to intentionally try to make a collision, it would currently take 2^107 times longer to generate a colliding Bitcoin address than to generate a block. As long as the signing and hashing algorithms remain cryptographically strong, it will likely always be more profitable to collect generations and transaction fees than to try to create collisions."

From the other link I posted:
"There is also a chance for your computer to catch on fire, and some of the materials to melt together into a lotto coupon with winning numbers on (and a valid barcode), but it just won't happen because of the chance is so unbelievably small (it's the same with the "click and generate another persons bitcoin address")."
full member
Activity: 378
Merit: 197
September 07, 2017, 04:06:06 AM
#5
Well, actually anyone CAN claim your address, if they happen to guess (or generate) the same address that you have.

The only thing is that it is extremely unlikely, because there are so many possible addresses.

If you are scared that someone else could accidentally find your address you could make your wallet a multisig wallet, where no-one can spend the bitcoins if they do not know all keys.
hero member
Activity: 574
Merit: 502
waiting to explode
September 07, 2017, 04:05:28 AM
#4
The network doesn't need to know. Network doesn't keep track of which address is in use and which isn't. The network will never know that this address is in use by someone, until you send some BTC to it.

(Actually, all public/private addresses that can ever exist are theoretically already in place; you're just claiming one by generating the corresponding private key.)

But what keeps you from generating private key for my address?

Network doesn't know, that I generated private key for this address. Your computer doesn't know, that I generated private key for this address. Only my computer knows it.

Why you can't come right now and claim this address, if nobody knows, that I just claimed it?

Nothing is preventing anyone from accidentally generating the same private key as yours. But the amount of possible private keys is so enormous that there is almost zero chance that two people will ever generate the same key.

Read more:
https://bitcoin.stackexchange.com/questions/7724/what-happens-if-your-bitcoin-client-generates-an-address-identical-to-another-pe
full member
Activity: 140
Merit: 101
September 07, 2017, 04:00:29 AM
#3
The network doesn't need to know. Network doesn't keep track of which address is in use and which isn't. The network will never know that this address is in use by someone, until you send some BTC to it.

(Actually, all public/private addresses that can ever exist are theoretically already in place; you're just claiming one by generating the corresponding private key.)

But what keeps you from generating private key for my address?

Network doesn't know, that I generated private key for this address. Your computer doesn't know, that I generated private key for this address. Only my computer knows it.

Why you can't come right now and claim this address, if nobody knows, that I just claimed it?
hero member
Activity: 574
Merit: 502
waiting to explode
September 07, 2017, 03:53:49 AM
#2
The network doesn't need to know. Network doesn't keep track of which address is in use and which isn't. The network will never know that this address is in use by someone, until you send some BTC to it.

(Actually, all public/private addresses that can ever exist are theoretically already in place; you're just claiming one by generating the corresponding private key.)
full member
Activity: 140
Merit: 101
September 07, 2017, 03:50:43 AM
#1
I downloaded offline paper wallet generator to my PC (for PIVX coin from Github https://github.com/PIVX-Project/PIVX-Paperwallet). I opened .html file in my browser. And it generated my public address and my private key.

So far so good.

But I don't understand how it works? How will network know, that I claimed this address with this private key? Can't somebody else claim the same address? Or did this generator send this info into network behind my back and claimed it?
Jump to: