Test Drive zkSync Hyperchain on Zeeveā€™s Fully Powered Demo Network
Sankalp Sharma
Sankalp Sharma
Single New Blog Page
Single New Blog Page
zkSync Hyperchain Demo Network on Zeeve

ZkSync Hyperchains is one of the powerful rollup frameworks that claims to represent the end game for Ethereum scaling. For those who are building their own hyperchain, testing becomes an important aspect of ensuring a flawless operation. What if you could access a network that is a simulation of the real ZkSync Hyperchain setup, just for the purpose of understanding the hyperchainā€™s configurations, integrations, and also testing can be done. Thatā€™s where Zeeveā€™s zkSync Hyperchain Demo Network comes into the picture. This demo sandbox is designed to allow developers and users to interact with a fully functioning zkSync hyperchain setup, test its functionalities, and thereby understand how a real network exactly looks like.Ā 

Through this article, we dive into the zkSync Hyperchain Demo Network on Zeeve to learn how you can get hands-on expertise on a hyperchainā€™s various aspects without creating a network of your own.Ā 

A walkthrough of zkSync Demo Network offered by Zeeve RaaSĀ 

The zkSync hyperchainā€™s demo network is one of the core offerings of Zeeve Rollups-as-a-service (RaaS) offerings, which is a sandbox environment designed to offer a pre-configured DevNet. It allows developers and web3 projects to explore a fully-functioning zkSync network and meanwhile see how their chain will look like. Further, they can set up their own DevNet after learning all the essentials. Note that this demo zkSync hyperchain is shared and accessible to every user. If you want custom configurations specific to your chain, you can quickly deploy a zkSync hyperchain from the same dashboard.Ā 

zkSync Hyperchain Demo Network on Zeeve

Zeeveā€™s zkSync hyperchain demo network is not merely a simulation of a static network. Rather, it provides you hands-on access to a fully powered DevNet where you can interact with components such as RPC nodes & its endpoints to interact with the network, perform bridge operations, view smart contract and wallet transactions on the explorer, download necessary files to use in further development, and much more. 

What all things you can do with the zkSync Hyperchainā€™s demo network?

Letā€™s discuss all the things Zeeveā€™s zkSync Hyperchain Demo Network has to offer. Also, we will explore the interactions enabled in this setup- for exampleā€“ viewing transactions on explorer, making RPC calls, or interacting with the bridges. 

  1. Get complete overview of the zkSync Hyperchain:

Upon login, you will see a zkSync Hyperchainā€™s overview page has all this pre-configured demo network, such as Networkā€™s name, Chain ID, Network Type, Status; deployed or synching, infrastructure provision time, etc.Ā 

Also, you will see similar details about Layer1- Ethereum Sepoliaā€™s, such as Network name, Chain ID, Deployer Balanche, Governor Balance, and ETH Operator Balance. 

Other details are also there, like node count, cloud infrastructure info, and alerts. Note that, alerts on this demo setup are produced in real-time and it also gets solved automatically. Hence, you wonā€™t see any alerts listed here.

  1. Inspect all the configurations at one-place: 

For a successful deployment, you must understand all configurations running in the backend of a hyperchain. Hence, the demo network shows a dashboard with general configuration, block-level configuration, and transaction configuration. This default configuration will help you to understand what type of configuration you may need to set up your own chain. Also, you can download the zkSync Hyperchain Env file from here.

  1. Interact through the Bridge:

The demo network of zkSync Hyperchain comes with a native bridge that you can use to perform bridge operations, such as sending or receiving funds/tokens between Layer1 and Layer2 chains.Ā 

To do this, navigate to the Bridge and click on the Bridge URL (as you can see in the above image) and connect any of your Ethereum wallets. For example, we are using Metamaskā€™s browser wallet.Ā 

For interaction, letā€™s receive some tokens in the demo account from the Ethereum Sepolia network. 

Click on ā€˜Assetsā€™ and proceed to add funds. Click on Receiveā€”>select official bridgeā€”>choose your account address. In our case, the balance on the Sepolia network is 0.05 and we are sending 0.01 to the Demo network. 

Click continue and confirm transactions from your Metamask wallet. Once confirmed, the balance will reflect in your demo account under ā€˜Assetsā€™.

  1. Make seamless RPC Calls: 

Under the nodes section, you will see the hyperchain node/nodes running for the demo network. As you can see, there are RPC Nodes and Prover Nodes. However, the prover node is for testnet/mainnet. Hence, letā€™s explore the RPC.

Navigate to the ā€˜Actionsā€™ and click the info buttonā€™s icon. This will open a detailed page showing RPC node configurations, such as General node info, Cloud infra details, RPC Endpoints, and RPC configurations. 

Using these live RPC endpoints, you can RPC calls and interact with the network. For that, you first need to install an API request builder tool, like we are using PostWoman. Also, we are initiating an RPC call for ā€˜eth_blockNumberā€™, hence it will show block number as outcome. 

Go to Postwomanā€”> change call method to ā€˜Postā€™ ā€”>paste HTTP URL (as given in the above image)  in the URL sectionā€”> paste the given command in the ā€˜Parameterā€™ section. 

{“jsonrpc”:”2.0″,”method”:”eth_blockNumber”,”params”:[],”id”:83}.

Now, click send. 

In response, you will get the result as a block number. When you convert the 0x1e16 (hexadecimal) to decimal, it will give you the exact block number, which is 7702 in the case of this demo network. Similarly, you can make RPC calls to get balance, gas price, peer count, etc. Commands for all of these you can get from Etheremā€™s official JSON API docs

  1. Deploy smart contracts:

Using the RPC endpoints from the demo network, you can do smart contract transactions and thereby deploy any type of application contract. For this, you first need to create a zkSync project using zksync-cli and perform all the configurations before deploying the contract on the network. Your contracts will operate alongside the core rollup contract to serve the specific purpose of your dApp. For this, this demo network provides detailed docs that you can get by clicking on the ā€˜Docsā€™ icon. 

  1. Check transaction details on explorer:

Be it for wallets, nodes, or smart contracts, the explorer in the demo network allows you to see comprehensive transaction details seamlessly. For example, if you want to check the transaction details for any wallet, click the explorer icon given for L1 & L2. 

It will redirect you to the Etherscan explorer and provide all the transaction details.  Similarly, you can explore details for smart contract addresses.

  1. Access 24/7 monitoring & alerts dashboard:

The Demo network comes with aĀ  24/7 monitoring & alerts dashboard, designed to show you all the real-time analytics for nodes, explorer, RPC, server, log, and alerts in a single place. It shows all sorts of data like total CPU usage, RAM used, System load, memory stack, network traffic, block height and more. Also, if something is wrongā€“ like memory or CPU is running out, it will produce real-time alerts. This exact dashboard you will get for your zkSync Hyperchain on Zeeve.Ā 

Wrap up!

Thatā€™s all about the test drive of a zkSync hyperchain using a pre-configured public network. The next step is setting up your own DevNet on Zeeveā€™s RaaS platform. Here, you get freedom to deploy & destroy sandboxes until you have the confidence to move to TestNet or Mainnet. Best part is that you can leverage this demo network without paying for any subscription. Additionally, if you are planning to launch a custom zkSync Hyperchain, or any other L1/L2 rollup chain, contact us. We will suggest the best possible solution to launch your chain at low cost, with faster time-to-market. Send us your queries via mail or schedule a call with us for one-to-one, detailed discussion. 

Share

Recent blogs
Join the Our Largest
community!

Be one of the 15,000+ innovators who
subscribe to our updates.

graphic (1)
Join the Our Largest
community!

Be one of the 15,000+ innovators who
subscribe to our updates.

Blog page graphic