Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: cpfreeplz on September 01, 2016, 11:31:29 PM



Title: Is there a wallet where we can have predetermined change addresses?
Post by: cpfreeplz on September 01, 2016, 11:31:29 PM
So for example I make 20 vanity addresses and they all start with 1bitcoin1, 1bitcoin2, 1bitcoin3. Can you add these into an HD wallet somehow? Or are we able to make the first key so that only vanity addresses are used in the HD wallet?

Does that even make sense?


Title: Re: Is there a wallet where we can have predetermined change addresses?
Post by: achow101 on September 02, 2016, 12:59:30 AM
No it is not possible. You have to generate the private keys yourself for every single address. A chain of vanity addresses cannot be derived from a single seed, that is not how randomness works.


Title: Re: Is there a wallet where we can have predetermined change addresses?
Post by: jackg on September 02, 2016, 01:05:02 AM
I have no idea here what you are trying to ask so I'll offer two suggestions and hope that one is accurate.
1. You can produce more determined addresses from an electrum wallet (which produces around 10 new addresses).
2. If you use electrum or Bitcoin core, then you can import the addresses and their private keys in order for you to use the randomly created vanity addresses.

If I've got this wrong, let me know.


Title: Re: Is there a wallet where we can have predetermined change addresses?
Post by: unholycactus on September 02, 2016, 02:29:20 AM
I have no idea here what you are trying to ask so I'll offer two suggestions and hope that one is accurate.
1. You can produce more determined addresses from an electrum wallet (which produces around 10 new addresses).
2. If you use electrum or Bitcoin core, then you can import the addresses and their private keys in order for you to use the randomly created vanity addresses.

If I've got this wrong, let me know.

I think OP wants something supported by the wallet. In other words, he wants his addresses to be of his choosing.
As knightdk pointed out, that's not really how it works.
Your point is good as long as OP doesn't care if he can't recover his wallet and has to setup those addresses to change.


In a way, addresses are predetermined by the wallet seed, but you don't have much control over them since they are very random.


Title: Re: Is there a wallet where we can have predetermined change addresses?
Post by: NyeFe on September 02, 2016, 12:03:24 PM
It would be possible, but you would have to re-write Bitcoin Core, to allow users to append text in front of addresses. But of course that would lead to whole new generation of bugs, vulnerabilities and compatibility issues, and security risks.

You're going to have to generate random address until you find what you're looking for.