I’ve been struggling with exporting my private key from bitcoin-qt a little bit, so now when I successfully done it, I’m going to describe those steps here. I had old wallet.dat and switched to Electrum wallet, but after MININGCO.ETF closure I received some funds into my old wallet, so there was need to get them out. First I was trying to use PyWallet, but without any success. So I did it with CLI access to bitcoin-qt wallet. Here we go:
- Download and unpack bitcoin-qt wallet,
- move wallet.dat to ~/.bitcoin directory,
- create bitcoin.conf in ~/.bitcoin directory and define rpcuser= and rpcpassword= in it,
- run ‚bitcoind -server‘ in terminal,
- unlock the wallet for 60 seconds like ‚read -s wp; ./bitcoin-cli walletpassphrase „$wp“ 60; unset wp‘,
- and finally dump private key ‚./bitcoin-cli dumpprivkey 1MyBitcoinAddress‘, which is written directly to terminal,
- lock the wallet ‚./bitcoin-cli walletlock‘.
Now it’s possible to copy private key and import it into Electrum or another wallet software (or give it to someone :)).
2 komentáře: “HOWTO export private key from bitcoin-qt”
Question about shmoula.cz
Hello, i would like to know if is possible to offer you $25 so you can add our bitcoin link in this article:
shmoula.cz/howto-export-private-key-from-bitcoin-qt/
I can send example of the text link that will be added to the article.
Thanks!
negative, make your own content for backlinking