in

What’s the difference between a public key WIF and a wallet public master key?

I’m reading this high level Python documentation below. There’s two different xpub generators, I’m confused what the difference between the two are and if there are any security issues from choosing between one or the other.

https://github.com/1200wd/bitcoinlib https://bitcoinlib.readthedocs.io/en/latest/

>>> from bitcoinlib.wallets import wallet_create_or_open

>>> w = wallet_create_or_open(“testwallet”)

>>> w.public_master().wif

>>> ‘xpub6CtwmQ9FUa72oD55Eu2544aq1dbKA2nBwuk7KbjE5p6CZzt97h9ea5hUGiZ73AN6nXQKAJb7XSFo7zNrs8Ci6eBYB1ba1eH4xnFXVdqudYC’

>>> k = w.get_key()

>>> k.public().wif
‘xpub6HHLM3G4Yi6b18aHyxYjvtSw4v15wKvxeso3sCtQ8mXUKHWtZ9Wo2keTvhEqbN8nVVhDW4fnmECKPXayjH49Fsx9yFVSmXGxe9RkaUPd78Z’



View Reddit by BlockchainBearsView Source

Leave a Reply

Your email address will not be published.

GIPHY App Key not set. Please check settings

One Comment

What do you think?

I can’t wait for Strike to come to Europe

Jimmy Song talks Government, Economies, and the implications Bitcoin has on them