generating master public key from address

0

I want to know is it possible to generate master public key from an address? if not, what is needed to generate xpub key?

user43886

Posted 2016-12-05T10:20:14.740

Reputation: 1

Answers

1

It's not possible. An address is created though a hash160 (RIPEMD160) which is a one-way function.

Creating a xpub key (bip32 extended public key) requires the according pubkey and the chaincode. Alternatively you can calculate an xpub from an xpriv (extended private key).

Jonas Schnelli

Posted 2016-12-05T10:20:14.740

Reputation: 5 465