You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to generate the seed phrase non interactively, but I get the error Error: no such option: --non_interactive, as well the --mnemonic_language seems to not work tried English, english, 3 but still asking interactively for the language
First off, you didn't specify which version of the tool you're using, please include that.
There are several issues with your command i think.
Order matters: staking-deposit-cli [OPTIONS] COMMAND [ARGS]. You need to provide both options, thus: staking-deposit-cli --language English --non_interactive new-mnemonic and then the args.
The execution_address you provide is of an incorrect format. While it is valid hexadecimal, it's of the incorrect length; it should be 42 characters (including the 0x prefix).
Not providing --num_validators. This should be a positive integer greater than 0.
Not providing --keystore_password. This must be of at least length 8.
I ran this as a test: staking-deposit-cli-v2.7.0 --language English --non_interactive new-mnemonic --mnemonic_language english --chain mainnet --eth1_withdrawal_address 0x0000000000000000000000000000000000000000 --folder ./tmp/derp --num_validators 1 --keystore_password aaaaaaaa
However, in testing, even with --non_interactive, the tool still requires confirmation of the mnemonic by typing it back. I don't have time to dig deeper and figure out if this is intentional or can be avoided somehow. You could perhaps automate it with a tool like expect, but that seems not entirely ideal either. Alternatively, you could use Trezor's python-mnemonic. If you pass the mnemonic it generates (first save the mnemonic to a file, read it back in from the file to ensure you have it saved) you can then use it to generate the keystore and deposit data using the existing-mnemonic command. I've tested this and got that working.
I would like to generate the seed phrase non interactively, but I get the error
Error: no such option: --non_interactive
, as well the--mnemonic_language
seems to not work tried English, english, 3 but still asking interactively for the languagecmd
docker run -it --rm -v ./app:/app/ ethereum/staking-deposit-cli new-mnemonic --mnemonic_language=english --chain holesky --execution_address 0x18E83a5a2c47a85103fffffffffffff --folder=/app/validator_keys --non_interactive
The text was updated successfully, but these errors were encountered: