# 快速开始

<details>

<summary>步骤1：获取一个私有RPC</summary>

确保你找到一个私有的 RPC，公共的 RPC 可能启动不起来

</details>

<details>

<summary>步骤2：获取一个Linux机器</summary>

该机器人在 Linux 上运行，因此您需要租用或使用自己的 Linux。建议的硬件至少为 4 核/4GB RAM。

建议8Core 8G 并且配置16IP

</details>

<details>

<summary>步骤3：保证钱包有一定的sol和wsol</summary>

如何兑换：<https://rust-mev-bot.solboxs.com/basics/integrations>

</details>

<details>

<summary>步骤4：安装软件，并配置运行</summary>

创建一个bot文件夹

```
mkdir bot
```

```
cd bot
```

Install wget：

```
sudo apt update
```

```
sudo apt install wget
```

install unzip

```
sudo apt install unzip
```

下载发布版本

```
wget https://sourceforge.net/projects/rust-mev-bot/files/rust-mev-bot-1.0.26.zip
```

解压

```
unzip rust-mev-bot-1.0.10.zip
```

更新版本

```
chmod +x upgrade.sh
```

```
./upgrade.sh
```

将config.yaml.example 重命名为config.yaml 并配置上相关参数

```
mv config.yaml.example config.yaml
```

赋予启动脚本权限

```
chmod +x run.sh
```

正常模式运行

```
./run.sh
```

调试模式运行（输出详细日志）：

```
./run.sh --debug
```

</details>

<details>

<summary>步骤5：在后台运行</summary>

安装screen

```
apt install screen -y
```

创建一个bot的会话

```
screen -S bot
```

这时候你已经进入新的会话了可以用下面的命令验证是否在会话中

```
screen -ls
```

会看到下面的显示，就意味着你已经在会话中了

```
There are screens on:
        125.bot (01/25/2 01:11:32) (Attached)
```

这时候可以使用步骤4运行机器人，如果需要后台运行，可以在bot启动后使用快捷键Ctrl+A+D

如果想要从新进入会话可以使用以下命令

```
screen -r bot
```

</details>

<details>

<summary>步骤6：加入Discard与大佬们一起赚钱</summary>

点击加入Discard: <https://discord.com/invite/rCBZy4ZKZD>

</details>


---

# 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://rust-mev-bot.solboxs.com/getting-started/quickstart.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.
