search
Homeweb3.0What is the beacon chain in Ethereum 2.0?

What is the beacon chain in Ethereum 2.0?

Mar 06, 2024 pm 01:40 PM
BlockchainEthereumdigital currencyEthereumEthereum blockchainblockchain

Ethereum 2.0 is intended to solve the consensus and scalability issues of Ethereum. Based on the consensus issue, a new concept is proposed, the Beacon Chain, and based on the scalability issue, a new concept is proposed, the Shard Chains. ).

Today I will share with you what the beacon chain is and what functions it has.

01

What is the beacon chain?

Beacon chain, the English name is Beacon Chain, Beacon, which means lighthouse, signal buoy. It is actually the core of the Ethereum 2.0 system.

The Beacon Chain is a brand new Proof of Stake (PoS) blockchain, which is to solve the consensus problem, while the Shard Chains (Shard Chains) are designed to solve the problem of Ethereum scalability issues.

The reason why shard chain can solve performance problems is that it processes transactions through multi-shard technology, which improves the efficiency and performance of the system. The following figure shows the structure diagram of beacon chain and shard chain. , where the beacon chain is at the coordination layer and is responsible for coordination and management, while the sharding chain is at the data layer and is responsible for the data part.

What is the beacon chain in Ethereum 2.0?

We can see in the picture, why do we need the beacon chain? The beacon chain is like a core spine, supporting and connecting each shard chain. In fact, the beacon chain is the core that injects vitality into the entire Ethereum 2.0 system and is responsible for commanding and coordinating all participants in the system. So what can it do?

02

What can the beacon chain do?

What is the beacon chain in Ethereum 2.0?

First of all, This chain is a proof-of-stake POS blockchain, which allows verification Players can participate in the staking system, replace the role of miners and become chain builders. In other words, the beacon chain manages the list of validators and the tasks of sharded validators.

How can I become a verifier of the beacon chain?

First you need to send a deposit (32 Ether) to a contract on the current Ethereum main chain, and then after a series of audit checks, you will receive an electronic receipt (Ether event in the smart contract), this receipt is equivalent to a VIP card. With this card, you have verification qualifications and become a verifier. If you are "active" you may be selected to be a block proposer.

After becoming a validator, the beacon chain will arrange tasks for you.

It will randomly assign you to one or two shards for verification. We know that under the proof-of-work mechanism, which is our current Ethereum main chain, miners generate the next block through mining, but under the proof-of-stake mechanism, there is no mining, and the next block is generated by the verifier. chosen by them. This selection is random and cannot be controlled by a single verifier, which also reflects the characteristics of decentralization.

If you are not very "active", after the beacon chain assigns you to a shard, you need to select a new block together with other validators of the shard.

Then the block proposer of the shard will collect transactions for this shard and include these transactions into the block just selected by the validators, although since you are not a block The proposer of the block does not have the power to include the transaction into the new block, but as a verifier, you can verify whether the block proposer behaves appropriately during this process.

If you perform well and do what you should do as a validator, you will be rewarded. On the contrary, if you violate the rules, you will be punished. The penalty is to deduct a part from your mortgage of 32 ETH. When the mortgage is lower than After 16 ether, the beacon chain will remove you from the validator list.

If one day you no longer want to be a validator, your mortgaged Ethereum plus the rewards you received and minus the Ethereum you deducted due to penalties will not be returned to your previous Ethereum main chain. , but will be stored in a certain shard chain.

In addition to managing validators, the beacon chain also needs to store some certifications (Attestation).

We know that the current Ethereum blockchain stores data information about our usual asset transfers and other transactions, but the beacon chain is different from the current Ethereum main chain. It stores a A series of calculated strings.

The generation of this string is based on a hash operation in the computer. It is just like in life, after you put the beans into the soy milk machine for processing, you cannot judge the shape and size of the previous beans based on the obtained soy milk. feature. And if you add one more bean, the soy milk you get will change a lot. You can't determine which particle in the soy milk your bean is. This soy milk machine is like a hash algorithm, The result after hashing cannot be used to deduce the appearance before hashing, and as long as the data before hashing changes a little, the result after hashing will change greatly. In the beacon chain, the verifier verifies and signs the transaction, such as a transfer transaction, and then hashes it into a string, and stores this string in the beacon chain. At this time, this string represents the data of a transaction. The advantage of this is that you do not need to delve into which shard this transaction occurred.

Once the status in the shard changes (for example, the balance of an account changes slightly), the verifier will report the change to the beacon chain. Therefore, the beacon chain tracks changes in shards in real time and establishes connections and communications between shards.

03

Summary

Generally speaking, the beacon chain is like a signal light, directing all aspects of the system. This behavior stores a large amount of authentication data. However, this kind of command is decentralized. For example, the voting behavior of participating validators is determined by the validators themselves and cannot be influenced by the beacon chain. Finally, the beacon chain and shard chain still involve many technical difficulties, and the Ethereum team is also working hard to move forward.

The above is the detailed content of What is the beacon chain in Ethereum 2.0?. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:知乎. If there is any infringement, please contact admin@php.cn delete
Fartcoin Eyes $1B Valuation as Cold Wallet Becomes the Best Crypto Wallet to Watch in 2025Fartcoin Eyes $1B Valuation as Cold Wallet Becomes the Best Crypto Wallet to Watch in 2025Apr 25, 2025 am 11:22 AM

The crypto market is back in the spotlight as tokens across categories rally on fresh macro optimism. Meme coins like Fartcoin are surging, posting triple-digit gains and overtaking long-standing projects like Floki and Dogwifhat.

5 Cryptos to Buy This Month: Qubetics ($TICS) is Rewriting the Rules of Engagement5 Cryptos to Buy This Month: Qubetics ($TICS) is Rewriting the Rules of EngagementApr 25, 2025 am 11:20 AM

Crypto doesn't stay quiet for long. One minute, it's all charts and chatter, and the next—it's making headlines again. April's been packed with action.

The Best Cryptocurrencies to Invest in Right Now (Updated for 2025)The Best Cryptocurrencies to Invest in Right Now (Updated for 2025)Apr 25, 2025 am 11:18 AM

It’s 2025, and crypto isn’t some niche side gig anymore. It’s in major headlines, on trading floors, and at the center of real conversations about freedom, finance, and innovation.

Stacks (STX) Coin Shows Signs of Recovery, But Will It Break the $1 Barrier or Face a Pullback?Stacks (STX) Coin Shows Signs of Recovery, But Will It Break the $1 Barrier or Face a Pullback?Apr 25, 2025 am 11:16 AM

The crypto market is always in motion, and the question on every trader's mind is what’s next?

Dogecoin (DOGE) Price Gained 2 Percent to Trade Around $0.1814Dogecoin (DOGE) Price Gained 2 Percent to Trade Around $0.1814Apr 25, 2025 am 11:14 AM

The Dogecoin's price rally has heavily been driven by the rising Futures Open Interest (OI). In the past two weeks, Dogecoin's OI surged from around $1.3 billion

Dogecoin (DOGE) Price Gained 2 Percent in the Past 24 Hours to Trade Around $0.1814Dogecoin (DOGE) Price Gained 2 Percent in the Past 24 Hours to Trade Around $0.1814Apr 25, 2025 am 11:12 AM

Dogecoin (DOGE) price gained 2 percent in the past 24 hours to trade around $0.1814

PEPE Shows Resilience Amidst Broader Market Cool Down, Maintaining Strength Above Key Support LevelsPEPE Shows Resilience Amidst Broader Market Cool Down, Maintaining Strength Above Key Support LevelsApr 25, 2025 am 11:10 AM

Despite a slight dip in the last 24 hours, the meme coin remains in a strong weekly uptrend, fueling optimism for a renewed push

New North Dakota Law Could Shield Bayer From Roundup Cancer LawsuitsNew North Dakota Law Could Shield Bayer From Roundup Cancer LawsuitsApr 25, 2025 am 11:08 AM

A new first-of-its-kind law enacted in North Dakota could shield agrochemical manufacturer Bayer from lawsuits claiming it failed to warn customers

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)