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?

1 Answer 1

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).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.