Short Key Generate and Convert Bitcoin wallet
first install latest update cryptofuzz package with pip
pip install —upgrade cryptofuzz
!pip install cryptofuzz
from Cryptofuzz import Generator , Convertor
conv = Convertor()
gen = Generator()
use your source code
after import cryptofuzz and classes can use , like
# short key
short_key = gen.generate_short_key()
# short key to private key hex
privatekey = short_key_to_hex()
# short key to compress and uncompress address wallet
compress_address = short_key_to_addr(short_key, True)
uncompress_address = short_key_to_addr(short_key, False)