Back to Home

WARDEN

Warden Protocol is a groundbreaking infrastructure that brings AI capabilities to Web3, enabling safe integration of artificial intelligence with dApps, protocols, and smart contracts across any blockchain. Through its verification and execution layers, it provides developers with simplified cryptography, abstracted interoperability, and AI-ready infrastructure while ensuring secure and verified AI results through blockchain consensus.

Website Discord Twitter Validator

Hardware Requirements

Component Minimum
CPU 4 Cores
RAM 8 GB
Storage 200 GB SSD

Installation

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

Install Go

cd $HOME
VER="1.21.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"
[ ! -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

Install Binary

cd $HOME
rm -rf warden-blockchain
git clone https://github.com/warden-protocol/warden-blockchain
cd warden-blockchain
git checkout v0.1.0
make install

Initialize Node

wardend init "YOUR_MONIKER" --chain-id alfama

Download Genesis

curl -Ls https://snapshots.kjnodes.com/warden-testnet/genesis.json > $HOME/.warden/config/genesis.json

Add Seeds

peers="d5519e378247dfb61dfe90652d1fe3e2b3005a5b@warden-testnet.rpc.kjnodes.com:16656"
sed -i -e "s|^persistent_peers *=.*|persistent_peers = \"$peers\"|" $HOME/.warden/config/config.toml

Download Addrbook

curl -Ls https://snapshots.kjnodes.com/warden-testnet/addrbook.json > $HOME/.warden/config/addrbook.json

Create Service

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

[Service]
User=$USER
ExecStart=$(which wardend) start
Restart=on-failure
RestartSec=3
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target
EOF

sudo systemctl daemon-reload
sudo systemctl enable wardend
sudo systemctl start wardend && sudo journalctl -u wardend -f -o cat