Bitcoin Forum
September 19, 2018, 08:10:21 AM *
News: ♦♦ Bitcoin Core users must update to 0.16.3 [Torrent]. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Exporting private keys from old Core Wallet  (Read 602 times)
platorin
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!
1537344621
Hero Member
*
Offline Offline

Posts: 1537344621

View Profile Personal Message (Offline)

Ignore
1537344621
Reply with quote  #2

1537344621
Report to moderator
1537344621
Hero Member
*
Offline Offline

Posts: 1537344621

View Profile Personal Message (Offline)

Ignore
1537344621
Reply with quote  #2

1537344621
Report to moderator
Einax Airdrops and Bounties made easy! List your ERC-20 token
FREE
ETH markets launching soon!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1537344621
Hero Member
*
Offline Offline

Posts: 1537344621

View Profile Personal Message (Offline)

Ignore
1537344621
Reply with quote  #2

1537344621
Report to moderator
Spendulus
Legendary
*
Offline Offline

Activity: 2002
Merit: 1047



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
Hero Member
*****
Offline Offline

Activity: 728
Merit: 923

<insert witty quote here>


View Profile
November 05, 2017, 04:44:28 AM
 #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

platorin
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: 244
Merit: 101



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
Hero Member
*****
Offline Offline

Activity: 728
Merit: 923

<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

Spendulus
Legendary
*
Offline Offline

Activity: 2002
Merit: 1047



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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!