Run Gafi Node Local

Following are the steps to help you build the Gafi node on Linux:

Setup environment

Install dependencies

sudo apt update

sudo apt install clang

sudo apt-get install build-essential libssl-dev

Install Rust

curl -sSf | sh

source ~/.cargo/env

Rust toolchain

rustup default stable

rustup update

Rust nightly

rustup update nightly

rustup target add wasm32-unknown-unknown --toolchain nightly


rustc --version

rustup show


tar -zxvf cmake-3.20.0.tar.gz
cd cmake-3.20.0
sudo make install
cmake --version

Build Gafi

Clone Gafi

git clone
cd gafi/

Test Gafi

make test

Build Gafi Node

make build-dev

Run Gafi Local

make run-dev

Last updated