Chain ID Latest Version Tag Custom Port
shielded-expedition.88f17d1d14 v0.32.1 n/a

Namada project officially supports Ubuntu 22.04 and newer due to dependency on glibc v2.33+.

Download CometBFT

mkdir -p $HOME/.local/bin
curl -sL https://github.com/cometbft/cometbft/releases/download/v0.37.2/cometbft_0.37.2_linux_amd64.tar.gz | tar -C $HOME/.local/bin -xzf- cometbft

Install Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source "$HOME/.cargo/env"

Update system and install build tools

sudo apt -q update
sudo apt -qy install make git-core libssl-dev pkg-config libclang-12-dev libudev-dev build-essential protobuf-compiler
sudo apt -qy upgrade

Build Namada

cd $HOME
rm -rf shielded-expedition.88f17d1d14
git clone -b v0.32.1 https://github.com/anoma/namada.git shielded-expedition.88f17d1d14
cd shielded-expedition.88f17d1d14
make build-release
for BIN in namada namadac namadan namadaw; do install -m 0755 target/release/$BIN $HOME/.local/bin/$BIN; done

Create SystemD service unit

sudo tee /etc/systemd/system/namada.service > /dev/null << EOF
[Unit]
Description=Namada node
After=network-online.target

[Service]
User=$USER
ExecStart=$HOME/.local/bin/namadan ledger run
Restart=always
RestartSec=10
LimitNOFILE=65535
Environment="CMT_LOG_LEVEL=p2p:none,pex:error"
Environment="NAMADA_CMT_STDOUT=true"
Environment="NAMADA_LOG=info"
Environment="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:$HOME/.local/bin"

[Install]
WantedBy=multi-user.target
EOF

sudo systemctl daemon-reload
sudo systemctl enable namada.service

Initialize the node

export PATH=$HOME/.local/bin:$PATH
namadac utils join-network --chain-id shielded-expedition.88f17d1d14 # --genesis-validator bengt

export CUSTOM_PORT=266
sed -i \
  -e "s|^proxy_app = \"tcp://127.0.0.1:26658\"|proxy_app = \"tcp://127.0.0.1:${CUSTOM_PORT}58\"|" \
  -e "s|^laddr = \"tcp://127.0.0.1:26657\"|laddr = \"tcp://127.0.0.1:${CUSTOM_PORT}57\"|" \
  -e "s|^laddr = \"tcp://0.0.0.0:26656\"|laddr = \"tcp://0.0.0.0:${CUSTOM_PORT}56\"|" \
  -e "s|^prometheus_listen_addr = \":26660\"|prometheus_listen_addr = \":${CUSTOM_PORT}66\"|" \
  $HOME/.local/share/namada/shielded-expedition.88f17d1d14/config.toml

Start service and check the logs

sudo systemctl start namada.service && sudo journalctl -u namada.service -f --no-hostname -o cat