Tutorial | How ordinary people run Ethereum 2.0 nodes at home

Disclaimer: This article aims to convey more market information and does not constitute any investment advice. The article only represents the author's viewpoint and does not represent the official stance of Mars Finance

Disclaimer: This article aims to convey more market information and does not constitute any investment advice. The article only represents the author's viewpoint and does not represent the official stance of Mars Finance.

Editor: Remember to follow me

Source: Block Rhythm

Original title: 'Guide: Becoming a Validator on the Eth2Testnet'

Original source: Bankless, Ryan SeanAdams

Original Compilation: 0x26

ETH2.0 has finally arrived. The big event that followed was the pledge of ETH, which means ETH has taken a solid step towards becoming a digital bond (T-bill) (Treasury Bill, one of the most important and active credit instruments in the money market). When you make a stroke, the Ethereum you hold is no longer a virtual commodity. It is more like a financial asset, from which you can receive interest dividends.

Now the Ethereum pledge contract has been launched, and ETH2.0 will be launched in January 2020. We are excited that years of hard work have finally been realized. As we released earlier in August, the tool to help people build Ethereum beta Medalla. Novice can still practice by using the Test Net guide.

Now let's get to the point, we will release the true ETH2.0 pledge guide.

The following are the contents covered by this guide:

1. Hardware requirements

2. Selecting and installing clients

3. Set ETH1.0 node

4. Use ETH2.0LaunchPad

1. Hardware requirements

Based on the design goal of Ethereum 2.0 decentralization, it is expected that the verification node will be able to use various devices (local devices, cloud services, etc.).

If you have not pledged ETH before, using MedallaTestnet is a great practice and can give you enough time to determine which type of setting provides the best and most reliable performance.

Be sure to try running the test network before starting! To conduct testing on the Medella testing website, you can take a look here.

Recommended specifications:

Operating system: 64 bit Linux, MacOSX, Windows

Processor: Intel Corei7-4770 or AMDFX-8310 (or higher)

Memory: 8GBRAM

Storage: 100GB usable Solid-state drive (SSD)

Internet: Broadband network (10Mbps)

Power supply: Uninterruptible power supply (UPS)

DigitalOcean recommendation (cloud provider):

StandardDroplet

Memory: 8GBRAM

Storage: 160GB usable Solid-state drive (SSD)

Uptime: 99.99%

Effectiveness: 8 data centers

Hourly cost: $0.060

Monthly cost: $40

Alternative hardware:

ZOTACZBOXCI662 Nano Silent Passive Cooling Mini PC, 10th Generation Intel Corei7 Processor

SanDiskUltra3DNAND2TB built-in SSD

CorsairVengeancePerformanceSODIMM Memory 16GB (2x8GB)

Minimum hardware requirements:

Operating system: 64 bit Linux, MacOSX, Windows

Processor: Intel Corei5-760 or AMDFX-8110 (or higher)

Memory: 4GB RAM Storage: 20GB usable Solid-state drive (SSD)

Internet: Broadband network (10Mbps)

Power supply: Uninterruptible power supply (UPS)

DigitalOcean alternative device (cloud provider):

StandardDroplet

Memory: 4GB RAM

Storage: 80GB usable Solid-state drive (SSD)

Uptime: 99.99%

Effectiveness: 8 data centers

Hourly cost: $0.030

Monthly cost: $20

Hardware replacement devices:

ZOTACZBOXCI642 Nano Silent Passive Cooling Mini PC 10th Generation IntelCorei5

SanDiskUltra3DNAND2TB built-in SSD

CorsairVengeancePerformanceSODIMM Memory 8GB

2. Selecting and installing clients

The release of Ethereum 2.0 provides multiple clients, and provides the option for authentication nodes to run their nodes with different clients. So far, there are 4 team clients available for you to try using:

Ethereum 2.0 client:

Prysm client developed by PrysmaticLabs

Prysm is a client of Ethereum 2.0 implemented using the Go language, focusing on availability, security, and reliability, and is released under the GPL-3.0 license.

Instructions for use

Github

Lighthouse client developed by SigmaPrime

Lighthouse is an Eth2.0 client implemented using the Rust language, which places great emphasis on speed and security. The team behind it, SigmaPrime, is an information security and software engineering company.

Instructions for use

Github

Teku client developed by ConsenSys

PegasusTeku is an Ethereum 2.0 client implemented based on a mature and widely used Java language, designed and built to meet institutional and security needs.

Instructions for use

Github

Nimbus client developed by Status

Nimbus is a research project and a client implementation of Ethereum 2.0 designed for embedded systems and personal mobile devices, including outdated smartphones with limited hardware resources. Nimbus (Apache2) is written in Nim, a language with Python like syntax that can be compiled into c language.

Instructions for use

Github

3. Install Ethereum 1.0 node

To run a verification node on Ethereum 2.0, you need to run a Ethereum 1.0 node to monitor the 32 ETH deposits of the verification node. There are many options when selecting Ethereum nodes. Below you can find the most commonly used tool to start Ethereum nodes.

Autonomous custody:

OpenEthereum

Geth

Besu

Nethermind

Third party custody:

Infura

4. Run Eth2.0 to verify nodes

If you have just used Ethereum, an important step is to add fuel (pledge). Ethereum 2.0 requires 32 ETHs per authentication node. This is true! Please note that if you eventually become a validator, then you are making a long-term commitment (in years) to this plan.

If you need to buy some ETH, here is our recommended platform:

Cryptocurrency exchange supporting French currency transactions (U.S. Region): Coinbase or Gemini;

Cryptocurrency exchange supporting French currency transactions (non US regions): Jin'an or Kraken;

Ethereum Decentralized Exchange: Uniswap.

Step 2: Go to Ethereum 2.0 Launchpad

In the past few months, the Ethereum Foundation (EF), CodefiActivate and DeepWorkStudio have been developing an interface to make it easier for users to pledge on Ethereum 2.0 and become verification nodes.

The result of this effort is Eth2LaunchPad, a program that can guide you safely by generating your Ethereum 2.0 key pair and putting your 32 Ethereum into the official deposit contract of Ethereum 2.0 main network.

LaunchPad is designed to establish validation nodes for the public. These people can be enthusiasts who plan to run their own verification nodes, and by using this program, users can easily run commands on the terminal screen of the computer.

Step 2a: Due Diligence (Overview Section)

It is important to spend some time reading through this section of the tutorial. The purpose of this educational part is to inform users of the risks they may encounter when pledging Ethereum.

Step 3: Generate key pairs and mnemonics

For each verification node, it is necessary to generate a validator key pair and mnemonics for later generation of withdrawal keys.

Firstly, you must choose the number of validation nodes to run and on which operating system to run them.

Launchpad will provide you with two options to generate your deposit key.

You can find detailed instructions for your operating system here.

The first method is to download a binary executable file from Eth2Githubrepo and run it on the terminal/ The deposit instruction.

Please remember to verify that the URL of the website is correct!

Another option is to build the deposit CLI tool from Python source code. You need to follow the instructions to ensure that all required development libraries and deposit CLI tools are installed.

Once the deposit CLI tool is completed and runs in the terminal window, the system will prompt:

Specify the number of validation nodes to run; Choose the language to use as a mnemonic; Specify the network (primary network) on which to run the validation node.

Make sure you have set up chainmainnet for the main network testing network, otherwise the deposit will not take effect.

Now you need to set the password, once your mnemonic generation is confirmed. Make sure to write it in a safe place and store it offline!

If this step has been successfully completed, you should see the following screen display.

If you have any questions about deposit cli, you can access the GitHub database.

Step 4: Upload storage files

Almost done! The next step is to upload the deposit. json file generated in the previous step.

It is located in
/Eth2.0 deposit cli/validator_ In the keys directory, named deposit data - [timestamp]. json

Step 5: Connect your wallet

Next, connect to the Web3 wallet and click Continue. Make sure you have selected the main network in the wallet settings.

Step 6: Confirm transaction summary and initiate deposit

Once the wallet address is connected and confirmed, a summary page will appear, showing the total amount of Ethereum to be sent to the deposit contract, which is based on the number of nodes selected to run the verification.

Agree to remind and check, then click on confirm to proceed to the final step - actual deposit.

Click "Initialize Transaction" to deposit ETH into the official Ethereum 2.0 deposit contract.

Next, verify the wallet to ensure that each node address has 32 Ethereum.

Once your transaction is confirmed Okay, you have already succeeded. You can call yourself a formal validation node with milestone moments in Web3.

Disclaimer: The content of this article is sourced from the internet. The copyright of the text, images, and other materials belongs to the original author. The platform reprints the materials for the purpose of conveying more information. The content of the article is for reference and learning only, and should not be used for commercial purposes. If it infringes on your legitimate rights and interests, please contact us promptly and we will handle it as soon as possible! We respect copyright and are committed to protecting it. Thank you for sharing.(Email:[email protected])

Previous 2024-10-16
Next 2024-10-16

Guess you like