Allow custom deposit amount

This commit is contained in:
Paul Hauner
2019-11-25 12:02:48 +11:00
parent 8347ddda96
commit 837434dd5f
2 changed files with 52 additions and 30 deletions

View File

@@ -10,6 +10,15 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
.subcommand(
SubCommand::with_name("new")
.about("Create a new Ethereum 2.0 validator.")
.arg(
Arg::with_name("deposit-value")
.short("v")
.long("deposit-value")
.value_name("GWEI")
.takes_value(true)
.default_value("32000000000")
.help("The deposit amount in Gwei (not wei). Default is 32 eth."),
)
.arg(
Arg::with_name("send-deposits")
.long("send-deposits")