Bitcoin Forum
June 27, 2024, 08:55:10 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to get private key ?  (Read 254 times)
BitcoinDummy (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 1


View Profile
July 04, 2018, 02:34:46 AM
 #1

How do I get private key from bitcoin version 0.3.22 BETA

There is no console or debug window.
Btcspot
Jr. Member
*
Offline Offline

Activity: 191
Merit: 1


View Profile
July 04, 2018, 05:27:28 AM
Last edit: July 04, 2018, 05:47:22 AM by Btcspot
 #2

 Hi just download new bitcoin core at bitcoin.org, then go to  C:\Users\YourUserName\Appdata\Roaming\Bitcoin\wallet.dat and save it before you install new bitcoin core. Then put your wallet.dat back there.

 To export a private key from your bitcoin-qt client:

   launch your bitcoin client as usual and wait for it then stop it
   click on 'help' in the menu bar (top right)
   click on 'debug window'
   select the 'console' tab
   type: walletpassphrase "your walletpassphrase here" 600
   type: dumpprivkey [your Bitcoin address here]
 
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
July 04, 2018, 11:26:58 AM
 #3

Importing an old wallet into a new version should work since afaik the devs always worked on backwards compatibility.
First, backup your wallet (And move them somewhere safe).

Then you can try to import the wallet file into the new core version (install core -> move the wallet file inside the directory).

If this somehow doesn't work you might try to use pywallet(https://github.com/jackjack-jj/pywallet).
This tool allows you to dump all private keys found on your drive.

Even though this tool hasn't been updated for a pretty long time, it still works for .dat's from older versions.

fredo123
Full Member
***
Offline Offline

Activity: 350
Merit: 100



View Profile
July 05, 2018, 12:46:53 PM
 #4

Hi just download new bitcoin core at bitcoin.org, then go to  C:\Users\YourUserName\Appdata\Roaming\Bitcoin\wallet.dat and save it before you install new bitcoin core. Then put your wallet.dat back there.

 To export a private key from your bitcoin-qt client:

   launch your bitcoin client as usual and wait for it then stop it
   click on 'help' in the menu bar (top right)
   click on 'debug window'
   select the 'console' tab
   type: walletpassphrase "your walletpassphrase here" 600
   type: dumpprivkey [your Bitcoin address here]
 
The same problem i encountered as mention above, I just follow the commands stated below, still doesn't work in my laptop,:(
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
July 05, 2018, 07:27:43 PM
 #5

  launch your bitcoin client as usual and wait for it then stop it
   click on 'help' in the menu bar (top right)
   click on 'debug window'
   select the 'console' tab
   type: walletpassphrase "your walletpassphrase here" 600
   type: dumpprivkey [your Bitcoin address here] 
I just follow the commands stated below, still doesn't work in my laptop,:(

What exactly did not work?
Weren't you able to dump the private keys of your addresses?

Because each command itself is correct. Mind explaining where it didn't work or what exactly didn't work?

BitcoinDummy (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 1


View Profile
July 05, 2018, 09:14:20 PM
 #6

@bob123 pls tell me how to do that pywallet .
i tried doing it but , i didn't see the zope.interface within that pywallet required to be installed.
if u can do it step by step with image that would help a lot .
Running on windows.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
July 05, 2018, 10:25:50 PM
 #7

@bob123 pls tell me how to do that pywallet .
i tried doing it but , i didn't see the zope.interface within that pywallet required to be installed.
if u can do it step by step with image that would help a lot .
Running on windows.
For PyWallet, you need to have Python 2.7 installed: https://www.python.org/downloads/release/python-2715/

DO NOT install Python 3.x... it will not work.

You can ensure that PyWallet is installed correctly (along with the necessary libraries) by using the PyWallet installer from here: https://bitcointalk.org/index.php?topic=34028.0
(https://github.com/downloads/jackjack-jj/pywallet/PWI_0.0.3.exe)

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
alejandrosn1998
Member
**
Offline Offline

Activity: 158
Merit: 15


View Profile
July 08, 2018, 02:58:51 PM
 #8

  launch your bitcoin client as usual and wait for it then stop it
   click on 'help' in the menu bar (top right)
   click on 'debug window'
   select the 'console' tab
   type: walletpassphrase "your walletpassphrase here" 600
   type: dumpprivkey [your Bitcoin address here] 
I just follow the commands stated below, still doesn't work in my laptop,:(

What exactly did not work?
Weren't you able to dump the private keys of your addresses?

Because each command itself is correct. Mind explaining where it didn't work or what exactly didn't work?

Don't use the "" or the [] its just to show the input, so for example if my passphrase is 34523mkmkm it would look like this, if my btc address is 2k3m4k234m:
walletpassphrase 34523mkmkm 600
after typing above, press enter.
dumpprivkey 2k3m4k234m
after typing the above, press enter.
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!