Nodes

guruGuru
search

Namada - Setup Guide

Stuck? AsktelegramNodes Guru telegram community
Official documentation available here.

Install

Use our script for a quick installation:

wget -q -O namada.sh https://api.nodes.guru/namada.sh && chmod +x namada.sh && sudo /bin/bash namada.sh

Set a name for your node and wait for the installation to complete. After full sync go to the next step:

source $HOME/.bash_profile

Create a user account:

namada wallet address gen --alias my-account

You can find out your wallet address using the command:

namada wallet address find --alias my-account

Get tokens in the faucet.
Check balance, if everything is okay go to the next step:

namada client balance --token NAM --owner my-account

Initialising a validator account::

namada client init-validator \
  --alias $VALIDATOR_ALIAS \
  --account-keys my-account \
  --signing-keys my-account \
  --commission-rate 0.1 \
  --max-commission-rate-change 0.1

Bond token to your validator:

namada client bond \
  --validator $VALIDATOR_ALIAS \
  --amount 1000

If you get an error “The address doesn’t belong to any known validator account” try again in a few epochs.

Additional

You can check the node logs with the command:

journalctl -u namadad -f -o cat

Restart node:

systemctl restart namadad

Check your node status:

curl localhost:26657/status

Check node synchronization, if results false – node is synchronized

curl -s localhost:26657/status | jq .result.sync_info.catching_up

Ports used:

26656, 26657, 26658

Remove node:

systemctl stop namadad
systemctl disable namadad
rm -rf ~/namada ~/.namadad /etc/systemd/system/namadad.service