Searchโ€ฆ
Dynamic Build
We at the Armada Alliance actively build the required software packages needed to run a Cardano stake pool node on ARM-based computers like the Raspberry Pi or Apple's MacMini M1.

To use our dynamic arm64 cardano-node build you must have libsodium installed.

Current Official Cardano Node Version: 1.30.1

Overview
๐Ÿ—’

    Check if libsodium is installed on the local machine
      Build libsodium if not installed already
    Download Cardano Node Dynamic build & configuration file
    Extract the file's content
    Check if you already have Cardano Node service running
      Safely shutdown your Cardano node if it is running
    Replace the old binaries with the new cardano-node and cardano-cli
    Check cardano-node and cli version is updated to the current version
    Replace old configuration files with new ones (if needed)
    Restart your Cardano Node
    Check that node has started properly

Building Libsodium

Check if libsodium is already installed first.
1
which libsodium
Copied!
If this returns no output you need to install libsodium.

Instructions to install libsodium

Create a working directory for your builds:
1
mkdir -p ~/src
2
cd ~/src
Copied!
Download and install libsodium:
1
git clone https://github.com/input-output-hk/libsodium
Copied!
1
cd libsodium
2
git checkout 66f017f1
Copied!
1
./autogen.sh
Copied!
1
./configure
Copied!
1
make
2
sudo make install
Copied!
Add the following to your .bashrc file and source it:
1
echo "export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"" >> ~/.bashrc
2
โ€‹
3
echo "export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"" >> ~/.bashrc
4
โ€‹
5
source ~/.bashrc
Copied!
For those who run cardano-node as a systemd service, run the following:
1
sudo ldconfig
Copied!
This ensures the system is aware of libsodium (not just at the user level).

Download the cardano-node & cli

Dynamic binaries and Cardano node configuration files provided by SRN pool โ€‹
๐Ÿ™
at our Github repository.
1
wget https://github.com/armada-alliance/cardano-node-binaries/blob/main/dynamic-binaries/1.30.1/cardano-1_30_1-aarch64-ubuntu_2004.zip?raw=true
Copied!
Extract the content from the zip file.
1
unzip cardano-1_30_1-aarch64-ubuntu_2004.zip?raw=true
Copied!

Check if cardano-node is running already

Now we need to make sure we do not have a cardano-node already running. If we do we must shut it down before proceeding.
You can check if you have a cardano-node process already running a few ways like usinghtop or by checking your systemd service.
If you have been following our Pi-Node guide you can check your cardano-node status and stop it using the following commands.
1
cardano-service status
2
cardano-service stop
Copied!
If you use Linux's htop service just check for a processing running starting with cardano-node run and use SIGINT to terminate the process.

Replace the old binaries and config files with the new ones

If you are using the Pi-Node guide and your cardano-node & cli in ~/.local/bin
1
mv cardano-1_30_1-aarch64-ubuntu_2004/cardano-node cardano-1_30_1-aarch64-ubuntu_2004/cardano-cli ~/.local/bin
Copied!

Check your cardano-node version

1
cardano-node --version
Copied!

Output:

1
cardano-node 1.30.1 - linux-aarch64 - ghc-8.10
2
git rev 0fb43f4e3da8b225f4f86557aed90a183981a64f
Copied!

Check your cardano-cli version

1
cardano-cli --version
Copied!

Output:

1
cardano-cli 1.30.1 - linux-aarch64 - ghc-8.10
2
git rev 0fb43f4e3da8b225f4f86557aed90a183981a64f
Copied!

Replace the Cardano node configuration files

We have already downloaded the configuration files needed for three networks mainnet, testnet, and the alonzo-purple testnet.
Mainnet Config
Testnet Config
Alonzo Purple Config
1
mv cardano-1_30_1-aarch64-ubuntu_2004/files/mainnet/* ~/pi-pool/files
Copied!
1
mv cardano-1_30_1-aarch64-ubuntu_2004/files/testnet/* ~/pi-pool/files
Copied!
1
mv cardano-1_30_1-aarch64-ubuntu_2004/files/alonzo-purple/* ~/pi-pool/files
Copied!

Restart the Cardano Node

Now we just need to restart our cardano-node service if you are using our Pi-Node guide use this command
1
cardano-service start
Copied!
Wait a few seconds or so then check the status
1
cardano-service status
Copied!
โ€‹
Last modified 18d ago