Installation
Chain ID: arkeo | Latest Version Tag: 68c59e9057e306dd99cdf55ebf4e6b1876835dc8 |
Setup validator name
Replace **YOUR_MONIKER_GOES_HERE** with your validator name
MONIKER="YOUR_MONIKER_GOES_HERE"
Install dependencies
Update system and install build tools
sudo apt -q update
sudo apt -qy install curl git jq lz4 build-essential
sudo apt -qy upgrade
Install Go
sudo rm -rf /usr/local/go
curl -Ls https://go.dev/dl/go1.21.9.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)
Download and build binaries
# Clone project repository
cd $HOME
rm -rf arkeo
git clone https://github.com/arkeonetwork/arkeo
cd arkeo
git checkout 68c59e9057e306dd99cdf55ebf4e6b1876835dc8
# Build and install binaries
make install
# Create service
sudo tee /etc/systemd/system/arkeod.service > /dev/null <<EOF
[Unit]
Description=arkeod
After=network-online.target
[Service]
User=$USER
ExecStart=$(which arkeod) start
Restart=on-failure
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
Initialize the node
# Set node configuration
arkeod config chain-id arkeo
arkeod config keyring-backend file
# Initialize the node
arkeod init $MONIKER --chain-id arkeo
# Download genesis and addrbook
curl -Ls https://github.com/dvjromashkin/guides/raw/main/arkeo/genesis.json > $HOME/.arkeo/config/genesis.json
curl -Ls https://github.com/dvjromashkin/guides/raw/main/arkeo/addrbook.json > $HOME/.arkeo/config/addrbook.json
# Set minimum gas price
sed -i -e "s|^minimum-gas-prices *=.*|minimum-gas-prices = \"0.025uarkeo\"|" $HOME/.arkeo/config/app.toml
# Set 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 = "0"|' \
-e 's|^pruning-interval *=.*|pruning-interval = "19"|' \
$HOME/.arkeo/config/app.toml
### Start service and check the logs
```bash
sudo systemctl start arkeod && sudo journalctl -u arkeod -f -o cat