<p>If you already have the seed phrase (aka mnemonic) then all you have to do is import that into Electrum.</p>
<ol>
<li>Click <code>File &gt; New/Restore (ctrl+N)</code></li>
<li>Set a name</li>
<li>Select <code>Standard wallet</code></li>
<li>Select <code>I already have a seed</code></li>
<li>Enter seed phrase then click <code>option</code> and select <code>BIP39 seed</code> and the other checkbox only if you had used a passphrase to extend this seed</li>
<li>Choose the address type that were created by this seed and modify the derivation path if needed</li>
</ol>
<p>Now if you want an individual private key, simply go to <code>Addresses</code> tab and select any address there, right click and choose <code>Private key</code>.<br />
If you want to know the underlying methods used to derive the keys then check out <a href="https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki" rel="nofollow noreferrer">BIP-39</a> and <a href="https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" rel="nofollow noreferrer">BIP-32</a>.</p>

CC BY-SA 4.0
2020-07-27T02:36:51.550Z
2020-07-27T02:36:51.550Z
Coding Enthusiast
<p>I have a master seed (I use a hardware wallet).
I know how to transform it into a (root) private key.
I have also several public keys, which all was obtained by derived a private/public keys of the root private key.</p>
<p>Questions:</p>
<ul>
<li>How can I get all the private keys corresponding to the public keys mentioned above?</li>
<li>What is the best tool to do this thing ?</li>
</ul>
<p>In otherm term, I want to retrive derivated private key like that:</p>
<pre><code>derivated private key = function(derivated public key, master root key)
</code></pre>
<p>My ultimate goals is then to import all these private keys in a Electrum wallet for instance.</p>

<bip32-hd-wallets>
How to retrieve extended private key from extended public key + master seed / root private master key
Guillaume Paris
# How to retrieve extended private key from extended public key + master seed / root private master key

(Asked by: username_0 on 2020-07-26)

I have a master seed (I use a hardware wallet).
I know how to transform it into a (root) private key.
I have also several public keys, which all was obtained by derived a private/public keys of the root private key.

Questions:

* How can I get all the private keys corresponding to the public keys mentioned above?
* What is the best tool to do this thing ?

In otherm term, I want to retrive derivated private key like that:

```
derivated private key = function(derivated public key, master root key)

```

My ultimate goals is then to import all these private keys in a Electrum wallet for instance.

**Tags:** bip32-hd-wallets


---

## 1 answers

### Answer by username_1 on 2020-07-27. Score: 2 | Accepted answer

If you already have the seed phrase (aka mnemonic) then all you have to do is import that into Electrum.

1. Click `File > New/Restore (ctrl+N)`
2. Set a name
3. Select `Standard wallet`
4. Select `I already have a seed`
5. Enter seed phrase then click `option` and select `BIP39 seed` and the other checkbox only if you had used a passphrase to extend this seed
6. Choose the address type that were created by this seed and modify the derivation path if needed

Now if you want an individual private key, simply go to `Addresses` tab and select any address there, right click and choose `Private key`.  
If you want to know the underlying methods used to derive the keys then check out [BIP-39](https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki) and [BIP-32](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki).


---

