# 前提条件

* Aria2 服务

**启动 Lotus-miner**

在启动 `swan-provider`之前，请确保 `Lotus-miner` 正常运行。您需要使用 `Lotus-miner` 令牌导入订单。

```
lotus-miner auth create-token --perm write
```

注意，请保持 `Lotus-miner` 在后台运行! 生成的令牌位于 `$LOTUS_MINER_PATH/token` 请参考：[Lotus: API tokens](https://lotus.filecoin.io/reference/basics/api-access/)

**Aria2 服务**

```
sudo apt install aria2
```


---

# 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://docs-cn.filswan.com/swan-provider/shi-yong-zhi-nan/qian-ti-tiao-jian.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.
