foundry-rs / foundry-rs/foundry

feat: allow `cast wallet` to register Ledger/other HW wallets

Open
#11,439 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.