2

How to extract private key of an account from Ethereum Wallet on Linux? Please specify the exact filesystem locations.

I need private keys both for the main network and for the Ropsten test network.

  • This question and answer posted by me might help: ethereum.stackexchange.com/questions/15494/… Note that the paths specified are for the Parity client on a Mac machine. There are links in the answer to other information which you might find helpful, too. – Ajoy Bhatia Mar 29 '18 at 16:42
  • 1
    @AjoyBhatia The answer you refer to is about Parity not about Ethereum Wallet which I ask about – porton Mar 29 '18 at 16:44
  • Oh, OK. I thought "Ethereum Wallet" was meant in a generic sense and the specific client was not specified. Didn't realize that is a specific piece of software. – Ajoy Bhatia Mar 29 '18 at 16:47
2

The keystore is encrypted and default location in Linux is ~/.ethereum/keystore.

You can use https://www.myetherwallet.com to get the raw private key. If you want to script this, you can for instance use node.js ethereumjs-wallet library.

Also see How do I get the raw private key from my Mist keystore file?

  • 1
    How can myetherwallet.com extract the private key from a file located at my filesystem (not on the network)? – porton Mar 29 '18 at 17:53
  • You have to upload the key to the javascript app (which is running in your local browser and not on the server) and unlock it. – ivicaa Mar 29 '18 at 17:55
  • I cannot see anywhere to get my raw private key on myetherwallet, can you please elaborate – Barney Chambers Sep 2 at 12:20

Not the answer you're looking for? Browse other questions tagged or ask your own question.