Skip to content

Point your validator at the Coffer

Everything a Coffer does rests on one link, your validator’s withdrawal credentials point at the Coffer’s address. Withdrawals authenticate against the address embedded in the credentials, so any mismatch makes the stake unreachable for the Coffer. The address is final once set on the execution layer, which is why this page exists.

Section titled “The recommended path, fresh keys and a direct 0x02 deposit”

Generate your validator key with the ethstaker deposit CLI and enter its public key in the app’s create wizard, which predicts the Coffer’s address from that key and the owner, Your Coffer address. Then make the deposit data for that same key with the CLI’s existing-mnemonic command, with the predicted address as the withdrawal address and 0x02 compounding credentials. Deposit only the deposit data that names the predicted address. A key generated after the prediction would not belong to this Coffer. Deposit the ETH your terms need, at least 32 and at most 2048. For a new Coffer that is the Amount (ETH) you set in the create wizard.

Once the Coffer exists, the app asks for a deposit of what the Coffer promises, its issue size plus what its bonds are owed, divided by the share of the stake your buffer leaves, and at least 32 ETH. A Coffer that promises 31.36 ETH with a 2 percent buffer asks for 32 ETH. An amount above 2048 ETH is more than one validator can back, so lower the issue size in Change Terms before you deposit.

Which comes first, the deposit or the deploy, does not matter. You can deposit first and deploy after, or deploy first and deposit after, the predicted address is the same either way as long as the owner and the public key match.

Make the deposit data for the network you deposit on. Until your key has a validator, the beacon chain checks the signature of each deposit for it and drops every deposit whose signature is invalid, for example deposit data made for another network. The ETH of a dropped deposit is lost. If no deposit for the key has a valid signature, the Coffer stays at Status Unknown. A new deposit with a valid signature for the same key still creates the validator.

A validator with 0x00 credentials performs the one time change to 0x01 with the Coffer as the address, then converts to 0x02 through the app. Until the change lands the Coffer reads Missing Credentials, and none of the validator’s stake counts as its backing. A validator whose 0x01 credentials already point somewhere else cannot be moved and needs fresh keys, see Before you create a Coffer.

An execution layer withdrawal address can never be changed. If your credentials point anywhere but the Coffer, the Coffer can never withdraw the stake, and no bond sold on that Coffer is backed by it. The Coffer reads Key/Address Mismatch, and the only fix is a new Coffer with keys that point at it.

A deposit shows as pending on the beacon chain for at least two epochs, about thirteen minutes. The chain admits a limited amount of deposit value per epoch, so under load a deposit waits in the deposit queue for longer, at times for weeks. Once the deposit is processed, the new validator becomes active in about an hour while the chain finalises.