partial-deposit
Description
Creates a deposit file with an existing validator key. A validator key can be created using the new-mnemonic or the existing-mnemonic commands. Can be used to initiate a validator or deposit to an existing validator. If you wish to create a validator with 0x00 credentials, you must use the new-mnemonic or the existing-mnemonic command.
Optional Arguments
-
--chain
: The chain to use for generating the deposit data. Options are: 'mainnet', 'sepolia', 'holesky', 'mekong', or 'ephemery'. -
--keystore
: The keystore file associating with the validator you wish to deposit to. -
--keystore_password
: The password that is used to encrypt the provided keystore. Note: It's not your mnemonic password. -
--amount
: The amount you wish to deposit in ether. Must be at least 1 and can not have precision beyond 1 gwei. Defaults to 32 ether. -
--withdrawal_address
: The withdrawal address of the existing validator or the desired withdrawal address. -
--compounding / --regular-withdrawal
: Generates compounding validators with 0x02 withdrawal credentials for a 2048 ETH maximum effective balance or generate regular validators with 0x01 withdrawal credentials for a 32 ETH maximum effective balance. Use of this option requires a withdrawal address. This feature is only supported on networks that have undergone the Pectra fork. Defaults to regular withdrawal. -
--output_folder
: The folder path for thedeposit-*
JSON file. -
--devnet_chain_setting
: The custom chain setting of a devnet or testnet. Note that it will override your--chain
choice. This should be a JSON string containing an object with the following keys: network_name, genesis_fork_version, exit_fork_version and genesis_validator_root.
Output file
A successful call to this command will result in one deposit data file created.
Example Usage
./deposit partial-deposit --keystore /path/to/keystore.json