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

oasis wallet import add non-interactive mode #213

Closed
matevz opened this issue Mar 26, 2024 · 0 comments · Fixed by #288
Closed

oasis wallet import add non-interactive mode #213

matevz opened this issue Mar 26, 2024 · 0 comments · Fixed by #288
Assignees
Labels
enhancement New feature or request ui Improve user experience wallet Wallet-related operations

Comments

@matevz
Copy link
Member

matevz commented Mar 26, 2024

Currently, the only way to import an existing account is using the interactive mode. Sometimes you poses a bunch of private keys you would like to import and examine. In this case something similar to oasis wallet create would be useful. e.g.

oasis wallet import my_imported_raw_account --algorithm secp256k1-raw --secret 0x123456890abcdef1234569abcdef
oasis wallet import my_imported_mnemonic_account --algorithm secp256k1-bip44 --number 2 --secret "test test test test test test test test test junk"

The secret flag could also be omitted perhaps oasis wallet import <name> [secret] [flags]?

Related #120

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ui Improve user experience wallet Wallet-related operations
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants