Step-by-step guide to Build an OP Stack Rollup DevNet with Zeeve RaaS
Tags: optimisticrollups, rollups
Published: 2024-06-03 06:27:02

<p>OP Stack is one of the oldest and matured rollup frameworks, which is developed by OP Labs to focus on offering a high-quality, shared, and completely open-source system. If you are launching an OP Stack chain or superchain, you will need to set up a DevNet environment for troubleshooting purposes, such as testing the configurations, nodes, functionalities, and network connectivity to ensure the chain functions as expected.&nbsp;</p>
<p>Through this step-by-step guide, we will continue our DIY rollup deployment series by making today’s article focused on the step-by-step process to deploy your OP Stack devNet launch within minutes via a simple, low-code approach facilitated by Zeeve RaaS.&nbsp;</p>
<p>Similar guides we’ve done for <a href="https://www.zeeve.io/blog/a-comprehensive-guide-on-polygon-cdk-and-its-deployment/">Polygon CDK</a>, <a href="https://www.zeeve.io/blog/launch-your-first-zksync-hyperchain-test-rigorously-deploy-to-publicnet/">Zk Stack Hyperchain</a>, and <a href="https://www.zeeve.io/blog/deploy-an-arbitrum-orbit-devnet-with-zeeve-raas-your-diy-guide/">Arbitrum Orbit</a>.&nbsp;</p>
<h2 class="wp-block-heading" id="h-why-op-stack-is-a-preferred-option-for-top-web3-projects">Why OP Stack is a preferred option for top web3 projects?</h2>
<p>Since launch, <a href="https://www.zeeve.io/appchains/optimistic-rollups/">OP Stack</a> has been recognized as a high quality, comprehensive framework for building production-quality Optimistic rollup L2 and L3 chains. Now after the Bedrock upgrade, OP Stack supports creation of even powerful OP Stack chains that will leverage the following features:</p>
<ul><!-- wp:list-item -->
<li>Bedrock implements a unique data compression technique to reduce the network fees significantly– by 10% and meanwhile removing the execution gas from Layer1.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>After Bedrock, the deposit time has been reduced from 10 minutes to merely 3 minutes, contributing to better user experience and performance.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>OP Stack now enables rollup chains to maintain as high Ethereum equivalency as possible. Also, Bedrock supports EIP-1559, chain-reorgs along with all the important Ethereum features available for Layer1.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>With Bedrock, rollups have the ease to either use fraud or validity proof for correct execution of rollup inputs. This approach enables implementation of innovative systems like cannon for fault proving.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>Node performance is improved significantly after Bedrock as technical debt such as the need for an independent ‘data transport layer’ has been eliminated.</li>
<!-- /wp:list-item --></ul>
<p>There are a lot more on Bedrock that are worth mentioning for OP Stack rollups, such as enhanced modularity of chains, code reuse, quick withdrawals, revamped batch processing, block derivation, etc that you can read in-depth from more things <a href="https://community.optimism.io/docs/developers/bedrock/">here</a>.</p>
<figure class="wp-block-image aligncenter size-large"><a href="https://www.zeeve.io/rollups/"><img src="https://www.zeeve.io/wp-content/uploads/2024/05/Get-faster-time-to-market-for-your-production-grade-L2L3s-1-1024x213.jpg" alt="Guide to deploy OP Stack DevNet" class="wp-image-68128"/></a></figure>
<p>With such next-gen features, OP Stack keeps adding a range of innovative, top-grade L2/L3 projects to its ecosystem, such as Base, Blast L2, Mantle Network, Metic L2, Zircuit L2, Mode Network, Aevo, BNB Chain, etc. For a comprehensive view into industry-wise leading OP Stack projects, check out the detailed guide linked below: <a href="https://www.zeeve.io/blog/inside-op-stack-universe-latest-greatest-projects-to-watch-in-2024/">Inside OP Stack Universe: Latest &amp; Greatest Projects to Watch in 2024</a></p>
<h2 class="wp-block-heading" id="h-quick-walkthrough-of-zeeve-s-op-stack-raas-stack">Quick walkthrough of Zeeve’s OP Stack RaaS Stack</h2>
<p>Zeeve offers a comprehensive RaaS stack for all the leading rollup frameworks, including OP stack.&nbsp;&nbsp;</p>
<ol><!-- wp:list-item -->
<li><strong>Production-grade infrastructure: </strong>Deploy your OP Stack rollups on Zeeve’s production-grade, highly optimized infrastructure to deploy, manage, and scale OP Stack rollups. Your rollups will benefit from powerful APIs, load-balancers, and security best practices with Enterprise SLAs.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>One-click deployment sandbox: </strong>Use low-code OP Stack sandbox tool to setup your own DevNet before launching a fully-functional public testnet or mainnet. Access to sandbox is free for limited launches and it’s optimized for low-code deployment. We will learn more about the sandbox later in this guide.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>40+ third-party rollup service integrations: </strong>If you want modularity in your OP Stack rollups, Zeeve RaaS allows you do so with its wide range of <a href="https://www.zeeve.io/integrations/">3rd party rollup integration list</a> comprising of decentralized sequencers, Alt DA layer, account abstraction, prover, custom block explorers, and a lot more.&nbsp;</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>24/7 monitoring with Enterprise SLA: </strong>All your OP stack rollups deployed through Zeeve RaaS will be monitored on critical parameters, such as node performance, resource consumption, block height, etc to ensure 99.9% uptime with Enterprise SLAs.&nbsp;</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Ready-to-use, pluggable components: </strong>Free up significant development time by leveraging the ready-to-use rollup chain components offered at Zeeve RaaS. From custom data indexers to cross-chain bridges, MPC/AA-backed wallet, and testnet faucets– you will get everything in the form of pluggable components.</li>
<!-- /wp:list-item --></ol>
<h2 class="wp-block-heading" id="h-deploy-your-own-op-stack-rollup-devnet-with-zeeve-raas-step-by-step-guide-nbsp">Deploy your own OP Stack Rollup DevNet with Zeeve RaaS: Step-by-step guide&nbsp;</h2>
<p>Now that we understand the basics of OP Stack and Zeeve’s OP Stack RaaS, let’s time to move to DevNet setup with Zeeve RaaS platform. Below is a step-by-step process for the same:</p>
<p><strong>Step:1</strong> Login or signup to the Zeeve RaaS platform. From the dashboard, navigate to the ‘Appchains &amp; Rollups’ section and click on ‘OP Stack’.&nbsp;&nbsp;</p>

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wnncc7j3d3i29nosco8j.png)
<p><strong>Step:2</strong> A new dashboard will appear with the option to deploy OP Stack DevNet as well as a pre-deployed demo account. The purpose of this demo is to provide you hands-on access to a full-powered DevNet where you can interact with the setup, perform a range of activities such as sending/receiving tokens via bridges, using RPCs to fetch data, check transactions on explorer, and much more. Basically, the demo account gives you the confidence you need to set up your own DevNet. Check out this <a href="https://www.zeeve.io/blog/test-drive-zksync-hyperchain-on-zeeves-fully-powered-demo-network/">guide</a> for an in depth overview of the Zeeve demo account offerings on Zeeve RaaS.&nbsp;</p>

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9ngu0u2gp98d39f9vmbl.png)
<p><strong>Step:3</strong> From the above dashboard, click on the ‘Deploy DevNet’ button and continue deploying your first OP Stack DevNet. However, Zeeve also gives you the flexibility to setup public testnet and mainnet through the same portal in a few clicks. As you can see, the OP Stack DevNet comes with 1-1 nodes for OP, Ethereum RPC, OP-Geth, OP-batcher, and OP-proposer. Also, you will get default smart contracts deployed on L1&amp; L2, asset bridge, L1 &amp; L2 supported explorer, 24/7 monitoring &amp; analytics dashboard. All these offerings you can access for free in the Zeeve’s 30-days trial period.</p>
<p><strong>Step:4 </strong>Now to set up your OP Stack DevNet, provide the basic network details required on the dashboard, such as The name for your OP Stack DevNet, workspace, account address in where you would like to permit some tokens, and also the Ether account balance for this address so that you can get started with the transactions and thereby engage/interact with the network.</p>
<p>As you can see, we have picked ‘MyOPRollup’ name for our OP DevNet, workspace is set to default, and we’ve pulled the preminted account address and its account balance. The option for settlement layer is Ethereum as of now.&nbsp;</p>

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8gx3j7pscn9keq7e623v.png)
<p><strong>Step:5</strong> Also, there’s the settlement layer which is provided as ‘Ethereum’ on Zeeve RaaS as of now. That means, you can deploy Layer2 OP stack rollup with Zeeve using Ethereum as your main chain for transaction settlement.</p>
<p><strong>Step:6</strong> For DA layer and sequencer, Zeeve Raas supports modularity, allowing you to choose Layer1 like Ethereum for on-chain data availability or move to off-chain data availability with alternative DA providers such as Celestia, NEAR DA, Avail, and Eigen DA. Depending on the level of modularity you expect from your OP Chain, you can configure the setup.</p>
<p><strong>Step:7</strong> The another important aspect of your OP Stack DevNet is ‘Integrations’. Zeeve’s RaaS stack is optimized to Zeeve-Managed cross-chain bridges, RPCs, and customizable block explorers. Also, it supports a bunch of 3rd party rollup service integrations, including decentralized oracles, block explorers, decentralized storage, MPC wallets, and a range of powerful developer tools to simplify development on various EVM chains.&nbsp;</p>

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r3cflw0a6ki6mhz08a6o.png)
<p><strong>Step:8. </strong>Cross-verify all the configurations you’ve done so far and click on ‘Deploy’ to launch your OP Stack DevNet. Go back to the dashboard and it will show your DevNet with its environment (DevNet) and status (ready or syncing). The status will change to ‘Ready’ once the network is fully synched.</p>

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8zspng8tisrdaknusp4m.png)
<h2 class="wp-block-heading" id="h-24-7-monitoring-amp-analytics-for-your-op-stack-devnet">24/7 Monitoring &amp; Analytics for your OP Stack DevNet</h2>
<p>Once your DevNet is ready, you can start monitoring its network to get vital 24/7 analytics and real-time alerts. For that, click ‘view’ as shown in the above image. A new page will appear showing the comprehensive details of your OP Stack DevNet.</p>
<li>Here’s what analytics you will get from the <strong>overview </strong>option.</li>

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4031eorxnnua7mf49iu6.png)
<li><strong>My nodes</strong>–Get details about nodes that underpins your DevNet network, such as Node ID, Name, Status, and creation info.</li>

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k547842um1klsd0aecn5.png)
<li><strong>Smart contracts</strong>– Check out the contract deployed on the Layer1 and Layer2 ecosystem. Dive deeper into the transactions by analyzing them on explorer. Click on the explorer icon under ‘Actions’ and explore further details.</li>

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kqiume9m0em8ybneyvul.png)
<li><strong>Bridge</strong>– Analytics for bridge operations will appear once you integrate a native bridge on your OP Stack chain. Contact Zeeve team for an effortless bridge integration. However, for TestNet and mainnet, you will automatically get a native bridge integrated already in your chain.&nbsp;</li>

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n1ht2xv120s6sv41kl06.png)
<p>Further,&nbsp; the ‘Explorer’ and ‘Analytics’ options on the Zeeve RaaS platform will allow you to get transactional activities for Layer1/Layer2 through their explorers and analytics will appear for node, OP Node, Log, and real-time alerts (if any). Note that alerts are produced and get solved immediately to ensure a seamless performance of your network.&nbsp;</p>

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/da72v7t5n4p53i1vfvic.png)
<h2 class="wp-block-heading" id="h-ready-to-launch-testnet-or-mainnet">Ready to launch Testnet or Mainnet?</h2><p>That’s how easily you can set up your own OP Stack DevNet and test drive all the broad configurations and OP Stack-specific functionalities. Similar instructions can follow for launching your testnet or mainnet on Zeeve RaaS; only the options for integrations will expand to enable the highest degree of modularity. While Zeeve’s RaaS platform is standardized, we understand that your project’s requirements may differ. Hence, you can <a href="https://www.zeeve.io/talk-to-an-expert/">set up a call with our web3 experts</a> or send all your queries via email to us. We will handle all your queries diligently and provide you a solution as quickly as possible.</p>