<p>I'd check out the python library <a href="https://github.com/halfmoonlabs/coinkit" rel="nofollow">Coinkit</a> - it's for generating cryptocurrency wallets (Bitcoin, Namecoin, Litecoin, Peercoin, Primecoin, Dogecoin and a bunch of others are currently supported).</p>

<p>Just do "pip install coinkit".</p>

CC BY-SA 3.0
2013-12-21T23:23:26.350Z
2014-01-15T18:04:54.043Z
2014-01-15T18:04:54.043Z
Ryan Shea
<p>Someone could modify that source code to work with namecoin, but in the meantime here is a workaround:</p>

<p>Open namecoin-QT and copy the address you want to export the private key for into the clipboard. Then select help, debug window, and click on the console tab. In the prompt box at the bottom type:</p>

<blockquote>
  <p>dumpprivkey {paste namecoin address}</p>
</blockquote>

<p>This should return the private key (long number starting with a 5)
Write down the private key and put it somewhere safe. If you want to destroy the original first be sure that you have backed up ALL your private keys, then close namecoin-qt and delete your namecoin wallet.dat file.</p>

<p>To recover it you can use:</p>

<blockquote>
  <p>importprivkey {private key}</p>
</blockquote>

<p>After the import you should see the address and funds in the target wallet you are importing the key into, but it will take a bit since the namecoin client needs to look through it's whole history to determine the value on the restored address.</p>

CC BY-SA 3.0
2013-12-03T22:34:17.190Z
2013-12-03T22:34:17.190Z
Scrybe
<p>Check this <a href="https://github.com/samr7/vanitygen" rel="nofollow">https://github.com/samr7/vanitygen</a></p>

<pre><code># git clone https://github.com/samr7/vanitygen
# cd vanitygen
# make
# ./vanitygen -N NAME
Difficulty: 78508
Pattern: NAME                                                                  
Address: NAMEuWT2icj3ef8HWJwetZyZbXaZUJ5hFT
Privkey: 74pxNKNpByQ2kMow4d9kF6Z77BYeKztQNLq3dSyU4ES1K5KLNiz
</code></pre>

<p>Thereafter, simple import <code>privkey</code>.</p>

CC BY-SA 3.0
2014-01-06T09:34:08.063Z
2014-01-06T09:34:08.063Z
ConcealmEnt
<p>Check out this site by virtual_master: <a href="http://namecoinia.org/" rel="nofollow">http://namecoinia.org/</a></p>

<p>You can save it for offline use.</p>

<p>Also this utility from casascius should do the job: <a href="http://casascius.wordpress.com/2013/01/26/bitcoin-address-utility/" rel="nofollow">http://casascius.wordpress.com/2013/01/26/bitcoin-address-utility/</a></p>

CC BY-SA 3.0
2013-12-12T10:05:57.150Z
2013-12-12T10:05:57.150Z
kermit
<p>I want to keep some NMC offline. Is there a way to generate an offline wallet like bitaddress.org that I can run on a live CD, generate wallet and keep offline?</p>

<namecoin><paper-wallet>
Namecoin Offline Wallet Generator
Paul Simmons
# Namecoin Offline Wallet Generator

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

I want to keep some NMC offline. Is there a way to generate an offline wallet like bitaddress.org that I can run on a live CD, generate wallet and keep offline?

**Tags:** namecoin, paper-wallet


---

## 4 answers

### Answer by username_1 on 2013-12-21. Score: 2

I'd check out the python library [Coinkit](https://github.com/halfmoonlabs/coinkit) - it's for generating cryptocurrency wallets (Bitcoin, Namecoin, Litecoin, Peercoin, Primecoin, Dogecoin and a bunch of others are currently supported).

Just do "pip install coinkit".


---

### Answer by username_2 on 2013-12-03. Score: 0

Someone could modify that source code to work with namecoin, but in the meantime here is a workaround:

Open namecoin-QT and copy the address you want to export the private key for into the clipboard. Then select help, debug window, and click on the console tab. In the prompt box at the bottom type:

> dumpprivkey {paste namecoin address}

This should return the private key (long number starting with a 5)
Write down the private key and put it somewhere safe. If you want to destroy the original first be sure that you have backed up ALL your private keys, then close namecoin-qt and delete your namecoin wallet.dat file.

To recover it you can use:

> importprivkey {private key}

After the import you should see the address and funds in the target wallet you are importing the key into, but it will take a bit since the namecoin client needs to look through it's whole history to determine the value on the restored address.


---

### Answer by username_3 on 2014-01-06. Score: 0

Check this <https://github.com/samr7/vanitygen>

```
# git clone https://github.com/samr7/vanitygen
# cd vanitygen
# make
# ./vanitygen -N NAME
Difficulty: 78508
Pattern: NAME                                                                  
Address: NAMEuWT2icj3ef8HWJwetZyZbXaZUJ5hFT
Privkey: 74pxNKNpByQ2kMow4d9kF6Z77BYeKztQNLq3dSyU4ES1K5KLNiz

```

Thereafter, simple import `privkey`.


---

### Answer by username_4 on 2013-12-12. Score: 0

Check out this site by virtual\_master: <http://namecoinia.org/>

You can save it for offline use.

Also this utility from casascius should do the job: <http://casascius.wordpress.com/2013/01/26/bitcoin-address-utility/>


---

