Stake ETH

In order to stake ETH with Bloq, follow the steps in this guide.

Staking in Ethereum requires infrastructure, Ether, and carefully following some steps to become a validator and start earning Ether.

While ethereum.org provides a step by step guide on how to become a validatorarrow-up-right, the Bloq platform makes it simpler by providing the infrastructure needed and an API to allow the users easily create validators and start staking.

Requirements

1. Prepare to create a validator

Before starting, ensure you have control on 3 Ethereum 1.0 addresses:

  1. A funding address with at least 32 ETH plus an extra amount to pay for transaction fees.

  2. A withdrawal address to receive the 32 ETH back.

  3. A fee address to collect the transaction fees.

triangle-exclamation

2. Create a validator

To create a validator using the addresses previously defined, call the BloqStake API with the authentication token (created using the steps outlined in authentication.mdarrow-up-right), the withdrawal address, and the fee address.

curl -X POST https://api.bloq.com/staking/ethereum/mainnet/validators \
  -H 'Authorization: Bearer <AUTH_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{
    "withdrawalAddress": "<WITHDRAW_ADDRESS>",
    "feeAddress": "<FEE_ADDRESS>"
  }'

The response to the call will include the data required to create the 32 ETH deposit transaction:

The response includes the pubkey of the validator and other status information. That key can be used to check the status in the beaconcha.inarrow-up-right website.

3. Initiate the deposit

With the depositData provided, create, sign and transmit the transaction to the Ethereum PoW network. Using web3.js, doing so will look like this:

Once the transaction is confirmed, the Beacon Chain will process it and issue the 32 ETH in the PoS chain. Then, the validator will start attesting new blocks.

Last updated