Download Source / Environment Setup

Download Substratum

How To
We build and run tests for SubstratumNode using `bash` scripts located in the `ci` directory of each sub-project.

To clean, build, and run tests for all sub-projects in one step, start at the top level of the project (the directory is named `SubstratumNode`).

For Linux
First, please note that at a few points during the process, the build will stop and ask you for your password. This is because some of the integration tests need to run with root privilege, to change DNS settings, open low-numbered ports, etc. (It is possible but not easy to build without giving root privilege for running integration tests.)

Open a standard terminal window and type:

$ ci/



For Raspberry Pi

cd SubstratumNode
edit ci/
comment out DNS UTILITY & NODE UI
grep -rl "cargo test --release" ./ | xargs sed -i "s/cargo test --release.*/cargo build --release/g"
cd ~
git clone
export PATH="$(pwd)/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin:${PATH}"
cd ~/SubstratumNode

If error, comment out sccache lines in (e.g #cargo install sccache #export RUSTC_WRAPPER=sccache)