BTC
ETH
HTX
SOL
BNB
View Market
简中
繁中
English
日本語
한국어
ภาษาไทย
Tiếng Việt

Step-by-step tutorial: How to become an Eth2 Medalla testnet validator

ECN以太坊中国
特邀专栏作者
2020-09-08 10:07
This article is about 4763 words, reading the full article takes about 7 minutes
Follow this article to learn how to participate in the Medalla testnet and prepare for Eth2.0 staking!
AI Summary
Expand
Follow this article to learn how to participate in the Medalla testnet and prepare for Eth2.0 staking!

source|Bankless

source|

Author | Ryan Sean Adams

ofConsenSys CodeFiofCollin MyersandMara Schmiedtand

We hope that this tutorial will be helpful for Ethereum community members who want to participate in Eth2.

The testnet is here, will the mainnet be far behind?

  • Main content of this article:

  • recommended hardware

  • Choose and install a client

  • Set up Eth1 node

  • Using Eth2 Launchpad

Additional content and resources

1. Hardware requirements

Based on the decentralized design goal of Eth2, validators are expected to be able to use many different infrastructure setups (on-premises or cloud, etc.).

Participating in the test network can not only provide practical exercises, but also give yourself plenty of time to choose which equipment and method are the most suitable and have the most reliable performance. And that's the only thing we can do right now.

Below are some hardware configurations, resource links, and helpful tutorials.

Recommended configuration:

Operating system: 64-bit Linux, Mac OS X, Windows

Processor: Intel Core i7-4770 or AMD FX-8310 (and above)

Memory: 8GB RAM

Capacity: 100GB free space SSD

Internet: Broadband Internet (10 Mbps)

Power supply: Uninterruptible power supply (UPS)

Standard Droplets

  • Memory: 8GB RAM

  • Memory: 8GB RAM

  • Capacity: 160GB free space SS

  • Uptime: 99.99%

  • Availability: 8 data centers

Cost: $0.060/hour; $40/month

Eligible hardware devices:

Minimum required configuration:

Operating system: 64-bit Linux, Mac OS X, Windows

Processor: Intel Core i5-760 or AMD FX-8110 (and above)

Memory: 4GB RAM

Capacity: 20GB free space SSD

Network: broadband network (10Mbps)

Power supply: Uninterruptible power supply (UPS)

Standard Droplets

  • Memory: 4GB RAM

  • Memory: 4GB RAM

  • Capacity: 80GB free space SSD

  • Uptime: 99.99%

  • Availability: 8 data centers

Cost: $0.030/hour; $20/month

Eligible hardware devices:

2. Select and install the client

As Eth2's first multi-client large-scale public test network, the release of Medalla provides validators with different client options to run their nodes.

In the Medalla testnet, there are 4 client teams providing product implementations for trial use:

client teamDiscord)

Prysm1. Prysm from Prysmatic Labs (

It is an implementation of the Eth2.0 protocol based on the Go language, focusing on usability, security and reliability.

Instructions for use:Discord)

Lighthouse2. Sigma Prime's Lighthouse (Sigma PrimeIt is an Eth2.0 client using the Rust language, focusing on speed and security. Lighthouse's research team is

Instructions for use:Discord)

PegaSys Teku3. Teku from ConsenSys (

Instructions for use:Discord)

4. Nimbus of Status (NimbusInvention project

  • Also a client implementation of Eth 2.0, designed for embedded systems and personal mobile devices, including older smartphones with constrained hardware resources.https://nimbus.team/docs/

  • Github: https://github.com/status-im/nim-beacon-chain

Instructions for use:

3. Set up an Eth1 node

Self-hosted:

OpenEthereum

Geth

Besu

Nethermind

escrow:

Infura

escrow:

4. Run an Eth2 validator node on Medalla

Step 1: Pledge ETH on the Goerli test network

If the reader is new to Ethereum, the main way to join the network is to participate in staking. Eth2's Medalla testnet requires each validator to pledge 32 GöETH (except for using the Goerli test coin, other steps are no different from the real Eth2!)

If users want to participate in the testnet, the following are some very useful tools to simplify the participation process.iscord1. Prysmatic's D

  • (A channel to obtain goerli test coins)

  • The Prysmatic team has automated the process

Just leave a message "!send (your Ethereum address)" in discordDiscord2. EthStaker

  • (A channel to obtain goerli test coins)Beaconcha.inThis automated program is run by

  • operation and maintenance

Just leave a message "!goerliEth (your Ethereum address)"Goerli Authenticated Faucet)

  • 3. Goerli certified faucets (

Just copy paste your ETH address and select 'Request'Eth2 Launchpad

over the past few months,Ethereum FoundationEthereum Foundation

, Codefi Activate, and Deep Work Studio are all researching and developing an interface that makes it easier for users to participate in staking and become validators of Eth2.0.Eth2 Launch PadThe result of the research is

, the application allows users to safely complete the following steps: generate an Eth2 key pair, and pledge 32 ETH in the official deposit contract on the Eth2 testnet and mainnet.

The Launch Pad is specially designed for validators running nodes at home. These Ethereum enthusiasts want to run their own nodes and easily run commands on their computer terminal screens.

Step 2a: Due Diligence (Overview Section)

You should take the time to read these before participating in staking. The "Overview Section" provides some educational information about some of the risks faced by staking ETH.

Step 3: Generate key pair and mnemonic phrase

Each validator node must generate its own validator key pair and mnemonic phrase, so that the withdrawal key can be generated later.

Launchpad will give you two options to generate your own deposit key. click hereLinkLink

https://github.com/ethereum/eth2.0-deposit-cli/blob/master/README.md

, to get more detailed description of the user's operating system:The first option is to use the

The binary executable file downloaded from the ethereum/eth2.0-deposit-cli page, run the ./deposit command on your own terminal

The second option is to build the deposit-CLI tool from the Python source code. Participants need to follow the instructions below to ensure all required development libraries and deposit-CLI tools are installed.

Once done, run the .\eth2deposit\deposit.py command in your own terminal.

  • After the user installs the deposit-CLI tool and runs it in a terminal window, they will receive the following prompt:

  • Determine the number of validator nodes to run

  • Determine which language to use to generate the mnemonic

Determine which testnet to run validator nodes on

Please choose the Medalla testnet for this tutorial.

Now the user will be asked to set a password, once the password is confirmed, the user's mnemonic will be generated. Make sure to jot it down in a safe place and store it offline.

If you have any questions about deposit-cli, please visit the GitHub repository below:https://github.com/ethereum/eth2.0-deposit-cli

Step 4: Upload your deposit file

Step 4: Upload your deposit file

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

The file is located in the /eth2.0-deposit-cli/validator_keys directory and is titled deposit-data-[timestamp].json.

Step 5: Connect your wallet

The next step is to connect your Web3 wallet and hit continue. Make sure the Goerli testnet is selected in the wallet settings.

Do not send real ETH to the deposit contract on the Medalla testnet.

Step 6: Confirm Transaction & Initiate Deposit

After connecting and confirming your wallet address, you will be taken to a summary page that shows the total amount of GoETH that needs to be sent to the deposit contract, based on the number of validators the user is running.

"Agree" warning option, click Confirm to navigate to the final step - the actual deposit.

Click "Start Transaction" to deposit your GoETH into the Medalla testnet contract.

Next, you need to confirm your GoETH deposit through your wallet, and each validator node needs to confirm 32 GoETH. Once the transaction is confirmed, it means your pledge is successful! It's time to call yourself an official staker on the most monumental Web3 testnet!

6. Additional Content & Resources

After reviewing the steps above, we recommend that validators review the following guidelines for each client before starting to stake. Depending on the selected client, the above steps will have a different sequence of operations.

Below is the most in-depth guide I've seen in the industry, taking readers through the nuances of the process.

Additional resources for Eth2 validators

Once you have decided which client to use, I highly recommend reviewing the following resources:

Eth2 block explorer:

Articles by Quantstamp

How to Stake Eth2 Medalla Testnet Using Nimbus on Ubuntu

Eth2.0 Staking Guide (Ubuntu/Medalla/Prysm)

Jim McDonald (article in Attestant)

Disclaimer: ECN's translation work aims to deliver high-quality information and learning resources for the Chinese Ethereum community. The copyright of the article belongs to the original author. Reprints must indicate the source of the original text and ethereum.cn. For long-term reprints, please contact ethereumcn@gmail.com Authorize.

ETH
开发者
Welcome to Join Odaily Official Community