⚠️ Do not do this for mainnet, this is a quick and insecure procedure that it's fine for Testnet only
- Download and install https://github.com/wealdtech/ethdo and https://github.com/ethereum/staking-deposit-cli
- Connect your Metamask to Holesky and generate a new address
- Use the address to get some 33 HolETH from https://holesky-faucet.pk910.de/
- Generate a new keystore for your validator using the
staking-deposit-cli
tool. Replace0xADDR
by your metamask address
./deposit.sh new-mnemonic --chain holesky --execution_address 0xADDR --num_validators 1
You will need to enter a password and you will get a mnemonic phrase. They will be referred as PASSWD and MNEM from now on
- Import the wallet in
ethdo
:
ethdo wallet create --type hd --mnemonic "MNEM" --wallet-passphrase "PASSWD" --wallet wallet
- Create the validator account in
ethdo
ethdo account create --account wallet/validating-0 --path m/12381/3600/0/0/0 --wallet-passphrase "PASSWD" --passphrase "PASSWD"
- Create the deposit data:
ethdo validator depositdata --validatoraccount wallet/validating-0 --depositvalue 32Ether --passphrase "PASSWD" --forkversion 0x01017000 --withdrawaladdress "0xADDR" --raw
- Execute the transaction in Metamask
Check "Show hex data" in Settings -> Advanced
Create a new Send transaction in Metamask:
- Destination:
0x4242424242424242424242424242424242424242
which is the Holesky deposit contract - Amount: 32 ETH
- Hex Data:
0x...
(extract it from output of step7
. Only copy the number starting with 0x)
- Import the validators into
Nimbus
cd /path/to/staking-deposit-cli
/path/to/nimbus-beacon deposits import --data-dir=/path/to/nimbus/data/
- Wait for 1 epoch (6 minutes) and check your validator at https://holesky.beaconcha.in/validator/PUBKEY
replace PUBKEY with the value obtained from:
ethdo account info --account wallet/validating-0