-
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
A better UX about wallet management #6034
Comments
Happy to take on this one, as I already did the original work for cast wallet import |
@PatrickAlphaC Please provide further details regarding the sponsorship. |
Also having this problem. Does not happen with |
It seems that nobody has took this yet because the spec is not quite clear. The problem is that it is impossible to extract a wallet address from keystore without knowing the password. The same applies for all other wallet types except for private keys passed via CLI arg (for which auto-fetching of sender is already done) Another reason why it is unclear how to fix that is because for Trezor, Ledger and AWS wallets we need a chain_id to be able to use wallet and fetch it's address. But, the chain_id might only be known when the script is ran and newly created fork is started via Thus, those concerns are rising two questions
I believe that nice support of keystores is a very important feature as in my opinion it is one of the best key management methods in terms of balance between convenience, availability and security (less secure than hardware wallets but much better than storing keys in .env) @mattsse what do you think about this? |
@klkvr From my team's perspective, both approaches seem workable. Regarding option (1), if possible, introducing a flag such as As for option (2), defaulting to Ethereum's |
I was very confusing for me at first when running the deploy command with/out "--broadcast". |
Component
Forge, Cast
Describe the feature you would like
Description
I import my private key (from Ganache local blockchain) by typing
then I try to deploy my smart contract using script by typing
I got an error
I add --sender, and it works
Expected Behavior
Additional context
The text was updated successfully, but these errors were encountered: