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

--mnemonic flag is required in existing-mnemonic subcommand #43

Open
ank-everstake opened this issue Jul 5, 2024 · 2 comments
Open

Comments

@ank-everstake
Copy link

When you want to generate keys from existing-mnemonic - command fails if you do not provide --mnemonic flag:

./eth-staking-smith existing-mnemonic --withdrawal_credentials 0x0000000000000000000000000000000000000000 --num_validators 1 --chain mainnet
error: The following required arguments were not provided:
    --mnemonic <mnemonic>

USAGE:
    eth-staking-smith existing-mnemonic --chain <chain> --mnemonic <mnemonic> --num_validators <num_validators> --withdrawal_credentials <withdrawal_credentials>

However help states that you can omit this flag and you will be prompted on console:

        --mnemonic <mnemonic>
            The mnemonic that you used to generate your
                            keys. (It is recommended not to use this
                            argument, and wait for the CLI to ask you
                            for your mnemonic as otherwise it will
                            appear in your shell history.)
@mksh
Copy link
Contributor

mksh commented Jul 5, 2024

Thanks for the report, this will be easy to implement, will do -- mnemonic will be either read from stdin, or asked as an input

@ank-everstake
Copy link
Author

@mksh Any updates on the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants