Search…
Run Validator via CLI
We have created a CLI tool that receives your validator keystore file and the selected cluster of operators as inputs, distributes your validator key to encrypted keyshares and outputs the transaction payload data required to broadcast and register your validator to the SSV network.
GitHub:
1
# Clone the project
2
git clone https://github.com/bloxapp/ssv-web.git
3
4
# Install dependencies
5
yarn install
6
7
# Link the bin file command
8
yarn link
9
10
# Run
11
ssv-cli --filePath=<keyStore> --password=<ketStore password>
12
--operators=[<base64 operator key>]
Copied!
Input parameters:
Parameters
Type
Description
Validator keystore file path
string
Your keystore file containing your validator’s encrypted private key
Encryption password
string
Your keystore file password
Operators public keys
base64
List of all operator’s public keys
Return values:
  • registerValidator() transaction payload data.

Register Validator to the SSV Network

To signal your operator cluster to start operating your validator, you must register your validator to the network by broadcasting a transaction to the SSV network smart contract with your validator public key and the operator's encrypted keyshares.
Contract Address
0x687fb596F3892904F879118e2113e1EEe8746C2E (SSVNetwork.sol)
Function
registerValidator(address _ownerAddress, bytes _publicKey, bytes[] _operatorPublicKeys, bytes[] _sharesPublicKeys, bytes[] _encryptedKeys)
Parameter
Type
Description
ownerAddress
address
Validator’s owner address (for management purposes).
publicKey
bytes
The public key of the validator.
operatorPublicKeys
bytes[]
List of all operator’s public keys.
sharesPublicKeys
bytes[]
List of all keyshares public keys
_encryptedKeys
bytes[]
List of all keyshares encrypted private keys.
Last modified 4mo ago