def main():
    kgen = KeyGenerator()
    private_key, private_key_wif = kgen.generate_key()
    address, public_key = BitcoinWallet.generate_address(private_key)

    print('Address:', address)
    print('Public: ', public_key)
    print('Private:', private_key)
    print('Private WIF:', private_key_wif)
Example #2
0
def get_private_key_from_emojis(emojis):
    kg = KeyGenerator()
    kg.seed_input(emojis)
    key = kg.generate_key()
    return key