版本比较

密钥

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

...

  1. For mergeable state , such as Token, for example, 1000 A Token and 100 A Token can be merged into 1100 Token. each mergeable state needs to accumulate a total number in Layer1 and be verified when migrating across layers to ensure that Layer2 cannot create Token out of thin air.

  2. For non-mergeable state, such as NFT, or user-contracted free state, Layer1 generates a state tree for all original state moved from Layer1, and records the root hash of the tree to ensure that the state is not changed when it is moved across layers. Non-mergeable state, moved from Layer1 to Layer2, can only change the ownership and cannot be updated in Layer2.

技术架构
Technical Architecture

Drawio
zoom1
simple0
inComment0
pageId7439200
custContentId9732521
lbox1
diagramDisplayNamestargate_arch2.drawio
contentVer5
revision5
baseUrlhttps://starcoin.atlassian.net/wiki
diagramNamestargate_arch2.drawio
pCenter0
width825.5
links
tbstyle
height246

整体上分为三层,整体架构分为三层,

  1. Layer1 通过 PoW 共识保证安全(Security)和无准入(Permissionless)。这部分已经实现。

  2. Layer2 通过 PoS 共识给 Layer1 提供终局性(Finality),同时给 Rollup 的 Accumulator 提供去中心化能力。 Rollup 方案可以让网络整体的 TPS 提高到 10~100 倍。

  3. Layer3 通过状态通道(State Channel)以及 DAppChain ,将不同的应用的共识隔离在应用的局部网络中,可提供无限的扩展能力。

The overall architecture is three-layer.

  1. Layer1 ensures Security and Permissionless through PoW consensus. This part has been implemented.

  2. Layer2 provides finality to Layer1 through PoS consensus and decentralization to Rollup's Accumulator. The Rollup solution can increase the overall TPS of the network to 10 to 100 times.

  3. Layer3 isolates the consensus of different applications in the application network through State Channel and DAppChain, which can provide unlimited scalability.

Rollup

Rollup 是一种相对成熟的扩容机制,一些项目已经实现,在 Rollup 中有几个角色:

...