4

I had two accounts under ~/.ethereum/keystore when I used geth a while ago.

I got a new PC, recompiled only the C++ version and I can't see my two accounts in eth.

web3.admin.eth.allAccounts() returns only an account that seems stored under ~/.web3/keys if I'm not mistaken.

Is it possible that I somewhat import my geth accounts in eth?

3

You can use the ethkey tool that is included with eth.

Simply import the wallet with

ethkey import mygethkey.json "My Key Name"

Just replace mygethkey.json with the path to the key file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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