Bitcoin Forum
June 15, 2024, 03:21:16 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How do I get the private key of my own address?  (Read 792 times)
greenclover (OP)
Full Member
***
Offline Offline

Activity: 195
Merit: 100



View Profile
July 10, 2014, 05:28:19 AM
 #1

For a wallet address, I can get its public key by using "validateaddress" command in the console, is there a command to get the private key? How can I get the private key for an address in my wallet? I know that the client program can sign the message by using the private key, but I don't know if there's a command line function for it. Thanks for the help.
ProfMac
Legendary
*
Offline Offline

Activity: 1246
Merit: 1001



View Profile
July 10, 2014, 05:32:43 AM
 #2

For a wallet address, I can get its public key by using "validateaddress" command in the console, is there a command to get the private key? How can I get the private key for an address in my wallet? I know that the client program can sign the message by using the private key, but I don't know if there's a command line function for it. Thanks for the help.

[/quote

The list of all the API commands is helpful for questions like this.

You may want dumpprivkey

I try to be respectful and informed.
greenclover (OP)
Full Member
***
Offline Offline

Activity: 195
Merit: 100



View Profile
July 10, 2014, 05:35:06 AM
 #3

For a wallet address, I can get its public key by using "validateaddress" command in the console, is there a command to get the private key? How can I get the private key for an address in my wallet? I know that the client program can sign the message by using the private key, but I don't know if there's a command line function for it. Thanks for the help.


The list of all the API commands is helpful for questions like this.

You may want dumpprivkey


oops, don't know how I missed this function, thanks a lot.
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!