Launch your first zkSync Hyperchain: Test Rigorously & Deploy to Publicnet
Published: 2024-03-05 07:08:28

<p>Building a custom, use case-specific <a href="https://www.zeeve.io/appchains/zksync-hyperchains-zkrollups/">zkSync hyperchain</a> from ground up is a complex and prolonged process. That’s because you need to work on everything– be it setting up <a href="https://www.zeeve.io/blockchain-protocols/deploy-polygon-zkevm-node/">zkEVM</a> execution environment, programming smart contracts, or setting up crucial components such as nodes, prover, and sequencer. However, if you plan to launch your first zkSync Hyperchain, this article will help you. We will discuss both the programming and the point-and-click deployment, allowing you to choose a suitable option to <a href="https://www.zeeve.io/appchains/zksync-hyperchains-zkrollups/">launch zkSync Hyperchain</a>.</p>
<figure class="wp-block-image aligncenter size-large"><a href="https://www.zeeve.io/appchains/zksync-hyperchains-zkrollups/"><img src="https://www.zeeve.io/wp-content/uploads/2024/02/Deploy-your-dedicated-zkSync-Era-node-in-minutes-1024x130.jpg" alt="Launch with zkSync Hyperchain" class="wp-image-61010"/></a></figure>
<h2 class="wp-block-heading" id="h-what-are-zksync-hyperchains">What are zkSync Hyperchains?</h2>
<p>Hyperchains are custom, use case-specific <a href="https://www.zeeve.io/blockchain-protocols/deploy-polygon-zkevm-node/">zkEVM chains</a> running in parallel while sharing a common settlement layer. Although new, <a href="https://www.zeeve.io/appchains/zksync-hyperchains-zkrollups/">hyperchains</a> are getting massive traction and are being built across a range of projects spanning <a href="https://www.zeeve.io/blog/banking-the-unbanked-defi-promoting-financial-inclusion/">DeFi</a>, <a href="https://www.zeeve.io/blog/rise-of-gaming-economy-powered-by-blockchain/">Gaming</a>, payments, <a href="https://www.zeeve.io/blog/tokenization-of-assets-how-blockchain-is-rewriting-asset-management/">tokenization</a> (NFTs &amp; RWA), and more, where hyper scalability, security, and <a href="https://www.zeeve.io/blog/blockchain-interoperability-key-for-global-blockchain-adoption/">interoperability</a> are top priorities.&nbsp;</p>
<p>Anyone can build their own hyperchain permissionlessly and deploy them to suit the specific needs of their application. Further, to make hyperchains interoperable, each hyperchains must use a single zkEVM engine that powers the first hyperchain; <a href="https://www.zeeve.io/blockchain-protocols/deploy-zksync-era-node/">zkSync Era</a> and is available with <a href="https://www.zeeve.io/appchains/zksync-hyperchains-zkrollups/">zkStack</a> . This is just the basic definition of hyperchains. If you want to dive deeper into end-to-end details, including hyperchain’s architecture, important features, use cases, and more– check out the article linked below: <a href="https://www.zeeve.io/blog/what-are-zksync-hyperchains-a-guide/">What are zkSync Hyperchains &amp; how do they bring hyper scalability to L3 dApps?&nbsp;</a></p>
<h2 class="wp-block-heading">Key factors for Hyperchain’s rapid adoption:</h2>
<p><a href="https://www.zeeve.io/appchains/zksync-hyperchains-zkrollups/">Hyperchains</a> are becoming one of the preferred choices for enterprises and web3 projects for various reasons, such as their simple proof aggregation technique, innovative concept of Layer3s, layered aggregation, in-built <a href="https://www.zeeve.io/blog/exploring-the-benefits-of-account-abstraction-in-rollups">account abstraction</a>, and faster proof generation. However, we will be spotlighting zkStack chain’s main features that really set it apart:</p>
<li><strong>Hyper scalability:</strong> <a href="https://www.zeeve.io/appchains/zksync-hyperchains-zkrollups/">zkStack hyperchains</a> are on-chain rollups that are designed to work as either Layer2 or <a href="https://www.zeeve.io/blockchain-protocols/deploy-polygon-zkevm-node/">Layer3 zkEVM chains</a>. For both of these instances, transactions are computed off-chain with low network congestion and lower fees. This enables hyperchains to offer hyper scalability for all types of applications.&nbsp;</li>
<li><strong>Sovereignty:</strong> All your hyperchains will function as sovereign chains, and this essentially means that proof of aggregation will be optional. Chains can choose to settle their proof on Layer1 <a href="https://www.zeeve.io/blockchain-protocols/deploy-ethereum-blockchain/">Ethereum</a> or on the <a href="https://www.zeeve.io/blockchain-protocols/deploy-zksync-era-node/">zkSync Era ecosystem</a>. In addition, hyperchains can join or exit the ecosystem anytime, removing or adding assets to the shared bridge.</li>
<li><strong>Seamless inter-chain connectivity:</strong> Each of the hyperchains is powered by the same zkEVM engine, and they are interconnected through a shared hyperbridge. These enable zkStack chains to seamlessly interact and share arbitrary messages, <a href="https://www.zeeve.io/blog/tokenization-of-assets-how-blockchain-is-rewriting-asset-management/">assets</a>, <a href="https://www.zeeve.io/blog/tokenization-of-assets-how-blockchain-is-rewriting-asset-management/">tokens</a>, etc, as required.</li>
<li><strong>Modularity: </strong>Hyperchains are modular by nature. It gives you the freedom to choose a specific sequencer, <a href="https://www.zeeve.io/blog/what-is-data-availability-layer-in-rollups">data availability (DA) layer</a>, customize the privacy, choose between <a href="https://www.zeeve.io/rollups/">rollup</a> or Validium, logical partitions, etc.&nbsp;</li>
<h2 class="wp-block-heading">How to launch your first Zksync Hyperchain?</h2>
<p>There are two main ways to <a href="https://www.zeeve.io/appchains/zksync-hyperchains-zkrollups/">build and launch your hyperchain</a> from scratch– the traditional programming-based approach and the low-code way, which is enabled through <a href="https://www.zeeve.io/rollups/">Rollups-as-a-service (RaaS) platforms</a>. We will discuss both options in this article:&nbsp;</p>
<h3 class="wp-block-heading">Option:1 The programming way of building and launching Hyperchains</h3>
<p><a href="https://www.zeeve.io/appchains/zksync-hyperchains-zkrollups/">Launching a zkSync hyperchain</a> from scratch requires you to perform several steps, from getting the prerequisites to setting up infrastructure, testing the hyperchain, and finally, deployment. To do this, you need extensive knowledge about zkSync Era, its frameworks &amp; SDKs, plus you should have experience in rollup-specific development and multiple integrations.</p>
<h4 class="wp-block-heading"><strong>1. Preparing the development environment:&nbsp;</strong></h4>
<p>Ensure you have basic dependencies for ZK tech, such as Node.js and npm installed in your system. Plus, you need to get all dependencies listed <a href="https://github.com/matter-labs/zksync-era/blob/main/docs/guides/setup-dev.md">here</a>. Once done. Clone the zkSync repository from GitHub through this <a href="https://github.com/matter-labs/zksync.git">link</a>.</p>
<h4 class="wp-block-heading">2. Configure your Hyperchain:</h4>
<p>Create and compile configuration files of your hyperchain so that the chain suits your application requirements. The parameters here can be related to network &amp; server settings, selection of virtual machine, smart contract, Zk components (like prover, sequencer, DA layer, aggregator), and RPC settings.</p>
<h4 class="wp-block-heading">3. Test Hyperchain Locally:</h4>
<p>For testing your hyperchain locally, you need to run the zkSync Server in a local environment and deploy contracts, wallets, and other components on the testnet to ensure they all function as expected.</p>
<h4 class="wp-block-heading">4. Deploy your Hyperchain:</h4>
<p><a href="https://www.zeeve.io/appchains/zksync-hyperchains-zkrollups/">Deploy your hyperchain</a> locally– follow the step-by-step instructions mentioned <a href="https://docs.zksync.io/zk-stack/running-a-hyperchain/locally.html">here</a>. For in-production deployment, the process is almost similar to the local one. However, there will be a different configuration in Database and Server (consisting of sequencer and prover). Check these <a href="https://docs.zksync.io/zk-stack/running-a-hyperchain/production.html">docs </a>for more ZK tech information.</p>
<h3 class="wp-block-heading">Option:2 The low-code hassle-free way to launch your own hyperchain&nbsp;</h3>
<p>Zeeve’s one-click sandbox deployment tool enables a quick and hassle-free way to launch your <a href="https://www.zeeve.io/appchains/zksync-hyperchains-zkrollups/">custom zkSync hyperchain</a> in DevNet. The sandbox tool is optimized to support rigorous testing of hyperchains on the Devnet, allowing projects to get 100% confidence before making the chain live on the mainnet. Below is a step-by-step process explaining how to <a href="https://www.zeeve.io/appchains/zksync-hyperchains-zkrollups/">deploy a hyperchain</a> with Zeeve in minutes.&nbsp;</p>
<p><strong>Step:1 </strong>Login to <a href="https://www.zeeve.io/">Zeeve</a> if you already have an account, or else continue with signup. On the dashboard, navigate to <a href="https://www.zeeve.io/appchains/">appchain</a> &amp; <a href="https://www.zeeve.io/rollups/">rollups</a> and click on ‘zkSync Hyperchains’.</p>

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uqpdw2w33u64qt4vn3j0.png)
<p><strong>Step:2</strong> A new dashboard similar to the below image will open. Click on ‘Deploy Devnet’ to start deploying Devnet for your hyperchain. Note that Zeeve's zkSync sandbox is absolutely free to access for 15 days for a single user. Hence, you do not necessarily need a subscription to get started.&nbsp;</p>

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9pcvq3b7ncqu3x2c3nf7.png)
<p><strong>Step:3</strong> A 3-step configuration panel will appear, showing general, RPC, and infrastructure configurations. For general configuration, provide details, such as a unique name for your hyperchain and hyperchain ID, and then select workspace, which you can set as default, or you can customize your own workspace. Fill in all the details and click ‘Next’.</p>

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6ya7b23x5yykjzayh0gh.png)
<p><strong>Step:4</strong> Next is the RPC configuration of your <a href="https://www.zeeve.io/appchains/zksync-hyperchains-zkrollups/">hyperchain</a>. For this, provide a RPC node name and enable public endpoint. On this same page, select the authentication method– API key or basic (connect with the Zeeve team for this). Further, enable your preferred&nbsp; JSON-RPC API Method. Click ‘Next’ once done.&nbsp;</p>

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7dcix53qzqvvbhf5xr1f.png)
<p><strong>Step:5</strong> As the final step, complete the infrastructure-specific configuration of your chain. Select a region and click on submit to <a href="https://www.zeeve.io/appchains/zksync-hyperchains-zkrollups/">deploy your hyperchain</a>.&nbsp;</p>

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qduqp7zayvj0nplltykn.png)
<p>That’s done! You have successfully deployed a Zksync hyperchain, which took only a few minutes.&nbsp;</p>
<h4 class="wp-block-heading">Monitoring and Management of Hyperchains</h4>
<p>Now that you have a running devNet for your zkSync hyperchain, you can monitor and manage it from the Zeeve’s dashboard. Again, navigate to zkSync Hyperchains and click on ‘View’.&nbsp;</p>

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b9p9x2d8bz0t3g90yqyo.png)
<p>A new page will open where you can see end-to-end details of your hyperchain network, such as overview, blockchain configuration, node performance, and cloud infrastructure. In case of any performance-related issue, you will get real-time alerts.&nbsp;</p>

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/36ud2hxhf26d3zlyx6gr.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kheamz8w5sptjjhlnku0.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t6q4plvsb7xisg3ee8pb.png)
<h4 class="wp-block-heading">Pushing your zkSync Hyperchain to the Publicnet</h4>
<p>After rigorous testing of your hyperchain on devnet, if you feel confident about moving the chain to mainnet, <a href="https://www.zeeve.io/">Zeeve</a> will help you. Based on the exact configurations you’ve done on the devnet, Zeeve will set up your hyperchain network and make it live on the publicnet. Speaking about management, the process is similar to how we discussed the management of hyperchain on devnet. You can easily manage and scale your production-level hyperchains with Zeeve, ensuring their uptime and performance.&nbsp;</p>
<h4 class="wp-block-heading">Deleting your Hyperchain:</h4>
<p>If you wish to delete your hyperchain devnet and redeploy a new devnet, Zeeve’s sandbox tools allow you to do so. For this, go to the network details page and simply click on the delete icon on the right side. Confirm and delete your hyperchain.&nbsp;</p>

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2cewoonqrvge49x6wi7t.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/npaonruonro2vr4oinzn.png)
<h4 class="wp-block-heading">Additional, 3rd Party Integrations for your zkSync Hyperchains:&nbsp;</h4>
<p>Knowing that modular rollup chains are the future and the top preference of a lot of web3 projects, <a href="https://www.zeeve.io/">Zeeve</a> offers a variety of additional integrations from 3rd party <a href="https://www.zeeve.io/rollups/">rollup service providers</a>. For example, you can choose <a href="https://www.zeeve.io/blog/zeeve-to-bring-low-cost-data-availability-to-rollups-with-celestia">Celestia</a>, <a href="https://www.zeeve.io/blog/zeeve-partners-with-avail-to-bring-zk-based-data-availability-layer">Avail</a>/<a href="https://www.zeeve.io/blog/zeeve-raas-partners-with-near-da-to-power-ethereum-rollup-builders-with-efficient-data-availability">NearDA</a>/ <a href="https://www.zeeve.io/blog/zeeve-partners-with-eigenda-to-provide-cost-efficient-da-layer-solutions-to-rollups">Eigen DA</a> for an alternative DA layer. Similarly, you can choose decentralized oracles from Redstone or Pyth and block explorers from Blockscout or Dora.</p>

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f3sakgcf2z5ulsg16su4.png)
<h2 class="wp-block-heading">Launch your production-grade L2/L3 Rollups easily with Zeeve</h2>
<p>Zeeve <a href="https://www.zeeve.io/rollups/">Rollups-as-a-service (RaaS)</a> stack is designed to support a range of Layer2 and Layer3 rollup launches. With sandbox tools for <a href="https://www.zeeve.io/appchains/zksync-hyperchains-zkrollups/">zkSync Hyperchain</a>, <a href="https://www.zeeve.io/appchains/polygon-zkrollups/">Polygon CDK</a>, and <a href="https://www.zeeve.io/appchains/arbitrum-orbit-rollups/">Arbitrum Orbit</a> (coming soon), Zeeve is offering an easy route to hyperchain development, providing an abstraction layer over the resource-intensive and complex process of creating hyperchain. With that, <a href="https://www.zeeve.io/">Zeeve</a> saves 97% of total development time and over 60% in total cost. Also, as we discussed, Zeeve RaaS offers a range of 3rd party integrations, from alt DA layer, to decentralized sequencer, <a href="https://www.zeeve.io/blog/exploring-the-benefits-of-account-abstraction-in-rollups">account abstraction</a>, and more, enhancing modularity of your <a href="https://www.zeeve.io/rollups/">rollup</a>.&nbsp;</p>
<p>For more information on how <a href="https://www.zeeve.io/">Zeeve</a> is simplifying the launch of Layer2 and layer3 <a href="https://www.zeeve.io/rollups/">rollups</a> or diving deeper into our blockchain-related services, connect with our experts. You can send us your queries via mail or <a href="https://www.zeeve.io/talk-to-an-expert/">schedule a one-to-one call</a> for a detailed discussion.</p>