Cardano on the Rocks – an Energy efficient Staking Pool

img

Compile The Node From Source

There are pre-built binaries for most used operating system platforms, but you can also compile and build from the source code yourself.

On your RockPi’s Linux command line console type

#install tools and modules
sudo apt-get install pkg-config

#install Rust language
curl https://sh.rustup.rs -sSf | sh
# select 1 default

# configure your users shell path for Rust
# To get started you need Cargo's bin directory ($HOME/.cargo/bin) in your PATH
# environment variable. Next time you log in this will be done automatically.
# To configure your current shell run source $HOME/.cargo/env

From here, clone the repository, compile the RUST code and copy the resulting binaries into a subfolder which will contain your node from hereon forth.

cd ~
mkdir jormungandr-node
mkdir gitprojects
cd gitprojects
git clone https://github.com/input-output-hk/jormungandr --recursive
cd ~/gitprojects/jormungandr && cargo build --release &&
cd target/release/ &&
cp jormungandr ../../../jormungandr-node/ &&
cp jcli ../../../jormungandr-node/ &&
cd ../../../jormungandr-node/