# 签名者流程详解

<div data-with-frame="true"><figure><img src="/files/fcb50432f8a17511c3126d3813d30d2986b51fe9" alt=""><figcaption></figcaption></figure></div>

## 简介

本文档详细概述了 sBTC 系统，重点介绍 sBTC 签名节点的运行操作。我们将探讨 sBTC 生态系统中发生的自动化流程和软件交互。

关于如何设置并运行 sBTC 签名节点的分步指南正在制定中。这是一份概念性指南，旨在帮助签名者了解他们在 sBTC 系统中的角色是怎样的。

## 签名节点设置

作为 sBTC 签名者，你的主要职责是运行并维护一个签名节点。以下是这项工作所涉及的内容：

{% stepper %}
{% step %}
**硬件设置**

确保你的节点具备足够的计算能力和存储空间。
{% endstep %}

{% step %}
**软件安装**

安装 sBTC 签名节点软件及其依赖项。
{% endstep %}

{% step %}
**密钥管理**

节点软件会安全地生成并存储比特币私钥及其对应的公钥。
{% endstep %}

{% step %}
**节点注册**

首次运行时，节点会自动将其公钥注册到 Stacks 区块链上的 sBTC Registry 合约中。
{% endstep %}
{% endstepper %}

## 日常操作

设置完成后，你的签名节点会自主运行并执行以下任务：

{% stepper %}
{% step %}
**监控存款请求**

你的节点会持续监控 sBTC 铸造请求：

* 节点连接到比特币网络和 Stacks 区块链。
* 它会监视发送到 sBTC UTXO 地址的比特币交易。
* 当检测到存款时，节点会验证交易详情。
  {% endstep %}

{% step %}
**处理铸造请求**

在确认存款后：

* 节点会使用其私钥自动为铸造操作准备签名。
* 它会将该签名提交到 Stacks 区块链上的 sBTC Deposit 合约。
* 该合约会验证签名，并将其与其他签名节点的签名合并。
* 一旦收集到足够有效的签名，合约就会铸造相应数量的 sBTC。
  {% endstep %}

{% step %}
**处理提现请求**

对于 sBTC 提现请求：

* 节点会监控 sBTC Withdrawal 合约中的新请求。
* 在检测到请求后，它会验证用户的 sBTC 余额以及请求的有效性。
* 节点会自动为提现操作签名并提交其签名。
* 一旦收集到足够的签名且 sBTC 已被销毁，节点会参与创建并签署比特币交易，以完成提现。
* 已签名的比特币交易会广播到比特币网络。
  {% endstep %}
  {% endstepper %}


---

# 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.stacks.co/learn/zh/sbtc/walkthroughs/signer-process-walkthrough.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.
