简体   繁体   中英

Bitcoin: How to generate BASE58 (P2SH) Addresses using python or other methods

Hello and thank you for your help.

I need to generate a big amount of bitcoin BASE58(P2SH) Addresses (starts with '3') and their private keys using python, or also with other methods you know, i just need to generate them.

I've tried a lot of methods also found here but didn't work. (problems like i've genereted the addresses but the private key doesn't work).

I'll apprecciate your help.

Best Regards.

You can use the BTCPY library to do it. https://github.com/chainside/btcpy

There are many examples about how to do it in the documentation. Basically, you can use a private key to generate a public key, and then, generate the addresses from it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM