VALIDEXIS Services
  • 👋 About US
  • 🌐 Supported Networks
  • 🌍 Our Validators
  • 🔐 Validator Security: Our Approach and Protection Measures
    • 🔒Enhancing SSH Security for a Validator
    • 📡 TMKMS for Remote Signing
    • 🔑 Horcrux
    • 🛡️ Protecting Validator from DDoS Attacks
    • 🧩Multi-Factor Authentication (MFA) for a Validator
  • 🚨Monitoring
    • 📊 Node-exporter + Prometheus + Grafana
    • 🕵️ TenderDuty for Node Monitoring
  • 🧵 Setting up connection to IBC with Hermes
  • 🤖CelestiaUltraBot
    • 🏆 Contest
    • 🚀 Getting started
    • 🖥️ Validator monitoring
    • 🔍 Bridge Node Monitoring
    • 👛 Wallet
    • 🛸 AI Troubleshooting
  • 🟢 MAINNETS
    • Celestia
      • 🗂️ API/RPC/gRPC/AddrBook
      • 📸 Snapshot
      • 🔗 Validator Node Installation
        • 🛠️ Upgrade
        • 📜 Useful Commands
      • 💾 Full Node Installation
        • 🛠️ Upgrade
        • 📜 Useful Commands
      • 🌉 Bridge Node Installation
        • 🛠️ Upgrade
        • 📜 Useful Commands
      • 💡 Light Node Installation
        • 🛠️ Upgrade
        • 📜 Useful Commands
    • Zetachain
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
    • Xion
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
    • Nibiru
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
    • Kyve
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
    • Juno
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
    • Agoric
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
    • CosmosHub
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
    • Lava
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
    • Uptick
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
    • Paloma
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
    • Kusama
      • 🗂️ API/RPC
      • 📸 Snapshot
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
    • Polkadot
      • 🗂️ API/RPC
      • 📸 Snapshot
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
      • 🔧 Installing a Polkadot Node Using Kagome
      • 🧪 Benchmarking a Server for Substrate/Polkadot
      • 📘 Monitoring Polkadot Nodes with Prometheus and Alertmanager
      • 🔐 UFW Security Template
    • Starknet
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
    • NYM
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
  • 🟡 TESTNETS
    • Celestia
      • 🗂️ API/RPC/AddrBook
      • 📸 Snapshot
      • 🔗 Validator Node Installation
        • 🛠️ Upgrade
        • 📜 Useful Commands
      • 💾 Full Node Installation
        • 🛠️ Upgrade
        • 📜 Useful Commands
      • 🌉 Bridge Node Installation
        • 🛠️ Upgrade
        • 📜 Useful Commands
      • 💡 Light Node Installation
        • 🛠️ Upgrade
        • 📜 Useful Commands
Powered by GitBook
On this page
  • Automatic Installation
  • Manual Installation
  1. 🟢 MAINNETS
  2. Xion

⚙️ Installation

Chain ID: xion-mainnet-1 | Node Version: v14.0.0 | Custom Port: 162

Recommended Hardware:

Node Type
CPU
RAM
Storage

Mainnet

8

16GB

500GB

Install dependencies

# Update the repositories
sudo apt update && apt upgrade -y
# Install developer packages
sudo apt install -y curl git jq lz4 build-essential
# Install Go
sudo rm -rf /usr/local/go
curl -Ls https://go.dev/dl/go1.23.0.linux-amd64.tar.gz | sudo tar -xzf - -C /usr/local
eval $(echo 'export PATH=$PATH:/usr/local/go/bin' | sudo tee /etc/profile.d/golang.sh)
eval $(echo 'export PATH=$PATH:$HOME/go/bin' | tee -a $HOME/.profile)
echo "export PATH=$PATH:/usr/local/go/bin:/usr/local/bin:$HOME/go/bin" >> $HOME/.bash_profile
source $HOME/.bash_profile
go version

# go version go1.23.0 linux/amd64

Automatic Installation

source <(curl8 -s https://raw.githubusercontent.com/validexis/Xion/main/installmain.sh)

Manual Installation

# Come up with the name of your node and replace it instead <your_moniker>
MONIKER=<your_moniker>
# Download binary files
cd $HOME
rm -rf xion
git clone https://github.com/burnt-labs/xion.git
cd xion
git checkout v14.0.0

make install
xiond version
# Initialize the node
xiond init $MONIKER --chain-id=xion-mainnet-1

xiond config set client chain-id xion-mainnet-1
xiond config set client keyring-backend file
xiond config set client node tcp://localhost:26657
# Download genesis and addrbook
curl -Ls https://ss.xion.nodestake.org/genesis.json > $HOME/.xiond/config/genesis.json 
curl -Ls https://ss.xion.nodestake.org/addrbook.json > $HOME/.xiond/config/addrbook.json

Setup config

# Set seeds and peers
seed="6df32f0e5142861ea9ddfdde0fdb50698bceb760@rpc.xion.nodestake.org:666"
sed -i.bak -e "s/^seed *=.*/seed = \"$seed\"/" ~/.xiond/config/config.toml
peers=$(curl -s https://ss.xion.nodestake.org/peers.txt)
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.xiond/config/config.toml
  
# Set minimum gas price, enable prometheus and disable indexing
sed -i -e "s|^minimum-gas-prices *=.*|minimum-gas-prices = \"0.0001uxion\"|" $HOME/.xiond/config/app.toml
sed -i -e "s/prometheus = false/prometheus = true/" $HOME/.xiond/config/config.toml
sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.xiond/config/config.toml

# Config pruning
sed -i -e "s/^pruning *=.*/pruning = \"custom\"/" $HOME/.xiond/config/app.toml 
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"100\"/" $HOME/.xiond/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"19\"/" $HOME/.xiond/config/app.toml

Set custom ports

You can change value CUSTOM_PORT=162 To any other ports

CUSTOM_PORT=162
sed -i -e "s%^proxy_app = \"tcp://127.0.0.1:26658\"%proxy_app = \"tcp://127.0.0.1:${CUSTOM_PORT}58\"%; s%^laddr = \"tcp://127.0.0.1:26657\"%laddr = \"tcp://127.0.0.1:${CUSTOM_PORT}57\"%; s%^pprof_laddr = \"localhost:6060\"%pprof_laddr = \"localhost:${CUSTOM_PORT}60\"%; s%^laddr = \"tcp://0.0.0.0:26656\"%laddr = \"tcp://0.0.0.0:${CUSTOM_PORT}56\"%; s%^prometheus_listen_addr = \":26660\"%prometheus_listen_addr = \":${CUSTOM_PORT}66\"%" $HOME/.xiond/config/config.toml
sed -i -e "s%^address = \"tcp://localhost:1317\"%address = \"tcp://localhost:${CUSTOM_PORT}17\"%; s%^address = \":8080\"%address = \":${CUSTOM_PORT}80\"%; s%^address = \"localhost:9090\"%address = \"localhost:${CUSTOM_PORT}90\"%; s%^address = \"localhost:9091\"%address = \"localhost:${CUSTOM_PORT}91\"%; s%^address = \"0.0.0.0:8545\"%address = \"0.0.0.0:${CUSTOM_PORT}45\"%; s%^ws-address = \"0.0.0.0:8546\"%ws-address = \"0.0.0.0:${CUSTOM_PORT}46\"%" $HOME/.xiond/config/app.toml
#Set config with new custom port
xiond config set client node tcp://localhost:${CUSTOM_PORT}57
# Create service file
sudo tee /etc/systemd/system/xiond.service > /dev/null <<EOF
[Unit]
Description=xiond Daemon
After=network-online.target

[Service]
User=$USER
ExecStart=$(which xiond) start
Restart=always
RestartSec=3
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target
EOF
# Download latest chain snapshot
SNAP_NAME=$(curl -s https://ss.xion.nodestake.org/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")
curl -o - -L https://ss.xion.nodestake.org/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.xiond
# Enable and start service
sudo systemctl daemon-reload
sudo systemctl enable xiond
sudo systemctl restart xiond && sudo journalctl -u xiond -fo cat
# Check status
xiond status 2>&1 | jq

#"catching_up": false means that the node is synchronized, we are waiting for complete synchronization

Wallets

# Create wallet
xiond keys add wallet

The wallet has been created. In the last line there will be a phrase that must be written down

# If the wallet was already there, restore it
xiond keys add wallet --recover

# Insert the seed phrase from your wallet
# If everything is correct, you will see your wallet data

Validator

Do not forget to create a profile on https://keybase.io/ and set a profile photo there that will be imported by key and used for your validators.

xiond tx staking create-validator \
--amount 1000000uxion \
--pubkey $(xiond tendermint show-validator) \
--moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--chain-id xion-mainnet-1 \
--commission-rate 0.05 \
--commission-max-rate 0.20 \
--commission-max-change-rate 0.05 \
--min-self-delegation 1 \
--from wallet \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0uxion \
-y

!!! Save priv_validator_key.json which is located in /root/.zetacored/config

PreviousXionNext🛠️ Upgrade

Last updated 5 months ago