Migrating from the Test Network to Mainnet ​ (2024)

If you've already used Rocket Pool on our Holesky test network, are comfortable with its ins and out, and are ready to either stake ETH or run a node for real on the main Ethereum chain, then this guide is for you! Here you will find instructions on how to migrate an existing Smartnode stack from the Holesky test network to one connected to the Ethereum mainnet, ready for staking your own real ETH and RPL.

Pool Staking on Mainnet

Pool staking is largely the same process on mainnet as it was on the testnet. The URL will be different and the address of the rETH token may be different, but there are no significant changes to the workflow. Follow the Staking Guide, which has been updated with instructions for mainnet.

Differences Between the Testnet and Mainnet

  • The testnet Smartnode has a faucet for test ETH. The mainnet Smartnode does not have a faucet. You will need to supply your own ETH in order to stake.
  • Mainnet supports many Ethereum wallets via WalletConnect, so you can use other wallets that you could not use on the testnet. You are no longer restricted to using Metamask in order to stake.

Smartnode Operation on Mainnet

NOTE

Nothing from the test network can be migrated to mainnet. The chain data is different for both Execution and Consensus, so you must remove the old chain data and resync the mainnet chains from scratch. Your validators on the testnet do not carry over to mainnet. Also, for security, compatibility, and safety purposes, you must make a new wallet on mainnet!Do not use your testnet node wallet on mainnet!

The following steps will delete all of your testnet data. If you want to preserve your test network setup, you should back up your hard drive or move it to a second machine.

Differences Between the Testnet and Mainnet

  • The testnet Smartnode has a faucet for ETH and RPL. The mainnet Smartnode does not have a faucet. You will need to supply your own ETH and your own RPL.
  • If you are using Geth, your node's workload will be considerabily higher. Geth takes approximately 20x the storage space of Holesky (400 GB as of 2021-09-05), and requires more CPU power and RAM to process. If you're using the Rocket Pool Grafana dashboard, be prepared to see much higher usage.
  • Your Beacon Chain peers (and thus, your attestation effectiveness) will be higher than the testnet. Peers on mainnet are much more diverse and tend to be higher quality than on the testnet.
  • The RPL rewards checkpoint occurs every 28 days instead of every 3 days, to help offset high gas costs.
  • The RPL price used by the Rocket Pool network (and thus, your collateral level) along with the total effective staked RPL across the network are reported once every 24 hours instead of once every hour.

Automatic Migration (Docker Mode Only)

For Docker Mode users, the Smartnode can migrate to Mainnet for you automatically.

While you still have the testnet configured, exit your validators on Holesky:

rocketpool minipool exit

Select 1: All available minipools from the list of choices and wait for it to complete. This will help clean up the network by removing your validators instead of leaving them to constantly fail attestations and weaken Holesky's health (since they're no longer online).

Once that's done, open the Settings Manager:

rocketpool service config

Next, open the Smartnode and TX Fees category and change the Network drop down from Holesky Testnet to Ethereum Mainnet:

Migrating from the Test Network to Mainnet ​ (1)

When you save and exit, you will be prompted with a notification that everything is about to be erased and a confirmation dialog:

WARNING: You have requested to change networks.All of your existing chain data, your node wallet, and your validator keys will be removed.Please confirm you have backed up everything you want to keep, because it will be deleted if you answer `y` to the prompt below.Would you like the Smartnode to automatically switch networks for you? This will destroy and rebuild your `data` folder and all of Rocket Pool's Docker containers. [y/n]

Back up anything you want to keep (such as your data folder which contains your node wallet and validator keys), then press y and Enter when you're ready. The Smartnode will handle switching over automatically.

When it's done, you will be left with a fresh install on Mainnet. All of your settings (such as client choice) will be preserved, but you will need to create a new wallet. Also, you likely will not have a Checkpoint Sync URL on mainnet and should set one up as explained here; otherwise it will take a long time to sync the mainnet beacon chain.

Migrating Manually

If for any reason you cannot leverage the Smartnode's automatic migration process, you can do it manually in a few simple steps:

  1. While you still have the testnet configured, exit your validators on Holesky:

    rocketpool minipool exit

    Select 1: All available minipools from the list of choices and wait for it to complete. This will help clean up the network by removing your validators instead of leaving them to constantly fail attestations and weaken Holesky's health (since they're no longer online).

  2. Shut down the testnet:

    rocketpool service stop
  3. Delete your testnet chain data and Docker containers:

    rocketpool service terminate
  4. Delete your Rocket Pool configuration folder:

    sudo rm -rf ~/.rocketpool
  5. (Optional) Delete your Rocket Pool CLI:

    rm ~/bin/rocketpool

    You will overwrite this with the latest version of the CLI anyway, but if you want to be thorough, you can remove the old one first.

At this point your testnet installation has been purged, and you can safely migrate to a new mainnet installation. Follow the Creating Node with Docker guide carefully to set it up.

Migrating from the Test Network to Mainnet ​ (2024)

FAQs

How to migrate from testnet to mainnet? ›

Migrating Manually ​
  1. While you still have the testnet configured, exit your validators on Holesky: rocketpool minipool exit. ...
  2. Shut down the testnet: rocketpool service stop.
  3. Delete your testnet chain data and Docker containers: ...
  4. Delete your Rocket Pool configuration folder: ...
  5. (Optional) Delete your Rocket Pool CLI:

What is the difference between testnet and mainnet? ›

The main difference between the two is simple. Mainnet is like the real action on a Blockchain, where real transactions happen with real results. On the other hand, Testnet is like a playground for developers to try out and improve their apps without any real risks.

What is the mainnet migration? ›

Mainnet Swap Meaning: Mainnet Swap - is the migration of a cryptocurrency project from a third-party blockchain network to its native blockchain network.

How to transfer BSC testnet to mainnet? ›

Typically, to transfer BSC testnet tokens to the mainnet, you will need to:
  1. Obtain the mainnet equivalent of your testnet tokens by swapping them through a platform or an exchange that supports this feature.
  2. Send the mainnet tokens to a mainnet wallet address that you control.
Jan 31, 2023

How do I switch to mainnet? ›

Select the drop-down arrow in the top left corner of the app. It will currently display the network you're connected to, such as 'Ethereum Mainnet', or any other you used last. 2. Scroll through the menu until you find the OP Mainnet network, then click on it to switch.

What is mainnet testnet? ›

Introduction to Mainnet and Testnet in Blockchain

Simply put, a mainnet is the primary network where actual transactions occur, while a testnet serves as a sandbox for developers to test and refine their projects (using cryptoassets with no real value) before releasing them to the public.

What is an example of a mainnet? ›

Every mainnet contains a native cryptocurrency that is utilized for different network functions. This covers paying transaction fees, rewarding validators (miners or stakeholders) and taking part in governance processes. Examples are Ether (ETH) for the Ethereum mainnet and Bitcoin (BTC) for the Bitcoin mainnet.

What happens after testnet? ›

In Web3 development, launching on the mainnet happens at the end of the development cycle, after extensive testing on both devnet and testnet. After deploying code to mainnet, your code is now live on the blockchain—congrats!

What are the advantages of mainnet? ›

Mainnet Advantages

Decentralization and Security: Mainnet is highly secure due to the robust network of nodes and miners. Transactions on the mainnet are confirmed through consensus mechanisms, such as proof of work (PoW) or proof of stake (PoS), ensuring the integrity of the blockchain.

How long does it take to migrate to mainnet? ›

For those who have completed the mainnet checklist of Pi Network and are in the queue for migration, all that's required is to wait for the migration process to complete. After the migration is finished, a 14-day waiting period begins.

What is the purpose of mainnet? ›

A Mainnet is the foundation of a Blockchain network, where cryptocurrency transactions are processed and recorded. It signifies that the Blockchain is ready for public use, allowing users to send and receive cryptocurrency. Mainnets are essential for real-world transactions, making them different from testnets.

Has anyone migrated to Mainnet? ›

In anticipation of the upcoming Mainnet Transition Roadmap V2, the Pi Network has witnessed a substantial surge in Pi migration to the mainnet. The latest data reveals that an impressive 2.5585 billion Pi have been successfully migrated, with a significant portion—1.6883 billion Pi—already securely locked.

Do tokens on a testnet have value? ›

It's essential to note that testnet tokens do not hold any real value and are solely intended for testing and development purposes.

How to convert testnet coin to real coin? ›

If you have a testnet wallet, you will only be able to operate with other testnet wallets. As mentioned before, testnet wallets do not involve real currency, and there is no way to turn testnet currency into cryptocurrency with monetary value.

How do I connect my trust wallet to BSC mainnet? ›

To link your Trust Wallet to Binance Smart Chain (BSC), follow these steps:
  1. Open Trust Wallet.
  2. Access Settings.
  3. Networks.
  4. Add BSC Network.
  5. Save Changes.
Oct 22, 2023

How to convert testnet to Mainnet MetaMask? ›

How to add network (testnet, mainnet) to Metamask account?
  1. Log in with the Metamask account.
  2. From the Top Panel click on the network displayed.
  3. Choose the network from the dropdown. ...
  4. Check the details and click “Add” to add the network to your Metamask account.

How do I withdraw from testnet? ›

The withdrawal process is simple and has two steps:
  1. Request withdrawal: Lock your stETH/wstETH by issuing a withdrawal request. ETH is sourced to fulfill the request, and then locked stETH is burned, which marks the withdrawal request as claimable. ...
  2. Claim: Claim your ETH after the withdrawal request has been processed.

How to swap testnet tokens? ›

Below is a step-by-step guide to test Swap on testnet.
  1. Step 1: Request testnet tokens from faucets.
  2. Step 2: Check if MATIC arrive in your wallet.
  3. Use Ready App.
  4. Use corresponding scanner.
  5. Step 3: Start testnet swaps.
Feb 24, 2023

Top Articles
Latest Posts
Article information

Author: Terrell Hackett

Last Updated:

Views: 6076

Rating: 4.1 / 5 (72 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Terrell Hackett

Birthday: 1992-03-17

Address: Suite 453 459 Gibson Squares, East Adriane, AK 71925-5692

Phone: +21811810803470

Job: Chief Representative

Hobby: Board games, Rock climbing, Ghost hunting, Origami, Kabaddi, Mushroom hunting, Gaming

Introduction: My name is Terrell Hackett, I am a gleaming, brainy, courageous, helpful, healthy, cooperative, graceful person who loves writing and wants to share my knowledge and understanding with you.