foundry-rs / foundry-rs/foundry
feat: allow `cast wallet` to register Ledger/other HW wallets
Open
C-cast
T-feature
- Dominant language
- Rust
- Stars
- 10.6k
- Forks
- 2.6k
- Avg merge
- 18h 20m
- Merged PRs (30d)
- 510
Description
### Component
Cast
### Describe the feature you would like
It would be a QoL improvement to be able to add/register a Ledger wallet with a mnemonic index with `cast wallet`, so that it could then be used with `forge script --account`.
Reasoning:
- It saves the user from having to remember the mnemonic index
- `cast wallet` can cache the public key of the wallet
- When #10632 is implemented, it would also save the user from having to specify the `--sender` flag, since it's cached/can be determined
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.