aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/accounts/import
Commit message (Collapse)AuthorAgeFilesLines
* Add Back Button for Import ScreenThomas Huang2017-06-281-0/+9
|
* Add a new warning for file import JSONKevin Serrano2017-06-151-0/+3
|
* Fix linting warningsThomas Huang2017-04-271-1/+1
|
* Fix styling of error message.Kevin Serrano2017-03-232-4/+2
|
* Implement naieve JSON file importingDan Finlay2017-01-192-5/+76
| | | | Doesn't work on any JSON file I have, it's a very naieve strategy provided by ethereumjs-wallet. Will need to raise its sophistication before deploying to production.
* Added new modular private key import systemDan Finlay2017-01-191-2/+1
| | | | | | | | | | | | | | Now any strategy for importing a private key that can be described as a pure function can be very easily turned into a MetaMask import strategy. I've created a generic and reusable UI action called `importNewAccount(strategy, args)`. The `strategy` is a unique identifier defined in `app/scripts/account-import-strategies`, and the `args` will be passed to the member of the `strategies` array whose key matches the strategy string. Strategies return private key hex strings, and are used by the metamask-controller to create a new keyring, and select that new account, before calling back. This also implements @frankiebee's idea of showing the imported account when it's been imported (my oversight!). This commit only moves us to this architecture, keeping feature parity for private key import, but has some untested code for importing geth-style JSON files as well!
* Allow importing of private key stringsDan Finlay2017-01-182-6/+84
| | | | | | | | Fixes #1021 A top-right menu item now allows `Account Import`. It has a menu (with one item for now) that allows importing a private key string. Errors are displayed, and a success navigates the user to their account list, where the imported account is labeled `LOOSE`.
* Develop import subviewsDan Finlay2016-11-053-15/+84
|
* Add import account placeholder templateDan Finlay2016-11-051-0/+70