Skip to main content

Static Build

info

This guide follows the same setup as our Pi-Node guide and image so you may need to adjust sections based on your node's environment and setup.

success

Current Official Cardano Node Version: 8.9.3

Overview 🗒

  • Download Cardano Node Static 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

Download the cardano-node & cli

Static binaries and Cardano node configuration files are provided by [ZW3RK] pool🙏 and can be found at our Github repository.

>_ Terminal
wget -O 8_1_2.zip https://github.com/armada-alliance/cardano-node-binaries/blob/main/static-binaries/8_1_2.zip?raw=true

Extract the content from the zip file.

>_ Terminal
unzip 8_1_2.zip

Check if cardano-node is running already

caution

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 using htop 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.

>_ Terminal
cardano-service status
cardano-service stop
info

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

>_ Terminal
mv cardano-node/* ~/.local/bin

Check your cardano-node version

>_ Terminal
cardano-node --version

Output:

>_ Terminal
cardano-node 8.9.3 - linux-aarch64 - ghc-8.10
git rev 0000000000000000000000000000000000000000

Check your cardano-cli version

>_ Terminal
cardano-cli --version

Output:

>_ Terminal
cardano-cli 8.9.3 - linux-aarch64 - ghc-8.10
git rev 0000000000000000000000000000000000000000

Download & Replace the Cardano node configuration files (Optional)

info

This step is not needed every time you update your node, typically you only need to update/replace config files after hard fork events when moving into new eras of the Cardano blockchain.

>_ Terminal
cd $NODE_FILES
wget https://book.world.dev.cardano.org/environments/mainnet/config.json
wget https://book.world.dev.cardano.org/environments/mainnet/byron-genesis.json
wget https://book.world.dev.cardano.org/environments/mainnet/shelley-genesis.json
wget https://book.world.dev.cardano.org/environments/mainnet/alonzo-genesis.json
wget https://book.world.dev.cardano.org/environments/mainnet/topology.json
wget https://book.world.dev.cardano.org/environments/mainnet/conway-genesis.json

Download Database snapshot

info

Go to cnsapshots if you want to download a Snapshot of the Database for whatever network you need. This will greatly reduce time to sync the chain for your node if using Mainnet or Preproduction networks.

>_ Terminal
mv /path/to/downloaded/snapshot/db $NODE_HOME

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

>_ Terminal
cardano-service start

Wait a few seconds or so then check the status

>_ Terminal
cardano-service status