<p><a href="https://github.com/gavinandresen/bitcointools" rel="nofollow">https://github.com/gavinandresen/bitcointools</a></p>

<p>or pywallet (link on the site above).</p>

<p>These are the only ways I know. Not really comfortable. Also it is probably not possible while namecoind is running.</p>

CC BY-SA 3.0
2013-04-08T07:42:59.213Z
Thanks @phelix. It seems that for namecoin, one needs to use a forked version of pywallet https://github.com/jackjack-jj/pywallet and use the command line parameter --namecoin.
nivs
CC BY-SA 3.0
2013-04-08T13:48:50.253Z
Fun fact: you can even share private keys between Bitcoin and Namecoin. Might make a good secret wallet ;)
kermit
CC BY-SA 3.0
2013-04-08T15:14:49.353Z
Care to explain? :)
nivs
CC BY-SA 3.0
2013-04-15T16:02:38.840Z
Bitcoin and Namecoin private and public keys are exactly the same thing. Only the address generated from the pub key looks a little different. It is possible to generate both address types from a single priv key. Check out the casascius address utility.
kermit
CC BY-SA 3.0
2013-04-07T16:52:02.997Z
2013-04-07T16:52:02.997Z
kermit
<p>Seems like namecoind doesn't support the <code>dumpprivkey</code> command.</p>

<private-key><namecoin>
How do I extract the private keys from my namecoind wallet?
nivs
# How do I extract the private keys from my namecoind wallet?

(Asked by: username_0 on 2013-04-07)

Seems like namecoind doesn't support the `dumpprivkey` command.

**Tags:** private-key, namecoin


---

## 1 answers

### Answer by username_1 on 2013-04-07. Score: 1 | Accepted answer

<https://github.com/gavinandresen/bitcointools>

or pywallet (link on the site above).

These are the only ways I know. Not really comfortable. Also it is probably not possible while namecoind is running.

> **Comments:**
> **username_0**: Thanks @phelix. It seems that for namecoin, one needs to use a forked version of pywallet https://github.com/jackjack-jj/pywallet and use the command line parameter --namecoin.  
> **username_1**: Fun fact: you can even share private keys between Bitcoin and Namecoin. Might make a good secret wallet ;)  
> **username_0**: Care to explain? :)  
> **username_1**: Bitcoin and Namecoin private and public keys are exactly the same thing. Only the address generated from the pub key looks a little different. It is possible to generate both address types from a single priv key. Check out the casascius address utility.  

---

