Eth2 Usage
To get started creating eth Validators, we expect you will follow a process like this:
-
Deploy eth Cluster from the Coinbase Cloud platform.
-
Generate an API Token on the platform, with create access permissions for the eth Validator Management API.
-
Generate an eth account to use as the Withdrawal address for Validators.
-
Identify an eth1 account with enough ETH to fund the desired number of 32-ETH-backed Validators, and enough ETH for the transaction fees to submit one transaction per Validator being allocated.
-
POST a request to the
/eth2/v1/validators
endpoint, specifying the number of Validators desired and the rest of the required data, requesting deposit data (DepositData
) for each Validator; capture theallocationID
returned. -
Poll
/eth2/v1/allocations/\<allocationID\>
, and wait for the result to indicatedone = true
completion and supply theDepositData
for each allocated Validator. -
Generate and submit eth1 Deposit Contract transactions for each
DepositData
returned. -
Poll
/eth2/v1/validators/\<validatorID\>
to monitor the life-cycle progression of any Validator.