Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue Importing JSON File #71

Closed
drinking12many opened this issue Nov 28, 2017 · 3 comments
Closed

Issue Importing JSON File #71

drinking12many opened this issue Nov 28, 2017 · 3 comments
Assignees
Labels
Milestone

Comments

@drinking12many
Copy link

I do not know if it only affects JSON files, but I was trying to import a JSON file and it said it imported successfully. It did not show up in my accounts list though. I then moved the JSON file into the path I specified for the Geth Data directory then imported it again and it worked. It should either give an error when importing from another directory or copy it into the data directory specified.

@almindor almindor self-assigned this Dec 5, 2017
@almindor almindor added this to the 2.2.0 milestone Dec 5, 2017
@almindor
Copy link
Owner

almindor commented Dec 5, 2017

Hey, I'm not sure I understand exactly what you did. The JSON file is a geth account file correct? (UTC--timestamp--address formatted).

How did you try to import the file? Via wallet/import?

@drinking12many
Copy link
Author

drinking12many commented Dec 7, 2017 via email

@almindor
Copy link
Owner

almindor commented Dec 7, 2017

Ah I think I understand now. So wallet/import is not meant for individual geth account files, but the exported full wallet backup from Etherwall (the result of wallet/export).

The fact that it said success is a bug tho, it should've failed on format checks. There's currently no individual account import functionality in etherwall, but as you mentioned, copying the files to datadir/keystore will do it.

The distinction between the full wallet backup and individual accounts is described in the FAQ

@almindor almindor added bug and removed question labels Dec 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants