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

Open
matevz opened this issue Mar 26, 2024 · 0 comments
Open

oasis wallet import add non-interactive mode #213

matevz opened this issue Mar 26, 2024 · 0 comments
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

@matevz matevz added enhancement New feature or request ui Improve user experience wallet Wallet-related operations labels Mar 26, 2024
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

No branches or pull requests

1 participant