Bitcoin Forum
May 10, 2024, 05:59:51 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Solved: Getting the private key of an address created from the command line ?  (Read 667 times)
MoreBloodWine (OP)
Legendary
*
Offline Offline

Activity: 1050
Merit: 1001


View Profile
December 31, 2014, 02:25:31 PM
Last edit: December 31, 2014, 03:55:59 PM by MoreBloodWine
 #1

Ok, so I have a node running and I'm working on something which required me to make an address using (bitcoind getaccountaddress "Test") at the command line, obviously not including the parenthesis.

Anyway, it got me to thinking, if something ever happens to my node, the coins in that address no matter the amount are "lost". Is there a way for me to export the private key of address Test so I can save it in however many locations I like ?

Ty.

To be decided...
1715320791
Hero Member
*
Offline Offline

Posts: 1715320791

View Profile Personal Message (Offline)

Ignore
1715320791
Reply with quote  #2

1715320791
Report to moderator
Even if you use Bitcoin through Tor, the way transactions are handled by the network makes anonymity difficult to achieve. Do not expect your transactions to be anonymous unless you really know what you're doing.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715320791
Hero Member
*
Offline Offline

Posts: 1715320791

View Profile Personal Message (Offline)

Ignore
1715320791
Reply with quote  #2

1715320791
Report to moderator
DannyHamilton
Legendary
*
Online Online

Activity: 3388
Merit: 4653



View Profile
December 31, 2014, 02:29:48 PM
 #2

Well, to start with, you should be maintaining regular backups of the wallet in multiple secure locations.  As long as you are doing that, you should be able to recover access to the bitcoins.

If for some reason you actually want the private key, you can use "dumpprivkey".

If you want a list of all the addresses in the wallet that have received bitcoins which haven't yet been spent, you can use "listunspent".

dabura667
Sr. Member
****
Offline Offline

Activity: 475
Merit: 252


View Profile
December 31, 2014, 03:39:33 PM
 #3

Back up the whole wallet.dat file.

In multiple places.

My Tip Address:
1DXcHTJS2DJ3xDoxw22wCt11FeAsgfzdBU
DannyHamilton
Legendary
*
Online Online

Activity: 3388
Merit: 4653



View Profile
December 31, 2014, 03:45:32 PM
 #4

Back up the whole wallet.dat file.

In multiple places.

Already been said.  Your post adds nothing to the conversation.

Well, to start with, you should be maintaining regular backups of the wallet in multiple secure locations.
- snip -
MoreBloodWine (OP)
Legendary
*
Offline Offline

Activity: 1050
Merit: 1001


View Profile
December 31, 2014, 03:55:24 PM
 #5

Well, to start with, you should be maintaining regular backups of the wallet in multiple secure locations.  As long as you are doing that, you should be able to recover access to the bitcoins.

If for some reason you actually want the private key, you can use "dumpprivkey".

If you want a list of all the addresses in the wallet that have received bitcoins which haven't yet been spent, you can use "listunspent".


I'm following all suggestions but I still wanted the private key so I could add the wallet to my phones block chain app / account.

Thx.

To be decided...
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!