Bitcoin Forum
November 14, 2024, 02:20:26 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [GUIDE] Recover your namecoins (and testnetcoins) sent to bitcoin addresses  (Read 3568 times)
jackjack (OP)
Legendary
*
Offline Offline

Activity: 1176
Merit: 1280


May Bitcoin be touched by his Noodly Appendage


View Profile
July 26, 2011, 09:00:24 PM
Last edit: July 26, 2011, 11:44:19 PM by jackjack
 #1

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

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
Fakeman
Full Member
***
Offline Offline

Activity: 154
Merit: 100



View Profile
July 29, 2011, 11:51:45 AM
 #2

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?

16wEsax3GGvJmjiXCMQUWeHdgyDG5DXa2W
jackjack (OP)
Legendary
*
Offline Offline

Activity: 1176
Merit: 1280


May Bitcoin be touched by his Noodly Appendage


View Profile
July 29, 2011, 03:27:31 PM
 #3

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

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
Fakeman
Full Member
***
Offline Offline

Activity: 154
Merit: 100



View Profile
July 29, 2011, 09:38:58 PM
 #4

Ok thanks, I thought they were just gone.

16wEsax3GGvJmjiXCMQUWeHdgyDG5DXa2W
truckingeek
Newbie
*
Offline Offline

Activity: 34
Merit: 0


View Profile
April 28, 2012, 03:31:10 AM
 #5

Woohoo!  Many thanks!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!