-
Notifications
You must be signed in to change notification settings - Fork 1
2. Node Installation Guide
mchitgarha78 edited this page Sep 19, 2024
·
1 revision
Follow these instructions to install the eigenlayer cli to generate the ECDSA key file for your node:
eigenlayer operator keys create --key-type ecdsa zbtcpython3, cmake, g++ and MCL library for pairing-based BLS cryptography
sudo apt install -y python3 cmake g++
sudo apt install libgmp3-dev
wget https://github.com/herumi/mcl/archive/refs/tags/v1.93.zip
unzip v1.93.zip
cd mcl-1.93
mkdir build
cd build
cmake ..
make
make installwget https://github.com/zellular-xyz/zbtc/archive/refs/tags/latest.zip
unzip latest.zip
cd zbtc-latest
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtCreate an environment file based on the .env.example:
cp .env.example .envThen modify the .env file with the appropriate parameters:
ZBTC_ECDSA_KEY_FILE=~/.eigenlayer/operator_keys/zbtc.ecdsa.key.json
ZBTC_ECDSA_KEY_PASSWORD=[your password for ecdsa key file]
Note
The only required variables to set are the path to ECDSA key file and its password.
Use the following command after creating the .env file as explained above:
python run.py