DEV Community

Cover image for Step-by-step guide to Build an OP Stack Rollup DevNet with Zeeve RaaS
Zeeve
Zeeve

Posted on • Originally published at zeeve.io

Step-by-step guide to Build an OP Stack Rollup DevNet with Zeeve RaaS

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. 

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. 

Similar guides we’ve done for Polygon CDK, Zk Stack Hyperchain, and Arbitrum Orbit

Why OP Stack is a preferred option for top web3 projects?

Since launch, OP Stack 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:

  • Bedrock implements a unique data compression technique to reduce the network fees significantly– by 10% and meanwhile removing the execution gas from Layer1.
  • After Bedrock, the deposit time has been reduced from 10 minutes to merely 3 minutes, contributing to better user experience and performance.
  • 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.
  • 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.
  • Node performance is improved significantly after Bedrock as technical debt such as the need for an independent ‘data transport layer’ has been eliminated.

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 here.

Guide to deploy OP Stack DevNet

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: Inside OP Stack Universe: Latest & Greatest Projects to Watch in 2024

Quick walkthrough of Zeeve’s OP Stack RaaS Stack

Zeeve offers a comprehensive RaaS stack for all the leading rollup frameworks, including OP stack.  

  1. Production-grade infrastructure: 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.
  2. One-click deployment sandbox: 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.
  3. 40+ third-party rollup service integrations: If you want modularity in your OP Stack rollups, Zeeve RaaS allows you do so with its wide range of 3rd party rollup integration list comprising of decentralized sequencers, Alt DA layer, account abstraction, prover, custom block explorers, and a lot more. 
  4. 24/7 monitoring with Enterprise SLA: 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. 
  5. Ready-to-use, pluggable components: 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.

Deploy your own OP Stack Rollup DevNet with Zeeve RaaS: Step-by-step guide 

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:

Step:1 Login or signup to the Zeeve RaaS platform. From the dashboard, navigate to the ‘Appchains & Rollups’ section and click on ‘OP Stack’.  

Image description

Step:2 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 guide for an in depth overview of the Zeeve demo account offerings on Zeeve RaaS. 

Image description

Step:3 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& L2, asset bridge, L1 & L2 supported explorer, 24/7 monitoring & analytics dashboard. All these offerings you can access for free in the Zeeve’s 30-days trial period.

Step:4 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.

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. 

Image description

Step:5 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.

Step:6 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.

Step:7 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. 

Image description

Step:8. 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.

Image description

24/7 Monitoring & Analytics for your OP Stack DevNet

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.

  • Here’s what analytics you will get from the overview option.
  • Image description

  • My nodes–Get details about nodes that underpins your DevNet network, such as Node ID, Name, Status, and creation info.
  • Image description

  • Smart contracts– 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.
  • Image description

  • Bridge– 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. 
  • Image description

    Further,  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. 

    Image description

    Ready to launch Testnet or Mainnet?

    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 set up a call with our web3 experts 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.

    Top comments (0)