Python script for generating Bitcoin or any crypto address

1 reply 473 views
tomhashMember
Posts: 45 · Reputation: 241
#1Dec 8, 2019, 01:49 PM
I've got another piece of code that can create any name you want in any spot of your portfolio. Just let me know if you're interested and I can share it here. For example: 1Nx8dUJf^^MoNey^^N4tffTNxYnbVFNmjeAWrH If you want a dogecoin address, just switch the "PREFIX" variable in the function "_pubk_to_address" to 1E, and the "PREFIX" variable in "secret_to_wif" to "9e". If this script is already floating around here, my bad ~_~ By the way, if anyone wants to send me some satoshis, here's my bitcoin wallet: 1BW2nioZSMS5VFkiebM3eGhxRH2v1idsih =3
5 Reply Quote Share
gr3g.0rbitHero Member
Posts: 1025 · Reputation: 2646
#2Dec 8, 2019, 05:49 PM
The "Address" in the result is generated from the compressed public key, yet the "WIF" has no compressed pubKey flag (0x01). Although you included "Address Legacy" which is the actual pair of the WIF in the result, the term used is just confusing since those are both "legacy addresses". You should name them accordingly and include the WIF with 0x01 flag. e.g: As a side note: you should enclose the script inside [code][/code] tags so it wont be affected by the forum's post format. Vanitysearch can already do that with: ./vanitysearch bc1q****test**** or ./vanitysearch bc1q********test
3 Reply Quote Share
?Reply
Sign in to reply to this topic

Related topics