Deploy and Stake a Shardeum Validator on Spheron in Minutes
Tags: shardeum, web3, blockchain, deployment
Published: 2024-01-18 14:36:03


---
title: Deploy and Stake a Shardeum Validator on Spheron in Minutes
published: true
date: 2024-01-08 04:30:24 UTC
tags: shardeum, web3, blockchain, deployment
canonical_url: https://blog.spheron.network/deploy-and-stake-a-shardeum-validator-on-spheron-in-minutes
---

In blockchain technology, solutions addressing the scalability trilemma of scalability, security, and decentralization have remained an ongoing challenge. [Shardeum](https://shardeum.org/) emerges as a groundbreaking EVM-compatible Layer 1 (L1) smart contract platform, revolutionizing this space by leveraging dynamic state sharding. This innovative approach redefines the validation process, distributing transaction verification across shards in the network for enhanced throughput and scalability.

This article delves into the seamless deployment and staking process for a Shardeum validator using Spheron, a user-friendly platform simplifying node configuration and participation in the Shardeum ecosystem. Through step-by-step guidance, users can easily deploy a Shardeum node, contribute to network security, and stake testnet SHM (Shardeum's native token) to actively participate in the testnet.

## What is Shardeum?

[Shardeum](https://shardeum.org/) is an EVM-compatible, [dynamically state sharded](https://docs.shardeum.org/introduction/dynamicstatesharding) L1 smart contract platform. Expressed simply, sharding breaks the job of validating and confirming transactions into small pieces or shards and spreads them out in the network.

_Here is a diagram demonstrating how un-sharded data in a single node can be sharded amongst three nodes:_

![](https://lh7-us.googleusercontent.com/kMLPADP0KHobzOwHogY4zeqarhrlk1WOA2pEfFYpPENDrwCJMvRzMv6DX9_igU404XuCpH_oxCHe3Z-eQmANWxykurVlN0KZBg6NpJPAHo4-mM0o__kqKx8cUeN8aBNsC0LmsfHkRqMlLBaW2fR8tnY)

_Image created with LucidChart_

Shardeum utilizes parallel processing across shards to achieve high throughput with linear scalability. This is achieved while concurrently enabling low gas fees & and ensuring security with a combined [proof-of-stake and proof-of-quorum for consensus](https://docs.shardeum.org/introduction/consensus), while block-level consensus is not required for finality.

## Solving the Scalability Trilemma

![](https://lh7-us.googleusercontent.com/V0QZsjldDWJ_fhSnB2XVqddLbFG2uxYLquAuwAgI_rEu9-VnkAvq59Lzxo4twxcFDmqU19ho9S1kSLLrO-i2nmhCDZOYzrdxlDZcJXKYYBqh1DI2kJU7Lee4qMRrZyi4zKu9xQCfDbq86rkNevRiaFk)

The [scalability trilemma](https://www.researchgate.net/publication/342639281_Scaling_Blockchains_A_Comprehensive_Survey) is a set of trade-offs originally posited by Vitalik Buterin, where blockchains can generally only prioritize two out of 3 of the following characteristics:

1. Scalability

2. Security

3. Decentralization

Vitalik did add the caveat that achieving all three is actually possible but very difficult.

Shardeum solves this problem with the following:

- Performing consensus and processing at the transaction level instead of the block level.

- Using dynamic state sharding to achieve scalability through parallelization by distributing workload throughout the network.

- Reduced overhead for validator nodes because they only need to store state data for their own shard.

- This allows the network to auto-scale horizontally by adding additional nodes instead of being forced to scale vertically by increasing the computing resources of each node.

- This allows for fast finality and atomic shard composability.

## What is Spheron Network?

[Spheron Network](https://spheron.network/) is a next-generation PaaS that offers low-cost and seamless access to Web3 infrastructure across multiple chains. It is explicitly designed to serve a broader audience, including startups, developers, and organizations looking to scale their infrastructure.

Spheron Network offers a Compute Marketplace that you can use to set up useful tools like Avail Node quickly. With Spheron, you don't have to worry about the technical stuff, and you can focus on deploying your Avail Node with ease. In addition to compute, web hosting, and storage capabilities, Spheron offers many features to enhance productivity and enable stakeholders to reach new heights while prioritizing privacy, security, and reliability.

## Deploy a Shardeum Validator on Spheron

Deploying a Shardeum Validator on Spheron is a straightforward process. Running a Shardeum validator allows you to contribute to network security while also earning testnet SHM rewards. Here's a step-by-step guide to setting it up:

**Step 1:** If you dont already have a [Spheron account then sign up here](https://app.spheron.network/#/signup)!

**Step 2:** After logging into Spheron, navigate to the [Compute Dashboard](https://app.spheron.network/#/compute/dashboard) and click New Cluster.

![](https://lh7-us.googleusercontent.com/k3Mzh5BA66S7kLADdjWZHWml5MPIGZMN1pfdBNr5ip1At0XN58MuJchC79aAga_QrbXiCFPXZt7EXaWj0dXeUlM0adAFYxvp8kqJMu2Ncu-ME45ENxkUFZekRp9FYaXr_8Fy91FmywSc-noRlnnbQxw)

**Step 3:**

1. Select Compute and Compute Type as On Demand

2. Then Select Start from the marketplace app

3. In the search box, type "Shardeum"

Spheron marketplace has a pre-baked docker image for the [Shardeum node](https://app.spheron.network/#/compute/marketplace?template=Shardeum%20Testnet%20Validator&templateId=6496eb9ba579a6bc8507cae7) ready to go for you!

**Step 4:** Select your preferred region for deployment. By default, The container will be deployed in the EU-east region for On Demand. Choosing a region closer to your users can improve performance and reduce latency.

**Step 5:** Then, Spheron will pre-populate the recommended instance plan, Terra Large Ti, and SSD storage, 256GB.

This instance and storage plan were specially selected to meet the [Shardeum minimum hardware requirements noted here](https://docs.shardeum.org/node/run/validator#minimum-hardware-requirements).

**Step 6:** The marketplace app will also automatically configure networking, ports, parameters, and commands for you. Check out the [Shardeum validator docs to learn more about these settings](https://docs.shardeum.org/node/run/validator#step-2-download-and-install-validator).

![](https://lh7-us.googleusercontent.com/MAtcmdvYO8LrEZ0zsXFUE79yAPKgZ_Rtk2DI5A2mLmzkEDy3aNxY32Ms_VEjZtQr-TDByNyXx_uG5tw7eHmQWIRabLMjgf-OxdAEuD_pogsb0rUlHbczfzBblEKXfHFwIT6OQ7NeNDdl8wcJfjaOq64)

**Step 7:** Spheron abstracts away the difficulty of configuring a node. You just need to click Deploy! Check out the [Spheron docs for more info](https://docs.spheron.network/marketplace-guide/shardeum/).

Now, theres just one final step to get our validator working after this initial deployment is complete.

### Updating the Config on the Spheron Instance

After your deployment is complete, grab the hostname of your provider. **_e.g._** [**_provider.us-east.spheron.wiki_**](https://shardeum.org/)

**Step 1:** Now, lets get the IP address of that host. In a console, execute the following command:

```
ping provider.us-east.spheron.wiki
```

**Step 2:** Copy the IP address returned from that command:

![](https://lh7-us.googleusercontent.com/OEHiTXkIeOw94-wsOBwJz-CvE_R4eyN7428ZSexmoZgA_Ei9o-5P674GG2PPrd61DU185VKyvzX-gvmaFEfMCbL_dgyzKDxShIe2nBJHnz4hDE9aFDX4L_7oZX8rZuJyY5pZUTqD7RtCh0kY2SNdeBo)

**Step 3:** On your instance page, in the **Port Policy Info** section, grab the external ports that map to internal ports **9001** and **10001** , respectively.

![](https://lh7-us.googleusercontent.com/OvognOOH7hR8WpyLHMJuYntrX1BxRyQLqgpaQ54G0XfZADpW7UUS6HIcHVkOXPk0ub7wmTy8qe3KbBgWNDSSB1dKaijRNb4p6XiDStSiCH0m0yIxTLkQAukBDsvgM9KUoGZKkjf2KzuYgyM6glBFZjM)

**Step 4:** Then navigate to the Settings tab on your Compute instance page and click the Update Instance button.

![](https://lh7-us.googleusercontent.com/Zfv_QIu3UwZitYU3v1XI32IFw_uP1rSupO7C6oEOeogdp-IR7__WmJZFj0hY8dYLWtEVO0JbLES1Cz5XM0pmLGTs26e_cR3r28qyZp2i3z9JtpCukK-B7RosafmETgKttqTvASlbfYv0lAysHB_J8Q0)

**Step 5:** After clicking Update Instance, scroll down to the Template Configuration section and paste in the IP address of your provider from the previous step for the parameters:

- SERVERIP

- LOCALLANIP

**Step 6:** Then, update the parameters SHMEXT and SHMINT with the mapped external ports you grabbed from the previous step.

**Example:**

- SHMEXT: 30628

- SHMINT: 30194

![](https://lh7-us.googleusercontent.com/q9lT7akx9ZhqpBLCXCe0s0QewruFd9Mf8Pk18EJTb-vNZvbG94WGHhxzIQECit0_-7VRyagQbO3UibME8Je07yCK-OV7_EpIvICdsZzhAablDqF3qNQvov4j326Yww6gMHXurBgwh1TOAI_6LFI2pHs)

**Step 7:** click Update to restart the instance with the updated config. After your instance starts back up, we will update the default GUI password.

You will know the instance is running when you see the following in the logs:

```
Starting operator guidone
```

### Update your GUI Password

The marketplace app sets a default password for your instance, but you need to change that ASAP!

**Step 1:** Navigate to the Shell tab on your Spheron instance:

![](https://lh7-us.googleusercontent.com/r-vh9-HFbl8jq7wwETnYhwsFQpRr1a4ngFa8zSlr2-TIAKblPrgnhVEJTg5jUdBw0oxOm020NhZ8UjSKoxML1lrPz7QsdtxRh9agMjLbLlij8zf05kDoQGD7I_b5sPCmA6nqbbn2WmeuRghYrMi1U9c)

**Step 2:** Enter the below command in the box and click Run Command:

```
operator-cli gui set password YOUR_PASSWORD_HERE
```

Be sure to select a secure password! Check out the [Spheron docs for more info](https://docs.spheron.network/marketplace-guide/shardeum/#how-to-run-the-node).

## Staking your Shardeum Validator to Join the Testnet

Now that we have a Shardeum node deployed, the next step is to stake our validator with SHM so that it can be included in the network during the next rotation.

### Acquire SHM in your Wallet for Staking

Follow these steps to set up your wallet for staking:

**Step 1:** [Add the Shardeum network](https://docs.shardeum.org/wallets/metamask/add-shardeum-network) to your wallet, such as [Metamask](https://metamask.io/)

1. **Network Name:** Shardeum Sphinx Validator 1.X

2. **New RPC URL:** [https://sphinx.shardeum.org/](https://shardeum.org/)

3. **Chain ID:** 8082

4. **Currency symbol:** SHM

5. **Block Explorer URL:** [https://explorer-sphinx.shardeum.org/](https://shardeum.org/)

**Step 2:** Claim some [testnet SHM from the faucet](https://docs.shardeum.org/faucet/claim) on the Shardeum Discord. You should receive 15 SHM from the faucet, and you will need 10+ gas fees.

![](https://lh7-us.googleusercontent.com/yqBDdqlCSUOxCWiF-H5LQRAaKDj61Wu39R2xH144y4diDa9hT2qP1QP6z7fsCQ86qa-FuMmhVkgXutfi5znr9XvRy1xI3jwTrjlkJu-b81oazLsB8heExcZjFtkxDIKzLIQ5R_TkRXGO0N8GfdgDaaM)

**Step 3:** Verify on the Discord server, then go to the **validator-faucet** channel and use the **/faucet** command to request SHM.

![](https://lh7-us.googleusercontent.com/RADXOQcbK83vRFPzbUkC4raJVkr-ZnF9kh39wIM31FPDshEtoJkaawOFz4QsfrnQWwx38Tj1klk92DBQK1ee3Ho7LTFa48SSf1TykgsZ4kSMTv9o5QURgIU0N07OOfXz-o8ThlAjTIiGokPmUNLBl2o)

### Navigate to your Validator GUI

Spheron is forwarding port 8080, which the GUI runs on. Get the Connection URL, which maps from port 8080 internally, and enter that URL into a browser to access the Shardeum validator dashboard.

![](https://lh7-us.googleusercontent.com/BFErSo08xohEShVO1W9QJLbhjI6Exxp3JRxIka6C4AxikakQ3t8z5Liiqz4Ed2T2G6PZKEcswRDV4drr0HOz6qNmOn13zIFCQL6p-9QoBN_jHU9LQ768JIKww2J2PNm2gwuRclsmonVSpLeCerTY_yI)

Be sure to access the URL appended with [https://](https://shardeum.org/)

_e.g._ [_https://provider.us-west.spheron.wiki:32003/_](https://shardeum.org/)

**Note: You may get a warning b/c of invalid SSL. The Shardeum docs have a** [**fix for that SSL issue**](https://docs.shardeum.org/Node/Run/Validator#step-4-open-validator-gui) **.**

**Step 1:** Then log in with the password you set up earlier.

![](https://lh7-us.googleusercontent.com/ZiGdnwhfdWBeYUtx50IfZ9lj42ozZDK5Uzbi3MdQV-iFr1JGtV65klOuH7MC4t6DRQrBzWzl1U4nDMYxZ7hRvyVmvcthy_2Tou0Bdyk0fPJAh3WxpBnqHaMMkbZ22y5YCwZ5sMYgS1btY3R2foovCNg)

**Step 2:** Next, lets start up the Validator. Go to the Maintenance tab, then click the Start Node if its not already running.

![](https://lh7-us.googleusercontent.com/nOxeyuLuwjPMye8TzAbT_AEawpPm6sUN0oAbZGgAUZkE2NrV6okGZPAVAxWAw0bJmR5k4McQenj5KiNKGkoz7lSPbFuWI_0fs8gL1SRBkyWE2sc4tzMA1aofAexXrS7z7wydg-pWrOQB6C_UURDCe0o)

**Step 3:** Next, on that same page, click Connect Wallet. Approve the prompt that pops up in your wallet. After that, click Add Stake. You should have received 15 SHM from the faucet from the step above.

- Stake Wallet Address _[pre-populated with connected wallet]_

- Nominee Public Key _[pre-populated by validator]_

- Stake amount (SHM) _[In terms of ETH, not WEI]_

It is recommended to stake 10 SHM.

![](https://lh7-us.googleusercontent.com/18Gv_lUkCBxz2hYRQHu3ylyCaDlYNV7faOTtnZJyYIOpbNc_fXg-vxeHctS84jOH36u31ad4R6lJAOeZX8WfzfkI6ft07_KYvkzLR2LhKwlB1kwz9jAU1oM57w6giJU3gUOZHKLTBgwR-d_AQWMtjms)

**Step 4:** Enter 10 into the Stake Amount field and click Stake then sign the wallet transaction.

![](https://lh7-us.googleusercontent.com/QluU2qkAnABJ61xpP6hUWFNPKjbA-42rvWDPRqEkub8JEIi9LWEAmsCtw5k7cPu_3tglyP-oudyfTyUNKTSCZDsq0H7CU8NaGXLNSFCWUvLAsjzsWYWY3qJKjidJQjunVUiSAryCvdVGGlFEvpQ-pGM)

**Step 5:** You can view the staking transaction on the Sphinx Shardeum block explorer.

**Example:**

[_https://explorer-sphinx.shardeum.org/tx/0x5f55856fc3a0476d65037ccca099594fc8e345699fada0d3686e9e32f2a1e686_](https://shardeum.org/)

### Joining the network

Your node will initially be in **Standby** mode but become **Active** during the next rotation.

Alternatively, if you prefer, you can stake directly via the CLI; check the [Shardeum docs for more info](https://docs.shardeum.org/node/run/validator#cli). This will require you to expose your private key as a secret ENV var, so be sure your wallet does not contain any mainnet assets.

After completing your stake, you can check the node status with the **operator-cli** on the **Shell** tab on your Spheron instance page.

![](https://lh7-us.googleusercontent.com/VsZpF5ruMBW5Sp1MPzYvkCkH1mninskA1hYsu0akDYl6j2y4l9g_IcYGCFUUxhJ7nRHj3R-66eG0kpl_opRAaukYGNFElKZtlzRX_3htCxjyyDiR0H46RbaLInwvtDxzOX1dsBsLh64MUbihifzsHfQ)

Check the node status with the following command:

```
operator-cli status
```

You can also check the status of your GUI with:

```
operator-cli gui status
```

Check back on your node after taking a break; eventually, your node will transition from Standby mode to Active!

Congratulations! You are now running a staked Shardeum validator. Spheron will do all the heavy lifting to ensure your node is a resilient and responsive network member!

Check out this [Shardeum FAQ](https://shardeum.org/blog/how-to-run-a-validator-node-on-shardeum-sphinx/#Frequently_Asked_Questions_FAQs) for answers to common validator issues.

## Conclusion

In conclusion, deploying and staking a Shardeum validator on Spheron is a straightforward process that can be completed in a few simple steps. With Spheron's user-friendly interface and automated configuration, users can easily participate in the Shardeum testnet and contribute to the network's security while earning testnet SHM rewards.

Following the instructions in this article, users can deploy a Shardeum node, update the config, and stake their validator to join the testnet. This combination of advanced technology and user-friendly platforms makes blockchain participation more accessible and rewarding.