Installation Node
Hardware requirements
The following requirements are recommended for running Warden:
- 4 or more physical CPU cores
- At least 200GB of SSD disk storage
- At least 8GB of memory (RAM)
- At least 100mbps network bandwidth
Install dependencies Required
sudo apt update && sudo apt upgrade -y && sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu gcc git jq chrony liblz4-tool -y
apt install zip
Install go
We are gonna use GO Version 1.22.3 If you already have GO installed you can skip this
ver="1.22.3"
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
go version
Install binary
cd $HOME
git clone https://github.com/burnt-labs/xion.git
cd xion
git checkout v14.0.0
make install
Verify that you’ve installed Warden successfully
xiond version --long | grep -e commit -e version
Initialize Node
Please change <MONIKER>
To your own Moniker.
xiond init <Moniker> --chain-id xion-testnet-1
Download Genesis file and addrbook
- Genesis
wget -O $HOME/.xiond/config/genesis.json https://raw.githubusercontent.com/burnt-labs/burnt-networks/refs/heads/main/testnets/xion-testnet-1/genesis.json
- Addrbook
wget -O $HOME/.xiond/config/addrbook.json https://raw.githubusercontent.com/vinjan23/Testnet.Guide/refs/heads/main/Xion/addrbook.json
Configure Seeds and Peers
sed -i.bak -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0uxion\"/;" ~/.xiond/config/app.toml
peers="6bb70718db6af0a473c9d76e82d9ade33618b20d@xion-testnet-1.burnt.com:32656,0f2ccb6d7e8f233c03f91dee690f5ff714319fba@xion-testnet-1.burnt.com:33656,f684e3873191d62a74e5431202581d99fe3439b7@xion-testnet-1.burnt.com:34656"
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.xiond/config/config.toml
seeds="eb029462c82b46d842a47122d860617bff627fdf@xion-testnet-1.burnt.com:11656"
sed -i.bak -e "s/^seeds =.*/seeds = \"$seeds\"/" $HOME/.xiond/config/config.toml
config pruning
sed -i \
-e 's|^pruning *=.*|pruning = "custom"|' \
-e 's|^pruning-keep-recent *=.*|pruning-keep-recent = "100"|' \
-e 's|^pruning-keep-every *=.*|pruning-keep-every = ""|' \
-e 's|^pruning-interval *=.*|pruning-interval = "19"|' \
$HOME/.xiond/config/app.toml
Indexer Off
indexer="null" && \
sed -i -e "s/^indexer *=.*/indexer = \"$indexer\"/" $HOME/.xiond/config/config.toml
create service file and start node
Create service file Create a wardend.service
file in the /etc/systemd/system
folder with the following code. You can change USER
with your Linux user name. You need sudo previlege to do this step.
sudo tee /etc/systemd/system/xiond.service > /dev/null <<EOF
[Unit]
Description=xiond
After=network-online.target
[Service]
User=$USER
ExecStart=$(which xiond) start
Restart=on-failure
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
- Enable Service and Start Node
sudo systemctl daemon-reload
sudo systemctl enable xiond
sudo systemctl restart xiond
sudo journalctl -u xiond -f -o cat
Snapshot
- OR
Statesync
Create Validator
Heads up to the Cheat Sheets to create validator