-
Notifications
You must be signed in to change notification settings - Fork 79
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
cli: implement wallet import/export functionality #685
Conversation
They are set during account creation and open+decrypt is expected to put account in the same state.
When we are opening a file, it is expected that it will be rewritten, not appended to a already existing wallet.
Codecov Report
@@ Coverage Diff @@
## master #685 +/- ##
==========================================
+ Coverage 65.01% 65.05% +0.03%
==========================================
Files 125 125
Lines 10820 10869 +49
==========================================
+ Hits 7035 7071 +36
- Misses 3505 3516 +11
- Partials 280 282 +2
Continue to review full report at Codecov.
|
Also do not ignore errors from `terminal.ReadPassword`.
(*Account).ConvertMultisig() will convert an existing account into a multisig one.
One thing we're missing here: |
Other than that it's fine, we may probably tune the |
@roman-khimov is it somehow different from what is done in 5a727ca ? |
One positional argument can be provided. If so, it is interpreted as address and only WIFs corresponding to it are exported. If address is provided '--decrypt' flag can be specified to export unencrypted WIFs.
Yeah, that's what it is, somehow I've missed that this change actually fixes |
Support some of the capabilities outlined in #26 .
Fix some minor bugs.