💻Sidecar (✔️Install)
The validator sidecar service allows validators to vote on oracle data during the CometBFT consensus process
Install the sidecar
# create the necessary directories
mkdir -p $HOME/.zrchain/sidecar/bin
mkdir -p $HOME/.zrchain/sidecar/keysInstall the binary file
wget -O $HOME/.zrchain/sidecar/bin/zenrock-sidecar https://github.com/Zenrock-Foundation/zrchain/releases/download/v6.91.0/validator_sidecar
chmod +x $HOME/.zrchain/sidecar/bin/zenrock-sidecarCopy zenrock-validators
cd $HOME
git clone https://github.com/zenrocklabs/zenrock-validatorsSet a password for sidecar wallets
read -p "Enter password for the keys: " key_passBuild BLS binary
cd $HOME/zenrock-validators/utils/keygen/bls/
go mod tidy
go buildCreate a BLS key
bls_output_file=$HOME/.zrchain/sidecar/keys/bls.key.json
$HOME/zenrock-validators/utils/keygen/bls/bls --password $key_pass -output-file $bls_output_fileBuild ecdsa binary
Create a ecdsa key
IMPORTANT - to continue, you need to top up the generated ecdsa key with Ethereum Holesky test tokens You can use the faucet - https://stakely.io/faucet/ethereum-holesky-testnet-eth
IMPORTANT - to continue you need to register on https://app.infura.io and get the following endpoints:
mainnet eth: https://xxx
holesky eth: https://xxx
holesky eth: wss://xxx
Set variables
Copy the original configuration files
Change data in config.yaml
Change data in eigen_operator_config.yaml
Create a service file
Don't forget to save the directory $HOME/.zrchain/sidecar/
Last updated