> For the complete documentation index, see [llms.txt](https://services.stakeandrelax.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://services.stakeandrelax.net/mainnet/elys/upgrade.md).

# Upgrade

<figure><img src="https://raw.githubusercontent.com/StakeandRelax-Validator/documentation/main/Logos/elys.png" alt="" width="150"><figcaption></figcaption></figure>

**Chain ID**: elys-1 | **Latest Version Tag**: v6.8.0

{% hint style="info" %}
Since we are using Cosmovisor, it makes it very easy to prepare for upcomming upgrade. You just have to build new binaries and move it into cosmovisor upgrades directory.
{% endhint %}

## Download and build upgrade binaries

```bash
# Clone project repository
cd $HOME
rm -rf elys
git clone https://github.com/elys-network/elys elys
cd elys
git checkout v6.8.0

# Build binaries
make build && make install

# Prepare binaries for Cosmovisor
mkdir -p $DAEMON_HOME/cosmovisor/upgrades/v6.8.0/bin && cp $HOME/go/bin/elysd $DAEMON_HOME/cosmovisor/upgrades/v6.8.0/bin
$DAEMON_HOME/cosmovisor/upgrades/v6.8.0/bin/elysd version
rm -rf build
```

*Thats it! Now when upgrade block height is reached, Cosmovisor will handle it automatically!*
