# Layer2解决方案 **Published by:** [TIM](https://paragraph.com/@timlong/) **Published on:** 2022-05-26 **URL:** https://paragraph.com/@timlong/layer2 ## Content 1、状态通道 1)状态通道是链下数据处理方式 2)进入和退出状态通道才会调用主链合约 2、Plasma 1)一条独立的链 2)数据:交易状态提交到主链,交易数据不提交到主链(数据不可用) 3)验证:欺诈证明(Optimistic) 3、Rollup 1)一条独立的链 2)交易数据提交到主链(数据可用) 3)验证:欺诈证明(Optimistic) ,有效性证明(zk) ## Publication Information - [TIM](https://paragraph.com/@timlong/): Publication homepage - [All Posts](https://paragraph.com/@timlong/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@timlong): Subscribe to updates - [Twitter](https://twitter.com/itimlong): Follow on Twitter