Post
Topic
Board Beginners & Help
Re: Blockchain addresses
by
AdolfinWolf
on 03/12/2017, 18:59:24 UTC
Hello guys! I'm a little bit confuse with undestanding blockchain addresses at all. So, the question is: what is the derivative? Is the private key the derivative from public key? Or vice versa? For example, in terms of bitcoin blockchain and ethereum blockchain. Beforehand, thanks guys for your help!

No, a public key is "derived" from a private key.


The following formula is used to get the corresponding public key for a private key -
Quote
Take the corresponding public key generated with it (65 bytes, 1 byte 0x04, 32 bytes corresponding to X coordinate, 32 bytes corresponding to Y coordinate)
Code:
Public_K=G Private_K=(x,y)

An adress however, is generated from the public key, see https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses  for the complete guide on how to create an adress from the public key.