Early Access Program

Thank you for being an early-access collaborator interested in Scroll SDK. Whether you’re a prover partner, RaaS provider, or a project looking to deploy an L2 or dApp Chain, we’re eager to hear your feedback

Scroll SDK allows anyone to quickly deploy an instance of the Scroll zkEVM and its rollup architecture for deploying an L2 on Ethereum.

In the medium term, it will allow for robust customization of an L2, including customizing its DA layer, base/settlement layer, native gas token, bridge logic, and more. Our goal is to build a robust stack focused on sovereignty and adaptability, with simple upgradability and flexible proof generation, all without locking new chains into shared governance, common asset pools, or business-source licensing.

Current Feature Set

  • Fully functional local devnet or Sepolia testnet deployment of Scroll’s current zkEVM and protocol
  • Configurable deployment using Docker, Kubernetes, and Helm
  • Tools for interacting and exploring your chain, including Blockscout, our Rollup Explorer, and a white-label Bridge UI

Planned Feature Set

  • Additional DevOps quality of life improvements for generating config files
  • Rollup or Validium Mode (Modular DA: 4844, callData, Alt-DA Layers)
  • Base layer flexibility (Ethereum mainnet, Scroll, or any EVM-compatible environment)
  • Custom Gas Token (any ERC20 from the base layer)
  • Plug-and-play proof generation using various Proof Generation service providers allowing for failover and elastic capacity (see Scroll Stack Prover Aggregation Testing)
  • Adaptable finality time (making tradeoffs between finality time and on-chain costs)
  • Out-of-the-box, contract auto-deployments for various commonly used protocols

Troubleshooting / FAQ

How long is finality on Scroll chain?

Finality depends on the parameterization of how often your chain wants to finalize to Ethereum. Roughly, a batch is created every minute (containing ~20 blocks or 200 txs), and takes about 50 minutes to finalize on L1.

Our next upgrade with increase the variability on block speed, but also increase how many batches will fit in a proof. We may decide to lengthen finality in order to reduce on-chain costs and lower transaction fees. (At 556k gas to finalize, each finalize tx costs ~$9.80 as of June 3, 2024).

If you want to explore more, check out https://scroll.io/rollupscan

How does finality work without running a prover?

The Scroll SDK defaults to the behavior seen on Scroll Sepolia.

If proofs are not generated and accepted by the Coordinator, the Rollup Relayer with call a function on the L1 Bridge to finalize the state root without a proof. (This method is not part of the mainnet contracts.)

The default timeout for this finalization is 3600 seconds, to approximate mainnet finalization latency. To alter this behavior in Scroll SDK, set the following variables in config.toml:

TEST_ENV_MOCK_FINALIZE_ENABLED = true
TEST_ENV_MOCK_FINALIZE_TIMEOUT_SEC = 3600

Request for Feedback

This document and repo have been shared with you because you’re a valued collaborator.

We’d love to hear any feedback on rough edges, blockers, minimal required features, developer experience improvements, and wild directional ideas. Also, we’re still exploring names, so if we welcome feedback on “Scroll SDK” 🙂

Feel free to send this to us through GitHub Issues, HackMD writeups, Telegram messages (DM @dghelm if you don’t have a better channel), or by filling out this form.

Stay up-to-date on the latest Scroll Developer news
Roadmap updates, virtual and live events, ecosystem opportunities and more
Thank you for subscribing!

Resources

Follow Us