-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Include HW wallets in cast wallet ls #6958
Comments
Hey @mattsse looking at this issue, what is the difference with the current implementation of |
I believe the limitation @lightclient ran into was that wallet ls only targets the local keystores. maybe we add an |
can take this one, I propose following options for
with an
(could also add option for the number of addresses and specific HD path to show) |
This makes sense to me. |
- added new options for list command, default list local keystore --dir (alias to default) List all the accounts in the keystore default directory -l, --ledger List accounts from Ledger hardware wallet -t, --trezor List accounts from Trezor hardware wallet --aws List configured AWS accounts --all List accounts from keystore default directory, hardware wallets and AWS - for ledger display 2 addresses for each ledger live and legacy HD - for trezor display 2 addresses for trezor live HD path - for AWS display all keys configured - unit tests
made a draft PR #7123 looking for comments |
…et ls (#7123) * issue #6958: Include HW wallets in cast wallet ls * Changes after review: - use annotations for builder defaults - handle Local signer in available_senders, return Ledger addresses for legacy derivation, add doc - fix condition to list files in keystore dir - simplify creation of keystore default directory * Changes after review: use list_signers macro * Changes after review: - remove help_headings - remove match and use ? as dir already exists - remove async from list_local_senders fn - move Ok(senders) at the bottom of available_senders fn - list_senders doesn't need match as available_senders cannot fail - make max_senders arg for ls command , default 3 * Nit * Remove list_senders fn, move logic in macro * Nit macro
Originally posted by @lightclient in #656 (comment)
The text was updated successfully, but these errors were encountered: