Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Nathan047 on September 18, 2017, 08:28:55 PM



Title: How do I create a Multi-Sig Vanity Address?
Post by: Nathan047 on September 18, 2017, 08:28:55 PM
I would like to create a multi-signature vanity address. Could somebody lay out the steps and software I would need for this?          

*Edit/Update: I know how to create a vanity address (as you can see in my profile details), but after I have the private key to the address I have no idea how to "merge" that with a another (cold) key to create a 2 of 2 multi sig address. I don't know much about this process, so I probably sound like an idiot; although I'm hoping this jumbled up update will provide more details then my vague original post.


Title: Re: How do I create a Multi-Sig Vanity Address?
Post by: HCP on September 18, 2017, 10:27:15 PM
I would guess your chances of finding a MultiSig vanity address would be less that hitting a national lottery...

For a normal vanity, you just need to find one private key that converts to your desired vanity address... and even that can take days/months depending on the complexity of the desired vanity address.

For a MultiSig, you need to find at least 2 private keys (for a 2of2 setup... basically you need M private keys in an N-oF-M MultiSig setup)... that when combined will generate a redeem script that when hashed will convert to the desired vanity address.

The chances of being able to do this are somewhere between slim and none... Good luck! :P



Title: Re: How do I create a Multi-Sig Vanity Address?
Post by: DannyHamilton on September 19, 2017, 03:05:17 PM
I would guess your chances of finding a MultiSig vanity address would be less that hitting a national lottery...

- snip -

For a MultiSig, you need to find at least 2 private keys (for a 2of2 setup... basically you need M private keys in an N-oF-M MultiSig setup)... that when combined will generate a redeem script that when hashed will convert to the desired vanity address.

The chances of being able to do this are somewhere between slim and none

This is not true. Depending on what you want, generating a multi-sig vanity address is either the same difficulty and effort as generating a "normal vanity" address, or possibly faster and easier.

If you are trying to create a 2-of-2 address, you only need to search for one new key, that when added to one unchanging key results in the address you want.

In otherwords, it is exactly the same amount of work as needed when searching for a "normal vanity" address.

Furthermore, if you just want a vanity address that starts with a 3 (instead of a 1), then you don't need to use multi-sig. You can use a P2SH address that uses a single key and a nonce.

If you are willing to have a nonce in your script then, regardless of whether you use milti-sig or not, you only need to generate the private key(s), public key(s), and signature requirement part of the script once.  After that you just increment the nonce, hash the "P2PK + nonce", and compute the address from the hash.  This would be less work and faster than generating a "normal vanity" address.  It also could be done by a third party completely securely without them needing any private key or private key component from you at all.


Title: Re: How do I create a Multi-Sig Vanity Address?
Post by: Nathan047 on September 19, 2017, 04:04:00 PM
For those who are wondering, I have created several vanity addresses (and if you look at my profile you’ll find that my main address is a vanity address). I’m just looking to get a 2 of 2 multi-sig so I can keep one of the signatures in cold storage, and I’d like it to be vanity just because I’m particularly fond of vanity addresses.

Thanks for the instructions Danny, although you kind of lost me in the technical part (guess this shows my lack of expertise). Perhaps you could lay out the instructions of what I need to do once I have the private “vanity” portion of the key?