Bitcoin Forum
May 13, 2024, 11:18:15 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [SOLVED]Really stupid question about offline address creation and the blockchain  (Read 494 times)
BrassicBob (OP)
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
July 13, 2016, 10:23:20 PM
Last edit: July 13, 2016, 11:07:24 PM by BrassicBob
 #1

Ok, so I want to create a paper wallet. How does an address get created (BTC) on the blockchain, if you have no internet connection? I see it's possible, I just don't understand how it works, I'm missing something apparently - I see you can create literally thousands of addresses. What I don't get is how exactly they exist with no connection to the blockchain? are there millions of unused addresses out there?  Huh

Thank you. Smiley
1715642295
Hero Member
*
Offline Offline

Posts: 1715642295

View Profile Personal Message (Offline)

Ignore
1715642295
Reply with quote  #2

1715642295
Report to moderator
1715642295
Hero Member
*
Offline Offline

Posts: 1715642295

View Profile Personal Message (Offline)

Ignore
1715642295
Reply with quote  #2

1715642295
Report to moderator
1715642295
Hero Member
*
Offline Offline

Posts: 1715642295

View Profile Personal Message (Offline)

Ignore
1715642295
Reply with quote  #2

1715642295
Report to moderator
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
July 13, 2016, 10:27:37 PM
 #2

Ok, so I want to create a paper wallet. How does an address get created (BTC) on the blockchain, if you have no internet connection? I see it's possible, I just don't understand how it works, I'm missing something apparently - I see you can create literally thousands of addresses. What I don't get is how exactly they exist with no connection to the blockchain? are there millions of unused addresses out there?  Huh

Thank you. Smiley
There is nothing about creating addresses that is like "registering" on the blockchain nor are they "assigned" by the blockchain. You generate addresses by generating a random number (the private key) and then manipulating that with hashes to get to the address. This is done offline. Technically every single address ever already exist, people just need to guess the private key for the address.

BrassicBob (OP)
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
July 13, 2016, 10:38:55 PM
 #3

There is nothing about creating addresses that is like "registering" on the blockchain nor are they "assigned" by the blockchain. You generate addresses by generating a random number (the private key) and then manipulating that with hashes to get to the address. This is done offline. Technically every single address ever already exist, people just need to guess the private key for the address.

Ok, thanks, that is helpful. However. To take your explanation one step further - Does that mean I could theoretically "see" a public address already existing on, say... blockchain.info, before it was technically ever generated offline?

That's the part I don't get. How is the address visible on these sites if the address was created offline? I can't see how they could already be there, that would a lot of data right? Thanks again and sorry for still trying to understand!  Huh
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
July 13, 2016, 11:02:15 PM
 #4

Ok, thanks, that is helpful. However. To take your explanation one step further - Does that mean I could theoretically "see" a public address already existing on, say... blockchain.info, before it was technically ever generated offline?

That's the part I don't get. How is the address visible on these sites if the address was created offline? I can't see how they could already be there, that would a lot of data right? Thanks again and sorry for still trying to understand!  Huh
Yes, you can see every single possible address. These are visible because nothing an address does requires it to be "registered" onto the blockchain. An address is a special encoding of the RIPEMD160 hash of a SHA256 hash. To computers, these hashes are simply really big integers. Because we know the size of a RIPEMD160 hash (160 bits), we know what the biggest number that it can represent. This happens to be 2^160. Thus every address is already known because we know what all of the numbers between 0 and 2^160 are and can thus get the address without ever knowing the private key.

BrassicBob (OP)
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
July 13, 2016, 11:06:59 PM
 #5

Yes, you can see every single possible address. These are visible because nothing an address does requires it to be "registered" onto the blockchain. An address is a special encoding of the RIPEMD160 hash of a SHA256 hash. To computers, these hashes are simply really big integers. Because we know the size of a RIPEMD160 hash (160 bits), we know what the biggest number that it can represent. This happens to be 2^160. Thus every address is already known because we know what all of the numbers between 0 and 2^160 are and can thus get the address without ever knowing the private key.

Ah... Ok.. Thanks, now I get it, the maths now make sense, thank you for that! Locking topic now thanks. Wink
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!