🔌Installation

💻 Hardware Requirements

ComponentsMinimum Requirements

CPU

4

RAM

16 GB

STORAGE

400 GB SSD

Automatic Insallation

pruning: custom: 100/0/10 | indexer: null

source <(curl -s https://raw.githubusercontent.com/MictoNode/warden-protocol/refs/heads/main/warden-menu.sh)

1️⃣ Installation packeges and dependencies

sudo apt update && sudo apt upgrade -y
sudo apt install curl git wget htop tmux build-essential jq make lz4 gcc unzip -y

➡️ Go Installation

cd $HOME
VER="1.23.0"
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"
[ ! -f ~/.bash_profile ] && touch ~/.bash_profile
echo "export PATH=$PATH:/usr/local/go/bin:~/go/bin" >> ~/.bash_profile
source $HOME/.bash_profile
[ ! -d ~/go/bin ] && mkdir -p ~/go/bin

➡️ Set Vars

You can replace 119 with anything you want. Please write 3 digits.

echo "export W_PORT="119"" >> $HOME/.bash_profile
source $HOME/.bash_profile

2️⃣ Install node

cd $HOME
mkdir -p $HOME/.warden/cosmovisor/genesis/bin/
wget https://github.com/warden-protocol/wardenprotocol/releases/download/v0.5.3/wardend_Linux_x86_64.zip
unzip wardend_Linux_x86_64.zip
chmod +x wardend
rm -rf wardend_Linux_x86_64.zip
cd $HOME
mv $HOME/wardend $HOME/.warden/cosmovisor/genesis/bin/
sudo ln -s $HOME/.warden/cosmovisor/genesis $HOME/.warden/cosmovisor/current -f
sudo ln -s $HOME/.warden/cosmovisor/current/bin/wardend /usr/local/bin/wardend -f
go install cosmossdk.io/tools/cosmovisor/cmd/cosmovisor@v1.7.0

➡️ Create a service

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

[Service]
User=$USER
ExecStart=$(which cosmovisor) run start
Restart=on-failure
RestartSec=10
LimitNOFILE=65535
Environment="DAEMON_HOME=$HOME/.warden"
Environment="DAEMON_NAME=wardend"
Environment="UNSAFE_SKIP_BACKUP=true"
Environment="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:$HOME/.warden/cosmovisor/current/bin"

[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable wardend

➡️ Initialize the node

wardend config set client chain-id chiado_10010-1
wardend config set client keyring-backend test
wardend config set client node tcp://localhost:${W_PORT}57
wardend init "change-moniker" --chain-id chiado_10010-1

➡️ Genesis

wget -O $HOME/.warden/config/genesis.json "https://raw.githubusercontent.com/MictoNode/warden-protocol/refs/heads/main/genesis.json"

➡️Addrbook

wget -O $HOME/.warden/config/addrbook.json "https://raw.githubusercontent.com/MictoNode/warden-protocol/refs/heads/main/addrbook.json"

➡️ Gas Settings

sed -i 's|minimum-gas-prices =.*|minimum-gas-prices = "25000000award"|g' $HOME/.warden/config/app.toml

➡️ Port

sed -i.bak -e "s%:1317%:${W_PORT}17%g;
s%:8080%:${W_PORT}80%g;
s%:9090%:${W_PORT}90%g;
s%:9091%:${W_PORT}91%g;
s%:8545%:${W_PORT}45%g;
s%:8546%:${W_PORT}46%g;
s%:6065%:${W_PORT}65%g" $HOME/.warden/config/app.toml
sed -i.bak -e "s%:26658%:${W_PORT}58%g;
s%:26657%:${W_PORT}57%g;
s%:6060%:${W_PORT}60%g;
s%:26656%:${W_PORT}56%g;
s%^external_address = \"\"%external_address = \"$(wget -qO- eth0.me):${W_PORT}56\"%;
s%:26660%:${W_PORT}61%g" $HOME/.warden/config/config.toml

➡️ Peers and Seeds

SEEDS="2d2c7af1c2d28408f437aef3d034087f40b85401@52.51.132.79:26656"
PEERS="d8106774d544591c0dd5b073ac0fd2e481669cf0@warden-testnet-peers.mictonode.com:11956,2d2c7af1c2d28408f437aef3d034087f40b85401@52.51.132.79:26656,fcaffd41eb7e3647fa953607449ff5e371c236b8@195.26.245.67:31656,5461e7642520a1f8427ffaa57f9d39cf345fcd47@54.72.190.0:26656"
sed -i -e "/^\[p2p\]/,/^\[/{s/^[[:space:]]*seeds *=.*/seeds = \"$SEEDS\"/}" \
       -e "/^\[p2p\]/,/^\[/{s/^[[:space:]]*persistent_peers *=.*/persistent_peers = \"$PEERS\"/}" $HOME/.warden/config/config.toml

➡️ Pruning

sed -i -e "s/^pruning *=.*/pruning = \"custom\"/" $HOME/.warden/config/app.toml
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"100\"/" $HOME/.warden/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"10\"/" $HOME/.warden/config/app.toml
sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.warden/config/config.toml

➡️ Snap (unitynodes thanks for snap)

wardend tendermint unsafe-reset-all --home $HOME/.warden
if curl -s --head curl https://snapshots-testnet.unitynodes.com/warden-testnet/warden-testnet-latest.tar.lz4 | head -n 1 | grep "200" > /dev/null; then
  curl https://snapshots-testnet.unitynodes.com/warden-testnet/warden-testnet-latest.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.warden
    else
  echo "no snapshot founded"
fi

➡️ Let's get started

sudo systemctl restart wardend

➡️ Create wallet

wardend keys add 

➡️ Import wallet

wardend keys add  --recover

➡️ Faucet

➡️ Create Validator

save your pubkey

wardend tendermint show-validator
nano /root/validator.json
{
        "pubkey": paste-your-pubkey,
        "amount": "1000000000000000000award",
        "moniker": "MictoNodeGuide",
        "identity": "optional identity signature (ex. UPort or Keybase)",
        "website": "validator's (optional) website",
        "security": "validator's (optional) security contact email",
        "details": "validator's (optional) details",
        "commission-rate": "0.1",
        "commission-max-rate": "0.2",
        "commission-max-change-rate": "0.01",
        "min-self-delegation": "1"
}
wardend tx staking create-validator /root/validator.json \
    --from=wallet-name \
    --chain-id=chiado_10010-1 \
    --gas auto --gas-adjustment 1.6 --fees 250000000000000award \
    -y

➡️ Delegation

wardend tx staking delegate $(wardend keys show wallet-name --bech val -a) amount000000000000000000award \
--chain-id chiado_10010-1 \
--from "wallet-name" \
--gas auto --gas-adjustment 1.6 --fees 250000000000000award \
-y

➡️ Complete deletion

cd $HOME
sudo systemctl stop wardend
sudo systemctl disable wardend
sudo rm -rf /etc/systemd/system/wardend.service
sudo systemctl daemon-reload
sudo rm -f /usr/local/bin/wardend
sudo rm -f $(which wardend)
sudo rm -rf $HOME/.warden
sed -i "/W_PORT_/d" $HOME/.bash_profile

➡️ Block check

local_height=$(wardend status | jq -r .sync_info.latest_block_height); network_height=$(curl -s https://warden-testnet-rpc.mictonode.com/status | jq -r .result.sync_info.latest_block_height); blocks_left=$((network_height - local_height)); echo "Your node height: $local_height"; echo "MictoNode height: $network_height"; echo "Blocks left: $blocks_left"
  • Your node height - the current block of your node

  • MictoNode height - the last block of the network

  • Blocks left - how many blocks your node has left to sync.

Last updated