How Create Bitcoin pockets from a non-public key works?

0
33


I am attempting to know how i can create a pair of bitcoin personal key and public key with : https://github.com/Destiner/blocksmith

for instance :

 import blocksmith
 
 kg = blocksmith.KeyGenerator()

 kg.seed_input("(/sgroxa)n;[&1ox7fioqg4*v8")
 #seed is the private key ?

 key = kg.generate_key()
 #returned key : 7e659f56d6f20a64258b65445c825e62edf6b89219d4b3eb3ebec6ecb8f62859
 #this key is a formated "(/sgroxa)n;[&1ox7fioqg4*v8" version  ?

 address = blocksmith.BitcoinWallet.generate_address(key)
 #returned address : 112qrCJdHgudHmsKKKwvj3AM3aN2eN9wpP

i cant see how i cant key my pub key for import it into electrum wallet for example ?
Cant you help to understand my mistake or if i confuse something?

Thanks



Supply hyperlink

Leave a reply