Deploy Compound III on Scroll
Preamble
Type: Multichain Deployment
Title: Deploy Compound III on Scroll
Author: Shahryar Hasnani - Partnerships Manager @Scroll_zkEVM
Proposal Introduction
We propose the deployment of a Minimal Viable Product deployment of Compound v3 on Scroll mainnet (with a completed preceding instance on our Goerli testnet), specifically the borrowing and lending functionality with several potential collaterals and one borrowable asset market.
Scroll Overview
Scroll is an EVM-equivalent ZK-Rollup built upon Ethereum, designed for scaling without sacrificing security, developer, or user experience:
- EVM Equivalence & Developer Friendliness: Scroll is bytecode-compatible and builds upon Geth, enabling seamless migration of infrastructure and will support all existing development tools, including debuggers. Developers can work with a familiar development environment. No bytecode re-audits are required, minimizing the risk surface tremendously.
- Ethereum-native & Community First: Scroll originated in close collaboration with the Ethereum Foundationâs zkEVM research within the PSE (Privacy and Scaling Explorations) groupâin fact, our team has contributed ~50% of the upstream PSE zkEVM codebase over the past 2 years! Scroll has been open source & peer reviewed since day one, our testnet has been permissionless since its inception, and we continuously publish research in an effort to demystify the inner works of zk circuits and cryptography.
- Decentralization & Security: Scroll has continually made upgrades across testnets to make it more trustless, and is committed to decentralizing both its sequencing and proving. In addition, Scroll has a strong in-house security team that found and reported bugs in fellow ZK-Rollupâs proving systems in the past.
ZK-Rollups are widely considered to be the Holy Grail of Ethereum scaling. Scrollâs vision is to build a fully EVM-compatible ZK-Rollup that any existing Ethereum application can easily migrate to; our short-to-long-term roadmap includes significant user cost reductions, increased compatibility, improved security and proving, and other EVM optimizations such as parallelization. Scroll launched mainnet on October 17th, 2023, and since then, weâve had significant traction, seeing:
- ~55M bridged TVL / ~25M DeFi TVL
- 10M+ transactions (averaging over 100k+ tx/day)
- 2.5M+ unique wallet addresses
In addition, between our Alpha (Goerli) and Beta (Sepolia) Testnets, weâve ~60M transactions, 10M wallet addresses, and 7M blocks produced.
Weâve also seen 150+ projects deployed on Scroll, ranging from established DeFi protocols to brand-new Scroll-native applications. We support all necessary infrastructure for a Compound deployment, as well as protocols that support a familiar Compound user experience, including Chainlink, Etherscan, The Graph, etc.
Proposal
We propose a Minimal Viable Product deployment of Compound v3 on Scroll mainnet (and a preceding instance on testnet) with one marketâbased on current conversations and progress, we expect USDC to be the most likely borrowable asset, and see several potential collateral options, such as WETH, WBTC, and wstETH. However, we encourage the Compound community to provide feedback here or suggest alternatives if applicable. Community members and risk service providers are also encouraged to contribute their feedback and suggestions regarding risk parameters. We have also already deployed a Compound v3 instance on our Alpha Testnet for reference here: (Scroll Alpha testnet deployment by kevincheng96 ¡ Pull Request #813 ¡ compound-finance/comet ¡ GitHub), and are currently finalizing our audit, which we will add as soon as itâs completed.
This MVP deployment aims to set the foundation for a longer-term relationship between the Scroll and Compound communities. We will begin with a simple deployment and initialization of one market and may look to scale up the number of markets, liquidity, and incentives as the Scroll user and developer community grows.
Compoundâs community represents a global group of pioneering DeFi builders and users, focused on engagement, safety, and governance. We see an opportunity to collaborate with the unique parts of our community as wellâdevs and users focused on ZK tech, scaling Ethereum, and decentralization. Additionally, the Scroll ecosystem is made up of builders and users from every continent, and we offer localized content and support for different languages and regions across the globe. This allows us to also engage communities where other L2s have less of a presence, such as East/SE Asia and the Middle East, making them critical drivers of liquidity and engagement as we move into the next cycle.
We firmly believe that ZK-rollups are the future of Ethereum, and that Scroll would be the ideal platform for Compound to deploy on next as part of its L2 expansion. Scrollâs ecosystem is nascent, and Compound has the opportunity to establish a strategic presence early on. Alongside Compound, there are various other projects already live and in the process of deployment on mainnet, and will allow Compound to be part of a vibrant new ecosystem that spans across the globe. Weâre interested in having long-term collaborations with projects and are willing to leverage our community to bootstrap and expand Compoundâs role on Scroll.
Initialization Process (technical specification)
Our aim is to initially proceed cautiously and conservatively with the most basic functionality and then iterate and scale up over time based on performance and demand. However, we would like to defer to the community, Compound labs, and other stakeholders to determine what the optimal parameters and specifications are for deployment.
Security Considerations
Although Scroll aims to be fully bytecode-compatible and is based off Geth, significantly reducing its risk surface, there are still several common L2 concerns that apply to Scroll:
- Scrollâs prover and sequencer set will start off centralized and remain in that state for a period of time
- Some of the core smart contracts and parameters can be upgraded through a multisig
- More information about our codebase and security considerations can be found in our github
Copyright Waiver
Copyright and related rights waived via CC0.
License Exemption
We are requesting an exemption that will allow the Scroll network to obtain a Compound Business Source License (BSL) to use the Licensed Work, update compound-community-licenses.eth, and deploy it on Scroll mainnet, provided that the deployment is subject to Ethereum Layer 1 Compound Protocol governance and control.