Skip to main content
Ault uses Cosmovisor for automatic binary upgrades.

Install Cosmovisor

sudo apt install -y golang-go git build-essential

git clone https://github.com/cosmos/cosmos-sdk.git

cd cosmos-sdk
git checkout cosmovisor/v1.7.1
make cosmovisor

sudo cp tools/cosmovisor/cosmovisor /usr/local/bin/

Initialize

export DAEMON_NAME=aultd
export DAEMON_HOME=$HOME/.aultd

cosmovisor init /usr/bin/aultd

systemd Service

Create the following file: /etc/systemd/system/cosmovisor.service Set the service command to: ExecStart=/usr/local/bin/cosmovisor run start --home $HOME/.aultd --chain-id ault_10904-1 Then enable and start the service:
sudo systemctl daemon-reload
sudo systemctl enable cosmovisor
sudo systemctl start cosmovisor

Upgrade Process

When a new binary is released:
  • Place the new binary in the Cosmovisor upgrades directory
  • Verify version
  • Restart service if required

Maintenance Tasks

  • Monitor disk growth
  • Rotate logs
  • Apply security updates
  • Verify key backups