The first stage, referred to as the “initialization ceremony”, is responsible for the initial configuration of the pools’ validators. This is done by generating and distributing the validator keys into KeyShares and constructing the pool’s validator registry for later use. This includes bootstrapping funds to the staking pool with the required SSV balance to cover the operational costs.
The ceremony is initially performed in advance, but could also be iterated upon when required, e.g., when demand exceeds supply and additional validators are needed.
The ceremony is performed in 5 steps:
For ssv.network Operators to operate your validator(s), you must supply them with your validator keys.
The tool will output a set of keystore files for each of the validators and a deposit file that aggregates the required deposit data for their activation on the beacon chain.
- The keystore file will be required to extract your validator key in the 3rd step - “validator key distribution”.
- From the deposit file you must extract and store the following data in your pool’s validator registry for each of your validators during the 4th step - “validator registry setup”:
Deposit File Output Example
You can select your preferred pool operators from the list of ssv.network operators.
Operators must be chosen in batches of 4 for each of your validators. The same group of operators can be used for all of your validators, or you can utilize different groups to increase diversification.
For each chosen operator, the pool manager must fetch their network assigned id and its corresponding key.
- Operator ids will be required when storing your validator data in their pool's validator registry for each of their validators during the 4th step - “validator registry setup”.
- Operator ids & keys will be required to distribute your validator keys into KeyShares during the 3rd step - “validator key distribution”.
r page in ssv.network explorer
To assign validator operation to the selected operators, the pool’s validator(s) keys must be distributed into corresponding KeyShares.
To do this, gather the keystore files you generated during the 1st step - “validator key generation” and the operator ids & keys fetched during the 2nd step - “pool operators selection”. Then use the SSV Key Distributor tools to extract your validator’s key and distribute them to KeyShares.
The tools will output the following set of variables which are required to store in your pool’s validators registry for each of your validators during the 4th step - “validator registry setup”:
In order to maintain and add validators to your pool according to user demand, a registry of validators needs to be created. You must construct a registry of your pool validators within your staking pool contract for them to be programmatically activated as new stakers ETH deposits are pooled.
For each of your future pool validators, you must store the following data:
- Validator public key - provided in the validator keystore and deposit files generated during the 1st step - “validator key generation” and also by the “SSV Key Distributor” tool during the 3rd step - “validator key distribution”.
- Signature - provided in the deposit file generated during the 1st step - “validator key generation”.
- Deposit data root - provided in the deposit file generated during the 1st step - “validator key generation”.
- Operator ids - fetched during the 2nd step - “pool operators selection”.
- Validator public shares - provided by the “SSV Key Distributor” tool during the 3rd step - “validator key distribution” (sharePublicKeys).
- Validator encrypted shares - provided by the “SSV Key Distributor” tool during the 3rd step - “validator key distribution” (shareEncrypted).
The pool manager contract must be funded with a sufficient ETH and SSV balance to cover its validators’ future registration to the beacon chain (deposits) and operational costs on the ssv network (see validator funding).
A validator’s operational costs can be affected by market conditions, resulting in fee changes over time. This means that the cost must be calculated on the fly to ensure operational costs are covered for all validators.
Pool managers should always keep track of validator demand to ensure the manager contract holds a sufficient balance to deposit from, guaranteeing the operation of future validators.
Please note that you could always deposit more balance to your account or withdraw as you see fit.