> For the complete documentation index, see [llms.txt](https://chain-services.l0vd.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chain-services.l0vd.com/testnets/namada/installation-guide.md).

# Installation

### Manual node setup

If you want to setup Namada fullnode manually follow the steps below

#### Update and upgrade

```
sudo apt update && sudo apt upgrade -y
```

#### Install GO

```
if ! [ -x "$(command -v go)" ]; then
  ver="1.20.3"
  cd $HOME
  wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz"
  sudo rm -rf /usr/local/go
  sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz"
  rm "go$ver.linux-amd64.tar.gz"
  echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile
  source ~/.bash_profile
fi
```

## Install rust

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

## Install protobuf

```
sudo apt update
sudo apt install protobuf-compiler
```

#### Setting up vars

You should replace values in <>\
\<YOUR\_MONIKER> Here you should put name of your moniker (validator) that will be visible in explorer\
\<YOUR\_WALLET> Here you shoud put the name of your wallet

```
NAMADA_WALLET="<YOUR_WALLET_NAME>"
NAMADA_NODENAME="<YOUR_MONIKER>"
NAMADA_CHAIN_ID="public-testnet-15.0dacadb8d663"
EMAIL="<YOUR EMAIL>"
```

```
echo "
export NAMADA_WALLET=${NAMADA_WALLET}
export NAMADA_NODENAME=${NAMADA_NODENAME}
export NAMADA_CHAIN_ID=${NAMADA_CHAIN_ID}
export EMAIL=${EMAIL}
" >> $HOME/.bash_profile

source $HOME/.bash_profile
```

## Install binaries

```
git clone https://github.com/anoma/namada.git
cd namada
git checkout v0.28.2
make install
sudo chmod +x ~/.cargo/bin/namada*
sudo mv ~/.cargo/bin/namada* /usr/local/bin
```

## Install CometBft

```
cd $HOME; mkdir cometbft
wget https://github.com/cometbft/cometbft/releases/download/v0.37.2/cometbft_0.37.2_linux_amd64.tar.gz
tar xvf cometbft_0.37.2_linux_amd64.tar.gz -C ./cometbft
chmod +x cometbft/cometbft
sudo mv cometbft/cometbft /usr/local/bin/
rm -rf cometbft*
```

## Initialize your Node

```
namada client utils join-network --chain-id $NAMADA_CHAIN_ID
```

## Create Service

```
sudo tee /etc/systemd/system/namadad.service << EOF
[Unit]
Description=Namada Node
After=network.target
[Service]
User=$USER
WorkingDirectory=$HOME/.local/share/namada
Type=simple
ExecStart=/usr/local/bin/namada --base-dir=$HOME/.local/share/namada node ledger run
Environment=NAMADA_CMT_STDOUT=true
Environment=TM_LOG_LEVEL=p2p:none,pex:error
RemainAfterExit=no
Restart=on-failure
RestartSec=10s
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
```

## Enable your Node

```
sudo systemctl enable namadad.service
sudo systemctl daemon-reload
```

## Sync node using [Snapshot](https://github.com/L0vd/chain-services/blob/main/testnets/namada/installation-guide/testnets/namada/snapshot/README.md)

## Starting a validator

### 1. Add a new key

```
namadaw key gen --alias "${NAMADA_WALLET}"
```

#### (OR)

### 1. Recover your key

```
namadaw key derive --alias "${NAMADA_WALLET}"
```

## 2. Create validator

{% hint style="info" %}
Wait until the node is synchronized.
{% endhint %}

```
namadac  init-validator \
 --alias "${NAMADA_NODENAME}" \
 --account-keys "${NAMADA_WALLET}" \
 --signing-keys "${NAMADA_WALLET}" \
 --commission-rate 0.5 \
 --max-commission-rate-change 0.05 \
 --email "${EMAIL}"
```

## Stake more tokens to your validator

```
namadac bond \
 --source "${NAMADA_WALLET}" \
 --validator "${NAMADA_NODENAME}" \
 --amount 900
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://chain-services.l0vd.com/testnets/namada/installation-guide.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
