Title: Vanity P2SH address generator! Post by: SopaXT on May 01, 2017, 12:48:06 PM Hey guys!
I have developed a proof-of-concept P2SH vanity address generator! This program is an implementation of this idea: https://bitcointalk.org/index.php?topic=255245.0. It's written in Python, thus is very slow, but that's a good proof of concept. You'll need Python 2.7 and pybitcointools installed. Code: #!/usr/bin/env python2 Code: Vanity pattern: P14 It works by having a dummy public key which is altered to make the script hash contain a specific prefix. Security: the public key chosen for the nonce public key (intended to be unspendable and unknown) is an incremented value of the actual spending public key. I'd like to hear on the security of that. It's very easy to add multisig support to this, I'd like to hear on it if needed. Again, this program is not yet intended for real-world use, so please don't risk funds with it. I'd like to hear from testers if it works properly (I've done some checks myself and it seems to work fine). If you find it useful, please consider a donation to the address in my signature, thank you! Title: Re: Vanity P2SH address generator! Post by: SopaXT on May 01, 2017, 02:15:48 PM There's another program like this, which has more features, check it out too (it's not mine): https://github.com/antonio-fr/SigVanity/
Title: Re: Vanity P2SH address generator! Post by: addrstore.com on June 12, 2017, 09:51:32 AM Can someone know if there are online services that generate a P2SH vanity address on demand?
Title: Re: Vanity P2SH address generator! Post by: SopaXT on June 12, 2017, 11:12:39 AM There aren't any yet that generate P2SH vanity addresses.
You can try emailing ThePiachu, who owns the Vanity Pool, maybe he can add them. Also, vanitygen already supports them, but not in a multisig manner like my program does. By the way, if you generate multisig P2SH vanity addresses, their generation does not require a trusted party, so you can do this in a provably secure way. Title: Re: Vanity P2SH address generator! Post by: addrstore.com on June 13, 2017, 07:24:50 AM There aren't any yet that generate P2SH vanity addresses. It's strange, why there has not yet appeared a online service that would generate P2SH vanity addresses, is there really no demand for them? Perhaps the matter is that oclvanitygen does not support the generation of P2SH addresses, and using vanitygen for this would be very slow and inefficient ... Title: Re: Vanity P2SH address generator! Post by: SopaXT on June 13, 2017, 11:52:01 AM It's actually very easy to implement, there's existing OpenCL code for everything necessary.
In order to generate a P2SH vanity address, you only have to calculate the HASH160 of the script and base58check-encode it. You can open an issue in the vanitygen repo, and I actually have an implementation already, but it is CPU-only though. |