> For the complete documentation index, see [llms.txt](https://service.coinhunterstr.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://service.coinhunterstr.com/mainnet/kopi-money/upgrade.md).

# Upgrade

v7-rc6

### Manul Upgrade

```
cd $HOME
wget -O kopid https://github.com/kopi-money/kopi/releases/download/v7/kopid-v7-linux-amd64
chmod +x $HOME/kopid
sudo mv $HOME/kopid $(which kopid)
```

### libwasmvm.x86\_64.so

```
cd $HOME
wget https://github.com/kopi-money/kopi/releases/download/v7/libwasmvm.x86_64.so
sudo mv libwasmvm.x86_64.so /usr/lib/
sudo ldconfig
```

```
sudo systemctl restart kopid.service
sudo journalctl -u kopid.service -f
```

### v8 Upgrade

Upgrade height: [3930000](https://explorer.coinhunterstr.com/Kopi-Money/block/3930000) Please don\`t upgrade before the specified height;

### Manul Upgrade

```
cd $HOME
wget -O kopid https://github.com/kopi-money/kopi/releases/download/v8/kopid-v8-linux-amd64
chmod +x $HOME/kopid
sudo mv $HOME/kopid $(which kopid)
sudo systemctl restart kopid.service && sudo journalctl -u kopid.service -f
```

### Auto Upgrade

İlk olarak screen açalım `screen -S upgrade` sonrasında alttaki kod bloğunu çalıştıralım.

```
cd $HOME && \
wget -O kopid https://github.com/kopi-money/kopi/releases/download/v8/kopid-v8-linux-amd64 && \
chmod +x $HOME/kopid && \
old_bin_path=$(which kopid) && \
home_path=$HOME && \
rpc_port=$(grep -m 1 -oP '^laddr = "\K[^"]+' "$HOME/.kopid/config/config.toml" | cut -d ':' -f 3) && \
[[ -z "$rpc_port" ]] && rpc_port=$(grep -oP 'node = "tcp://[^:]+:\K\d+' "$HOME/.kopid/config/client.toml") ; \
tmux new -s kopi-upgrade "sudo bash -c 'curl -s https://raw.githubusercontent.com/CoinHuntersTR/Logo/refs/heads/main/autoupgrade/upgrade.sh | bash -s -- -u \"3930000\" -b kopid.service -n \"$HOME/kopid.service\" -o \"$old_bin_path\" -h \"$home_path\" -p \"https://explorer.coinhunterstr.com/Kopi-Money/gov/30\" -r \"$rpc_port\"'"
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://service.coinhunterstr.com/mainnet/kopi-money/upgrade.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
