21

Just the opposite of this question How to import a plain private key into geth or Mist? I would like to know how can I obtain the private keys of the accounts created with geth in this way:

$ geth --testnet account new

I've been looking for private key files on ~/.ethereum/keystore but there is only one file for coinbase account. No files for the rest of accounts created.

How can I obtain those missing files? Why are they missing? Thx!

I've already seen How can I import geth accounts into eth? but problem is in my system keystore files don't even exist for most of the geth accounts created, except coinbase.

1 Answers1

11

For test net, the folder you are looking for is ~/.ethereum/testnet/keystore/.