-
Couldn't load subscription status.
- Fork 0
Node Installation Guide
Follow these instructions to install the eigenlayer cli to generate the BLS and ECDSA key files for your node:
eigenlayer operator keys create --key-type ecdsa zellular
eigenlayer operator keys create --key-type bls zellularpython3, 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/zsequencer/archive/refs/tags/latest.zip
unzip latest.zip
cd zsequencer-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:
ZSEQUENCER_BLS_KEY_FILE=~/.eigenlayer/operator_keys/zellular.ecdsa.key.json
ZSEQUENCER_BLS_KEY_PASSWORD=[your password for ecdsa key file]
ZSEQUENCER_ECDSA_KEY_FILE=~/.eigenlayer/operator_keys/zellular.bls.key.json
ZSEQUENCER_ECDSA_KEY_PASSWORD=[your password for bls key file]
Note
The only required variables to set are the path to BLS & ECDSA key files and their passwords.
Use the following command after creating the .env file as explained above:
python run.pyThe following example runs a local network with 3 nodes and sends 100,000 transactions for sequencing:
python examples/runner.py --test generalTo modify parameters such as the number of nodes, their stake, confirmation threshold percentage, the number of transactions, etc edit the examples/runner.py file.