Bitcoin Forum
November 08, 2024, 10:52:18 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Need help to dump my private key on Bitcoin Core  (Read 183 times)
hatakeyudu (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 4


View Profile
September 13, 2020, 05:18:07 AM
 #1

I know that the private key is important. Lose it, I will lose my bitcoin.

I download Bitcoin Core, install it and get my wallet but I don't know how to dump my private key in my wallet.

I search and see a command dumpprivkey address, it can be used but if I have 100 bitcoin addresses and each one have bitcoin, what to do?

Use the command 100 times is not a good idea because with the 100 times I can make mistakes.

Thank you and happy weekend.
ranochigo
Legendary
*
Offline Offline

Activity: 3038
Merit: 4420


Crypto Swap Exchange


View Profile
September 13, 2020, 05:22:11 AM
Merited by OgNasty (1), ABCbits (1)
 #2

Dumpwallet is what you're looking for.

Go to command line, unlock your wallet if necessary and then use this command:
Code:
dumpwallet "[INSERT DIRECTORY HERE]/wallet.txt"

For my case, I did
Code:
dumpwallet "C:/Users/ranochigo/wallet.txt"

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Abdussamad
Legendary
*
Offline Offline

Activity: 3682
Merit: 1580



View Profile
September 19, 2020, 02:32:31 PM
 #3

if you want to backup your wallet use the command under the file menu. don't go messing with individual private keys.
darkv0rt3x
Hero Member
*****
Offline Offline

Activity: 1274
Merit: 681


I rather die on my feet than to live on my knees


View Profile
September 21, 2020, 03:22:58 PM
 #4

I know that the private key is important. Lose it, I will lose my bitcoin.

I download Bitcoin Core, install it and get my wallet but I don't know how to dump my private key in my wallet.

I search and see a command dumpprivkey address, it can be used but if I have 100 bitcoin addresses and each one have bitcoin, what to do?

Use the command 100 times is not a good idea because with the 100 times I can make mistakes.

Thank you and happy weekend.

If you really want to store all your 100 private keys, you can write a simple script to run the command and send to a file each address and the corresponding PK. I think that can be done.

Or, in a more weird fashion, you can do it manually, like 10 addresses today, 10 addresses tomorrow, etc, but that's a PITA.

Bitcoin is energy. Bitcoin is freedom
I rather die on my feet than living on my knees!
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!