Page cover

Private Key To Address

Generated and Convert Private Key (hex) To Compress and Uncompress Address

generated private key (hex) without repeat very fast and Convert to Compress Address and Uncompress address Bitcoin Wallet with Blockthon.

from Blockthon.Wallet import getPrivateKey, PrivateKey_To_Address

# generated random Private Key Without repeat (for high levrege type)
privatekey = getPrivateKey() # very easy :D
# convert private key (hex) to compress address
compress = PrivateKey_To_Address(privatekey, True) # very very nice :D
# convert private key (hex) to uncompress address
uncompress = PrivateKey_To_Address(privatekey, False) # easy , just with True and False

Last updated