- bash shell.
- python3 + pip3.
- This repository cloned into YOUR_WORKING_DIRECTORY.
- The casper-node repository cloned into YOUR_WORKING_DIRECTORY.
- The casper-client-rs repository cloned into YOUR_WORKING_DIRECTORY.
- The casper-node-launcher repository cloned into YOUR_WORKING_DIRECTORY.
- The casper-sidecar cloned into YOUR_WORKING_DIRECTORY.
Ensure you are checked out to the correct branch of each of the three repositories above. Generally this will
be dev
(or your working branch recently forked from dev
) for casper-node and casper-client-rs, and main
for
casper-node-launcher.
# Supervisor - cross-platform process manager.
python3 -m pip install supervisor
# Utilities for config file parsing and generation.
python3 -m pip install toml tomlkit
# Rust toolchain and smart contracts - required by casper-node software.
cd YOUR_WORKING_DIRECTORY/casper-node
make setup-rs
cd YOUR_WORKING_DIRECTORY/casper-nctl
cat >> $HOME/.bashrc <<- EOM
# ----------------------------------------------------------------------
# CASPER - NCTL
# ----------------------------------------------------------------------
# Activate NCTL shell.
. $(pwd)/activate
EOM
. $HOME/.bashrc
nctl-compile