<p>Electrum and Mycelium Gear both use BIP32 for address derivation from a master seed, but Electrum is not BIP39 compatible. Thus you need to take the master seed (BIP32 Extended Key, iirc) and restore it in a new Electrum wallet, and that should work.</p>

<p>Alternatively, if you want to get individual address private keys you can use <a href="http://bip32.org" rel="nofollow">http://bip32.org</a> - my suggestion is to use the "Download ZIP" function at the bottom right of the page, and work with the keys offline, otherwise there is a chance that compromised code could expose your private keys.</p>

CC BY-SA 3.0
2016-05-22T08:13:11.380Z
2016-05-22T08:13:11.380Z
fluffyponyza
<p>I made a tool for deriving bip32 private keys and related info.  Might be helpful for somebody in similar situation.  The tool is <a href="https://github.com/dan-da/hd-wallet-derive" rel="nofollow noreferrer">hd-wallet-derive</a>.</p>

CC BY-SA 3.0
2017-08-04T20:08:22.913Z
2017-08-04T20:08:22.913Z
user49396
<p>alternatively, you can try this: <a href="http://docs.electrum.org/en/latest/merchant.html" rel="nofollow">http://docs.electrum.org/en/latest/merchant.html</a></p>

CC BY-SA 3.0
2016-05-22T10:21:23.527Z
2016-05-22T10:21:23.527Z
ThomasV
<p>I am using the Electrum wallet. Recently, I used my Public master key on the Mycelium Gear site to create a widget. This widget generates Bitcoin addresses, which I want to manage with my Electrum wallet. I received some bitcoins to these generated addresses but I cannot see the generated address in my Electrum wallet! I also cannot see my generated address in Xpub blockchain.info.</p>

<p>I already have my generated Bitcoin addresses, so now I need private keys for them. When I used the command to get the private key I received this error:</p>

<pre><code>wallet.get_master_private_key('x/', gui.password_dialog())
Traceback (most recent call last):
NameError: name 'gui' is not defined
</code></pre>

<electrum><bip32-hd-wallets>
How can I recover bitcoins sent to derived addresses in Electrum?
nimmy
# How can I recover bitcoins sent to derived addresses in Electrum?

(Asked by: username_0 on 2016-05-22)

I am using the Electrum wallet. Recently, I used my Public master key on the Mycelium Gear site to create a widget. This widget generates Bitcoin addresses, which I want to manage with my Electrum wallet. I received some bitcoins to these generated addresses but I cannot see the generated address in my Electrum wallet! I also cannot see my generated address in Xpub blockchain.info.

I already have my generated Bitcoin addresses, so now I need private keys for them. When I used the command to get the private key I received this error:

```
wallet.get_master_private_key('x/', gui.password_dialog())
Traceback (most recent call last):
NameError: name 'gui' is not defined

```

**Tags:** electrum, bip32-hd-wallets


---

## 3 answers

### Answer by username_1 on 2016-05-22. Score: 1

Electrum and Mycelium Gear both use BIP32 for address derivation from a master seed, but Electrum is not BIP39 compatible. Thus you need to take the master seed (BIP32 Extended Key, iirc) and restore it in a new Electrum wallet, and that should work.

Alternatively, if you want to get individual address private keys you can use <http://bip32.org> - my suggestion is to use the "Download ZIP" function at the bottom right of the page, and work with the keys offline, otherwise there is a chance that compromised code could expose your private keys.


---

### Answer by username_2 on 2017-08-04. Score: 1

I made a tool for deriving bip32 private keys and related info. Might be helpful for somebody in similar situation. The tool is [hd-wallet-derive](https://github.com/dan-da/hd-wallet-derive).


---

### Answer by username_3 on 2016-05-22. Score: 0

alternatively, you can try this: <http://docs.electrum.org/en/latest/merchant.html>


---

