Skip to main content
6 events
when toggle format what by license comment
Jun 4, 2022 at 7:56 comment added Loopite IDK if the P2PKH address is good, probably because I can see the Testnet 'm' prefix. Maybe verify the checksum. That's a good point. AFAIK, if you want know all details to transform a private key in an address, you can have a look at royalforkblog.github.io/2014/08/11/graphical-address-generator. However, it's a valid answer I think.
Sep 12, 2020 at 8:05 comment added user103136 If you are asking about private key WIF, it's base58: learnmeabitcoin.com/technical/wif
Sep 12, 2020 at 7:35 comment added Derick Swodnick Can I use the HEX format here?
Sep 12, 2020 at 7:11 comment added user103136 Replace priv = PrivateKey.from_wif('cMahea7zqjxrtgAbB7LSGbcQUr1uX1ojuat9jZodMN87K7XCyj5v') with priv = PrivateKey() in the above code and also add a print statement below to see the new private key each time you run the code: print("Private Key:", priv.to_wif(compressed=True))
Sep 12, 2020 at 5:12 comment added Derick Swodnick I'll try to use this module! How to write a function in the code so that "PrivateKey" is generated in a random way?
Sep 11, 2020 at 22:15 history answered user103136 CC BY-SA 4.0