Bitcoin Forum
December 14, 2024, 10:42:40 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Exporting private keys from old Core Wallet  (Read 712 times)
platorin (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
November 05, 2017, 01:05:55 AM
 #1

Hey Guys. I would like to export my private keys from Core Wallet. Let's say I have several addresses with at least one incoming transaction on each. Would that mean I will have to a private key for each address individually, or would I rather receive one key for all addresses?

Thanks!
Spendulus
Legendary
*
Offline Offline

Activity: 2926
Merit: 1386



View Profile
November 05, 2017, 03:23:01 AM
 #2

Hey Guys. I would like to export my private keys from Core Wallet. Let's say I have several addresses with at least one incoming transaction on each. Would that mean I will have to a private key for each address individually, or would I rather receive one key for all addresses?

Thanks!
Usually it's a mess. You can dump them all as is, or move the coin to one key and then dump just that one.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4363

<insert witty quote here>


View Profile
November 05, 2017, 04:44:28 AM
Merited by ABCbits (2)
 #3

Each address has it's own key... so, logically, if you have coins spread across multiple address, you're going to need to get multiple keys. (NOTE: Instead of using 'dumpprivkey' multiple times to get each private key, you can use the 'dumpwallet' command to just dump the whole wallet out to a file).

PROS: Free! Maintains privacy (none of the addresses will be linked)
CONS: Time consuming, messy, possibility of missing a key/address

Or... as Spendulus has suggested, just send ALL the coins in that wallet to a new address in that wallet, and just export that one key for the new address.

PROS: Just one key to rule them all! Tongue
CONS: Will cost a transaction fee... which could get large dependent on how many UTXOs you're trying to consolidate, plus you have to wait for confirmation... possible privacy implications

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
platorin (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
November 07, 2017, 05:34:24 PM
 #4

Each address has it's own key... so, logically, if you have coins spread across multiple address, you're going to need to get multiple keys. (NOTE: Instead of using 'dumpprivkey' multiple times to get each private key, you can use the 'dumpwallet' command to just dump the whole wallet out to a file).

PROS: Free! Maintains privacy (none of the addresses will be linked)
CONS: Time consuming, messy, possibility of missing a key/address

Or... as Spendulus has suggested, just send ALL the coins in that wallet to a new address in that wallet, and just export that one key for the new address.

PROS: Just one key to rule them all! Tongue
CONS: Will cost a transaction fee... which could get large dependent on how many UTXOs you're trying to consolidate, plus you have to wait for confirmation... possible privacy implications
I understand. Thank you. One more question - that command "dumpwallet" won't do anything to my wallet iselft or my bitcoins? It just "dumps" all data to a text file?
Sanglotslongs2
Full Member
***
Offline Offline

Activity: 260
Merit: 129



View Profile
November 07, 2017, 08:04:40 PM
 #5

Each address has it's own key... so, logically, if you have coins spread across multiple address, you're going to need to get multiple keys. (NOTE: Instead of using 'dumpprivkey' multiple times to get each private key, you can use the 'dumpwallet' command to just dump the whole wallet out to a file).

PROS: Free! Maintains privacy (none of the addresses will be linked)
CONS: Time consuming, messy, possibility of missing a key/address

Or... as Spendulus has suggested, just send ALL the coins in that wallet to a new address in that wallet, and just export that one key for the new address.

PROS: Just one key to rule them all! Tongue
CONS: Will cost a transaction fee... which could get large dependent on how many UTXOs you're trying to consolidate, plus you have to wait for confirmation... possible privacy implications

Are you sure of that ? On core 1 private key can have several address.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4363

<insert witty quote here>


View Profile
November 07, 2017, 09:42:16 PM
 #6

Are you sure of that ? On core 1 private key can have several address.
Technically, each HEX private key can be used to generate 2 addresses (compressed/uncompressed)... as far as I'm aware, Bitcoin Core currently deals only in compressed addresses... and when you dump the WIF keys, a WIF key has a 1:1 relationship with an address. The WIF starts with either "5" = uncompressed or it starts with a "K" or "L" = compressed.

Unless you're referring to xprvs... aka "Master Private Key"... which are derived from the "seed". Huh

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Spendulus
Legendary
*
Offline Offline

Activity: 2926
Merit: 1386



View Profile
November 08, 2017, 12:24:53 PM
 #7

Each address has it's own key... so, logically, if you have coins spread across multiple address, you're going to need to get multiple keys. (NOTE: Instead of using 'dumpprivkey' multiple times to get each private key, you can use the 'dumpwallet' command to just dump the whole wallet out to a file).

PROS: Free! Maintains privacy (none of the addresses will be linked)
CONS: Time consuming, messy, possibility of missing a key/address

Or... as Spendulus has suggested, just send ALL the coins in that wallet to a new address in that wallet, and just export that one key for the new address.

PROS: Just one key to rule them all! Tongue
CONS: Will cost a transaction fee... which could get large dependent on how many UTXOs you're trying to consolidate, plus you have to wait for confirmation... possible privacy implications
I understand. Thank you. One more question - that command "dumpwallet" won't do anything to my wallet iselft or my bitcoins? It just "dumps" all data to a text file?
No it won't change your wallet. Yes to text file.
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!