How to create P2PKH address
Closed this issue · 1 comments
hasanparasteh commented
There are some examples but there's no explanation on how to create P2PKH
address from public_key; Here is the file you imported the class but it's not used!
Please provide some information/examples to create these types of address..
thanks for considering and reading this issue
karask commented
The P2PKH address is created in line 36 from the public key and stored to "address"; it is a P2pkhAddress object. In line 39 the base64encoding of the address is printed.
Also see
python-bitcoin-utils/bitcoinutils/keys.py
Line 647 in 20b80ac