Author

Topic: Get Private key using passphrase and address? (Read 205 times)

sr. member
Activity: 490
Merit: 389
Do not trust the government
November 12, 2017, 04:42:50 PM
#3
I don't know about Dogecoin Core. but I can tell you how you would do it in Bitcoin Core.
First you need to unlock the wallet with walletpassphrase command for n amount of seconds. In this example you will unlock it for 10 minutes (n=600).
Code:
bitcoin-cli walletpassphrase "yourpassword123" 600
Then you can use dumpprivkey to get a private key for your address.
Code:
bitcoin-cli dumpprivkey "1YourBitcoinAddress"
legendary
Activity: 1946
Merit: 1427
November 12, 2017, 04:40:52 PM
#2
Can anyone help me with the commandline to get a Private key using a locked core wallet with a passphrase and the address?

I am trying to do this with dogecoin core but it gives me error, i have done it fine before but the wallets were not locked with a passphrase.

You simply add "walletpassphrase "your walletpassphrase here" 600 dumpprivkey [your Bitcoin address here]"

Then relock your wallet with "walletlock"

Assuming that you know how to get into the console, this shouldn't be too hard to accomplish.

More instructions, https://bitcoin.stackexchange.com/questions/4203/how-can-i-export-the-private-key-for-an-address-from-the-satoshi-client
newbie
Activity: 49
Merit: 0
November 12, 2017, 01:56:22 PM
#1
Can anyone help me with the commandline to get a Private key using a locked core wallet with a passphrase and the address?

I am trying to do this with dogecoin core but it gives me error, i have done it fine before but the wallets were not locked with a passphrase.
Jump to: