Author

Topic: How do I get the private key of my own address? (Read 814 times)

full member
Activity: 195
Merit: 100
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.
legendary
Activity: 1246
Merit: 1002
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
full member
Activity: 195
Merit: 100
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.
Jump to: