Closed EazyServer closed 2 years ago
Hello again 😅
Seems I fell in love with this package and I can't help but ask another question please.
What's the best way to generate a public key (i.e. bitcoin address) from a custom private key? say private_key=1234
private_key=1234
I saw you implementation and it's as random as it can get but I am more looking into experimenting rather than generating a secure key pairs.
Thanks
Found it 😅
key = Key.from_int(1234)
It supports hex as well
key = Key.from_hex('2FF')
Hello again 😅
Seems I fell in love with this package and I can't help but ask another question please.
What's the best way to generate a public key (i.e. bitcoin address) from a custom private key? say
private_key=1234
I saw you implementation and it's as random as it can get but I am more looking into experimenting rather than generating a secure key pairs.
Thanks