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/validatorsendpoint, specifying the number of Validators desired and the rest of the required data, requesting deposit data (DepositData) for each Validator; capture theallocationIDreturned. -
Poll
/eth2/v1/allocations/\<allocationID\>, and wait for the result to indicatedone = truecompletion and supply theDepositDatafor each allocated Validator. -
Generate and submit eth1 Deposit Contract transactions for each
DepositDatareturned. -
Poll
/eth2/v1/validators/\<validatorID\>to monitor the life-cycle progression of any Validator.