<p>You can do this but the advantage of HD wallets effectively diminishes. You can simply brute force by iterating over all the indices of the HD wallet until you find one that has the vanity characteristics you want. However, its possible that it is sufficiently hard enough to find that you will have to save off the private key anyway.</p>

<p>The entire point of HD wallets is that you only need the master private key/seed to generate all your addresses. If you end up with an index that so far out from the last used address, you might not be able to find it in the future without also having saved the private key for the vanity address.</p>

CC BY-SA 3.0
2016-04-24T00:45:40.893Z
2016-04-24T00:45:40.893Z
Paul Puey
<p>I was recently wondering the same and found no solution, so I hacked up something myself. The <em>prototype</em> is at <a href="https://github.com/zommuter/vain39/blob/master/vain39.py" rel="nofollow noreferrer">https://github.com/zommuter/vain39/blob/master/vain39.py</a> and definitely needs some improvement, but basically it works.</p>

CC BY-SA 4.0
2022-01-20T18:47:02.613Z
2022-01-20T18:47:02.613Z
Tobias Kienzler
<p>I'm interested in finding different techniques that can be used to create vanity addresses with a BIP32 address.</p>

<p>For example, can any of this computation be offloaded to a dedicated server, or a 3rd party?</p>

CC BY-SA 3.0
2014-12-14T06:55:19.920Z
I'll look into it as this is a really interesting question. Can someone confirm that HD wallets will always be a small subset of the total key pool? Ie for private key *pK* the integer set will be *pK +=/-= c* where *c* is a constant
Wizard Of Ozzie
<address><bip32-hd-wallets><vanity-address><bip44>
How do I get a vanity address from a hierarchal deterministic wallet?
makerofthings7
# How do I get a vanity address from a hierarchal deterministic wallet?

(Asked by: username_0 on 2013-12-05)

I'm interested in finding different techniques that can be used to create vanity addresses with a BIP32 address.

For example, can any of this computation be offloaded to a dedicated server, or a 3rd party?

**Tags:** address, bip32-hd-wallets, vanity-address, bip44

> **Comments:**
> **username_1**: I'll look into it as this is a really interesting question. Can someone confirm that HD wallets will always be a small subset of the total key pool? Ie for private key *pK* the integer set will be *pK +=/-= c* where *c* is a constant  

---

## 2 answers

### Answer by username_2 on 2016-04-24. Score: 3

You can do this but the advantage of HD wallets effectively diminishes. You can simply brute force by iterating over all the indices of the HD wallet until you find one that has the vanity characteristics you want. However, its possible that it is sufficiently hard enough to find that you will have to save off the private key anyway.

The entire point of HD wallets is that you only need the master private key/seed to generate all your addresses. If you end up with an index that so far out from the last used address, you might not be able to find it in the future without also having saved the private key for the vanity address.


---

### Answer by username_3 on 2022-01-20. Score: 0

I was recently wondering the same and found no solution, so I hacked up something myself. The *prototype* is at <https://github.com/zommuter/vain39/blob/master/vain39.py> and definitely needs some improvement, but basically it works.


---

