# Installation

**Server preparation:**

```bash
sudo apt update && sudo apt upgrade -y && sudo apt install tmux git curl -y && sudo apt install make clang pkg-config libssl-dev build-essential -y 
```

**Download Pactus v1.6.4: (amd64)**

```bash
ver="1.6.4" && \
cd $HOME && rm -rf node_pactus && \
wget https://github.com/pactus-project/pactus/releases/download/v${ver}/pactus-cli_${ver}_linux_amd64.tar.gz && \
tar -xzf pactus-cli_${ver}_linux_amd64.tar.gz && \
rm -rf pactus-cli_${ver}_linux_amd64.tar.gz && \
mv pactus-cli_${ver} node_pactus && cd node_pactus
```

**Download Pactus v1.6.4: (arm64)**

<pre class="language-bash"><code class="lang-bash">ver="1.6.4" &#x26;&#x26; \
<strong>cd $HOME &#x26;&#x26; rm -rf node_pactus &#x26;&#x26; \
</strong>wget https://github.com/pactus-project/pactus/releases/download/v${ver}/pactus-cli_${ver}_linux_arm64.tar.gz &#x26;&#x26; \
tar -xzf pactus-cli_${ver}_linux_arm64.tar.gz &#x26;&#x26; \
rm -rf pactus-cli_${ver}_linux_arm64.tar.gz &#x26;&#x26; \
mv pactus-cli_${ver} node_pactus &#x26;&#x26; cd node_pactus
</code></pre>

**Create Wallet:**&#x20;

```
./pactus-daemon init
```

\*Note: It is recommended to run <mark style="color:red;">**1-32**</mark> validator.\
Save all important information in this step (<mark style="color:red;">Address validator, Wallet & seed</mark>).

**If you already had a wallet before, you can use this command to restore the wallet**

\
**Restore wallet:**

```bash
./pactus-daemon init --restore "<your-seed>"
```

**Start Pactus: Run in tmux**

```bash
sudo ./pactus-daemon start
```

**Wallet seed:**

```bash
./pactus-wallet seed
```

#### List of Addresses: <a href="#list-of-addresses" id="list-of-addresses"></a>

```bash
./pactus-wallet address all
```

**Check Balance:**

```bash
./pactus-wallet address balance <ADDRESS>
```

**Bond to the validator**

```bash
./pactus-wallet tx bond <Reward address> <Validator address> <AMOUNT>
```

**Send token**

```bash
./pactus-wallet tx transfer <reward address> <receiver address> <AMOUNT>
```


---

# Agent Instructions: 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:

```
GET https://services.node39.top/index.html/mainnet/pactus-blockchain/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
