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
Install go
We are gonna use GO Version 1.22.5 If you already have GO installed you can skip this
ver="1.22.5"
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
rm -rf Achilles
git clone https://github.com/daodiseomoney/Achilles.git
cd Achilles/achilles
make install
Verify that you’ve installed successfully
achillesd version --long | grep -e commit -e version
Initialize Node
Please change <MONIKER>
To your own Moniker.
achillesd init <MONIKER> --chain-id ithaca-1
Download Genesis file and addrbook
- Genesis
curl -L https://snapshot-t.vinjan.xyz/odiseo/genesis.json > $HOME/.achilles/config/genesis.json
- Addrbook
curl -L https://snapshot-t.vinjan.xyz/odiseo/addrbook.json > $HOME/.achilles/config/addrbook.json
Configure Peers and Gas
seeds="da3827fe93b9232eb5a218d6c9c3a44de0b9578f@88.99.149.170:28656"
sed -i.bak -e "s/^seeds =.*/seeds = \"$seeds\"/" $HOME/.achilles/config/config.toml
sed -i -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0.25uodis\"/" $HOME/.achilles/config/app.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/.achilles/config/app.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/achillesd.service > /dev/null <<EOF
[Unit]
Description=odiseo
After=network-online.target
[Service]
User=$USER
ExecStart=$(which achillesd) 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 achillesd
sudo systemctl restart achillesd
sudo journalctl -u achillesd -f -o cat
Snapshot
Create Validator
Heads up to the Cheat Sheets to create validator