# 创建验证器

### 创建挖矿账户 <a href="#create-a-mining-account" id="create-a-mining-account"></a>

您需要先创建一个代表密钥对的帐户。使用以下命令创建一个新帐户并为该帐户设置密码：

```
geth account new --datadir ./data
```

此命令将返回公共地址和私钥的路径。密钥文件的备份是必要的！

如果您已经有一个帐户，请使用助记词来恢复它：

```
geth account import --datadir ./data
```

#### 成为验证者候选人 <a href="#become-a-validator-candidate" id="become-a-validator-candidate"></a>

您需要使用 [**FSC Validator**](https://fscnode.fonscan.io/#/) 合约进行创建验证者，创建验证者需要质押9999枚FON

创建完成后，您需要创建者地址，先给自己进行投票，让自己进入到99名次中

验证者竞选以每3小时刷新一次竞选排名，从而竞选出块人资格。


---

# 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.fonscan.io/zh_cn/develop/validator/create.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.
