Skip to main content

Usage

Setting up a validator

Using EthStaker Deposit CLI

  1. Install deposit.
  2. Run either deposit new-mnemonic or deposit existing-mnemonic depending on whether you want to use your mnemonic
  3. Generate one or more validator public keys without specifying a withdrawal address
  4. Recover the public keys with jq .pubkey validator_keys/keystore*
  5. Mint Stake NFTs to your wallet using the mint page. Take note of the withdrawal address of your NFT.
  6. Run deposit existing-mnemonic again and specify the token's withdrawal address. You can freely choose whether to enable compounding.
  7. Deposit using the deposit page. use the second set of deposit_data.json files.

Exiting a validator and recovering its stake

Using the web app

  1. Ensure you are connected with the wallet holding the Stake NFT.
  2. Click the "request full withdrawal button" on the right and execute the transaction.
  3. It will take some time, normally up to a week, for the funds to go through the withdraw queue and be available on the execution layer.
  4. Once the funds have moved to the "execution layer balance" on the left, click the sweep button. The transaction should deliver the ETH or GNO directly to your wallet.

Using a block explorer

  1. Connect using the wallet holding the Stake NFT.
  2. Call the requestFullWithdrawal() function with the token id as an argument.
  3. It will take some time, normally up to a week, for the funds to go through the withdraw queue and be available on the execution layer.
  4. You can view the validator by getting validatorKeyOf() and consulting a beacon chain explorer. You can also check the execution layer balance directly using the executionLayerBalanceOf() function.
  5. Once the funds have reached the execution layer, you can run pullExecutionLayerBalance(). The transaction should deliver the ETH or GNO directly to your wallet.