# 签名者钱包轮换

签名者钱包轮换允许 sBTC 签名者更新其私钥并修改签名者集合的组成。该机制是网络长期维持安全并适应参与者变化的方式。

## 工作原理

sBTC 系统使用比特币上的多签钱包来托管 BTC 存款。当系统需要更改谁来控制这个钱包——无论是通过轮换密钥还是更改签名者集合——它都会使用轮换机制。

截至 v1.1.0，系统支持：

* 向集合中添加新的签名者
* 移除现有签名者
* 替换特定签名者
* 为当前签名者轮换密钥

当签名者就新配置达成一致后，系统会自动运行分布式密钥生成（DKG）协议，为更新后的组创建新的签名份额。完成后，sBTC 钱包的控制权会转移到新配置。

## 轮换过程

{% stepper %}
{% step %}
**签名者链下协调**

签名者就新的签名者集合达成一致。
{% endstep %}

{% step %}
**更新配置**

每个签名者运营者都使用新决定的集合更新其配置。
{% endstep %}

{% step %}
**DKG 自动运行**

一旦所有签名者都配置了完全相同的签名者集合，DKG 就会自动发生，以生成新的签名份额。
{% endstep %}

{% step %}
**新的签名者集合接管控制权**

新的签名者集合接管 sBTC 钱包的控制权。
{% endstep %}
{% endstepper %}

在整个过程中，比特币 UTXO 始终处于持续控制之下——不会出现资金未受保护的时刻。

## 何时进行轮换

密钥轮换通常发生在：

* **签名者变更**：当有人离开签名者集合或有新的参与者加入时，配置必须更新以反映新的成员构成。
* **安全事件**：如果某个密钥可能已被泄露，可以启动紧急轮换以保护系统。


---

# 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/auxiliary-features/signer-wallet-rotation.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.
