πŸ‰Sidecar (Oracle)

CR : KJNODES

Clone zenrock-validators repository :

cd $HOME
rm -rf zenrock-validators
git clone https://github.com/zenrocklabs/zenrock-validators

Generate keys :

read -p "Enter password for the keys: " key_pass

Create sidecar directories :

mkdir -p $HOME/.zrchain/sidecar/bin
mkdir -p $HOME/.zrchain/sidecar/keys

Build ecdsa binary:

cd $HOME/zenrock-validators/utils/keygen/ecdsa && go build

Build bls binary :

cd $HOME/zenrock-validators/utils/keygen/bls && go build

Generate ecdsa key :

Generate bls key :

Output :

Top up your wallet address :

Please fund your wallet addresses with Holesky $ETH before proceeding further.

Set operator configuration :

Ensure that you have configured TESTNET_HOLESKY_ENDPOINT, MAINNET_ENDPOINT, ETH_RPC_URL, ETH_WS_URL with your specific values. You can use Quicknode.com to get api keys.

Declare variables :

Copy initial configuration files :

Replace variables in config.yaml :

Replace variables in eigen_operator_config.yaml :

Download sidecar binary :

Create and run sidecar service :

Check the service logs :

Successfull Log examples :

Backup operator config and keys :

To back up your sidecar configuration and keys, ensure you have a copy of the $HOME/.zrchain/sidecar directory.

Last updated