Author

Topic: [GUIDE] Recover your namecoins (and testnetcoins) sent to bitcoin addresses (Read 3568 times)

newbie
Activity: 34
Merit: 0
Woohoo!  Many thanks!
full member
Activity: 154
Merit: 100
Ok thanks, I thought they were just gone.
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
Indeed, you need to control the bitcoin address to do that trick

But the bitparking admin is used to recover those coins, just send him a mail with the details he asks: http://dot-bit.org/forum/viewtopic.php?p=1337#p1337
full member
Activity: 154
Merit: 100
I absentmindedly sent a few NMC to an address generated by bitparking to deposit BTC. Can your trick work in this case or do I need to have control of the bitcoin address the coins were sent to? Where does "privatehexkey64characterslong" come from?
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
Your namecoin sending wallet is at /home/jackjack/wallet.dat
Your bitcoin receiving wallet is in your default bitcoin directory (if not, use pywallet --datadir option)

0. Download my pywallet fork and exit namecoind
1. In console 'cd /path/to/pywallet/'
2. Run './pywallet.py --dumpwallet' and find
Code:
       {
            "addr": "The Bitcoin Address you sent namecoins to",
            "hexsec": "privatehexkey64characterslong",
            "label": "",
            "sec": "5xxxxxxx"
        }
3. Run './pywallet.py --importprivkey "privatehexkey64characterslong" --importhex --namecoin --datadir /home/jackjack/' (if testnetcoins, replace --namecoin with --testnet)
4. Restart namecoind with the rescan flag

Your coins are now again in your Namecoin wallet, and you can even use that Bitcoin address as a Namecoin address
I hope this will help someone one day
Jump to: