Discover and read the best of Twitter Threads about #starknetedu

Most recents (1)

👩🏽‍🚀 #StarkNetEco 👨🏽‍🚀

深入了解 #StarkNet 一层网络 ↔ 二层网络通讯能力

L2 → L1 通讯 🔍
L1 理解 L2 通讯是通过,每次验证器验证成功后,新的状态将更新在 L1 上
在 Cairo 智能合约中,使用系统调用「send_message_to_l1」方式需要通过 L1 地址和有效负载 (Payload)

当该笔交易被验证并在 L1 状态更新后,消息被存储在 StarkNet 核心合约 L1 中 ⬇️

Goerli:goerli.etherscan.io/address/0xde29…

主网:etherscan.io/address/0xc662…
所以,L2 → L1 通讯速度慢是因为,需要等待状态更新,通过数小时来节省 gas

而 L1 → L2 通讯更快的原因稍后讨论
Read 7 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!