Closed stdusr closed 3 years ago
You need to pick your WIF revert back to byte digest, like so:
digest = base58.b58decode(wif)[1:-4]
and inject that into the Address in the __generate_uncompressed_pubkey
method.
Actually in this new version 0.1.3, you can find new method to generate a Key from wif. Hope it helps.
Good day, would you mind providing a small example, how do I generate all possible BTC public addresses (P2PKH, P2SH, Bech32) using existing WIF private key, in string format?