Private Key

I have my account # and the passphrase. How do I find my private key?

Comments

  • deliveryyyyguydeliveryyyyguy Member Posts: 8
    edited October 2015
    So I made my ether account by typing geth account new in terminal. And made my pass phrase.. Now where did my private keys go? Please Help!
  • deliveryyyyguydeliveryyyyguy Member Posts: 8
    In the terminal I went to library then to the Ethereum folder. I see the keystore folder but have no idea how to see the encrypted and encrypted private keys. Any help would appreciated and am even willing to send some ether your way once I figure out where these keys are.
  • deliveryyyyguydeliveryyyyguy Member Posts: 8
    I have a mac and am using geth as far as i know.
  • daylightdaylight Member Posts: 5
    edited October 2015
    Mac. For go-ethereum both geth on the command line or the Mist binary wallet (https://github.com/ethereum/mist/releases) accesses the account files stored in
    /Users/yourHomeDirectory/Library/Ethereum/keystore/

    Each file in the keystore folder is an account and are named like
    UTC--date--accountID
    Back up this folder or the files in it. If you lose the account file(s) you will not be able to recover any eth stored in it. Likewise store the associated password(s) in a secure place. These are the only two things you need to keep safe to access your eth: account file(s) and password(s).

    See this out-of-date gitbook (https://ethereum.gitbooks.io/frontier-guide/content/) if you want to use geth on the command line. The Mist binary is fairly stable now so you might want to use that instead of the CLI (warning it is beta). The advantage of Mist is that you can create a contract wallet on the blockchain to store your eth. The contract wallet is owned by your account so again never lose your account file or password. The disadvantage of a contract wallet is that it may cost you more in gas to move eth in and out of it.

    The alternative to go-ethereum is turboethereum the cpp implementation which now provides mac binaries as .dmg images but it differs from the go implementation as the account files are in a different format and stored in a different place (hidden folders) on the mac (yourHomeDirectory/.web3) and same for where the block chain is stored (yourHomeDirectory/.ethereum)
    https://github.com/ethereum/webthree-umbrella/releases
    https://gavofyork.gitbooks.io/turboethereum/content/index.html

    So be aware that the go and cpp implementations are very different in where they store files and the file types.
Sign In or Register to comment.