# 动态通道

传统的闪电网络通道是一个UTXO，而聪穿越协议的闪电通道是一组UTXO，而且随时可以通过splicing技术增加或者减少UTXO，或者调整某个UTXO的容量，甚至是将一个多签地址作为整个闪电通道管理起来，这种灵活性是将资产从主网带到二层网络所必不可少的。

1. 多UTXO
2. 任意增加、减少UTXO
3. 任意调整UTXO大小

流通协议通过动态通道技术任意调整通道容量，让通道随时可以通过任意类型的资产。

Splicing是原子性的操作。每个splicing动作，必然由多个动作完成，这些动作组成一个原子操作，一个成功，必然就全部成功；一个失败，必然全部失败。

1. Splicing-In
   * 主网的锁定交易：将资产锁定到通道地址中
   * Ascending交易：将资产从主网提升到聪网，进入聪网流通
   * 更新闪电通道状态，增加通道容量，将拆入的资产记在操作发起人名下，更新承诺交易
2. Splicing-Out
   * 聪网的销毁交易：在聪网上将通道中的一部分资产，转入OP\_RETURN地址，相当于销毁该部分资产
   * 主网上的解锁交易：在主网上将通道中的一部分资产，拆出到指定的地址
   * 更新闪电通道状态，从发起人名字资产，扣除对应的资产，并减少通道容量，更新呢承诺交易


---

# 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.sat20.org/zi-chan-liu-tong-xie-yi-stp/dynamicchannel.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.
