Beacon Chain Contracts: A New Way to Deploy Dapps on Ethereum 2.0

A new proposal by founder of ethereum Vitalik Buterin suggests a new paradigm for decentralized application deployment on ethereum 2.0.

AccessTimeIconMay 26, 2019 at 11:00 a.m. UTC
Updated Sep 13, 2021 at 9:14 a.m. UTC
10 Years of Decentralizing the Future
May 29-31, 2024 - Austin, TexasThe biggest and most established global hub for everything crypto, blockchain and Web3.Register Now

The core infrastructure behind ethereum 2.0 might be in for a major redesign.

Dubbed the beacon chain, a new proposal by ethereum founder Vitalik Buterin suggests radically modifying the blockchain’s role in a new iteration of the ethereum network based on proof-of-stake consensus.

“The idea here is that basically on the beacon chain, you're going to be able to deploy these little worlds that summarize how a blockchain works, how a state transition works, [and] how a smart contract works," Raul Jordan, co-lead at non-profit Prysmatic Labs, told CoinDesk.

Prysmatic Labs is one of a dozen or so teams building software to support a highly-scalable and energy-efficient version of the world's second largest blockchain based on proof-of-stake consensus.

According to Jordan, the proposed beacon chain design by Buterin “makes it a lot easier for application developers, people building on [ethereum],” to leverage the new network without having to re-learn the parameters of an entirely new blockchain platform.

This is welcome news to many application developers on the world’s second largest blockchain platform, who for years have been anticipating the ethereum 2.0 upgrade without fully understanding what it will entail.

“How do we get to proof-of-stake? How do we implement sharding? How do we get there safely? And what does it really mean for the ecosystem and developers in the ecosystem?” asked CEO of crypto wallet application MyCrypto Taylor Monahan in a past interview with CoinDesk.

While many aspects of ethereum 2.0 are still highly subject to change and further research, the latest proposal by Buterin suggests interesting new dynamics to simplify how decentralized applications (dapps) are deployed on the estimated $26 billion network.

And it all begins by understanding the beacon chain.

Custom blockchain worlds

The beacon chain is a central blockchain that coordinates hundreds of other ethereum blockchains, called “shards,” in the envisioned ethereum 2.0 network.

“Instead of having one giant machine run transactions one at a time...we can split it up across tons of machines across the world and run them in parallel,” Jordan explained to CoinDesk.

Originally, the beacon chain was to act strictly as the coordinator – or, in the words of Buterin, as the “heartbeat” – of ethereum 2.0, tracking all the data in shards and compiling summaries of that data onto one central blockchain.

Now, Buterin has proposed that the beacon chain serve an additional function: to store specialized smart contracts called beacon chain contracts.

“These contracts are not analogous to regular smart contracts you would deploy for your application on ethereum 1.0,” writes Will Villanueva, a researcher for ethereum venture capital studio Consensys. “Those would live within the shard chains. In contrast, beacon chain contracts will represent execution environments or transaction frameworks as a whole.”

In other words, these beacon chain contracts would specify all the rules for computation and smart contract execution including transaction fees, associated gas costs, and more.

“The general ethos of the proposal is to have a relatively minimal consensus-layer framework, that still provides sufficient capabilities to develop complex frameworks that give us all of the smart contract capabilities that we need on top as a second layer," explains Buterin in his proposal.

Practically speaking, this would mean that dapp developers have the option then to call on a beacon chain contract mimicking the present ethereum 1.0 execution environment.

“[Dapp developers] don’t have to change much about what they already know,” highlighted Jordan.

More interestingly, Jordan added that beacon chain contracts could also mimic bitcoin and create an execution environment on ethereum 2.0 with all of the same rules and parameters of the bitcoin blockchain.

For dapp developers, it would be as easy as choosing a different operating system for one’s computer. Instead of booting up a computer with a Windows operating system, one could have the option to leverage a Mac OS or Linux operating system, Jordan told CoinDesk.

He added:

“You can have an execution environment for bitcoin. You can have an execution environment for ethereum. You can basically create your own little custom blockchain world and have that be what people transact with.”

Lingering questions

Still, not everything regarding the beacon chain contracts is set in stone.

“In practice, there should not be a plethora of beacon chain contracts. There should only be a few — especially at first,” notes Villanueva about the proposed beacon chain design.

Jordan added that to discourage users from deploying multiple beacon chain contracts and "bloating" the beacon chain, these contracts could be priced at a steep cost for users to deploy.

"These execution environments are like their own little worlds that specify everything and ideally they're going to be really expensive to deploy. Hopefully, tens of thousands of dollars," Jordan told CoinDesk.

However, both the pricing for contract deployment and the exact parameters for transaction fees based on beacon chain contracts are unclear at this time.

Following up on his proposal, Buterin suggested Monday that a “specific class of actor called a relayer” be introduced into the ethereum 2.0 system to help coordinate transaction fees with the "block proposers" of the network otherwise called validators. Since then, Buterin has also released a second HackMD post to further iterate on the beacon chain contracts idea.

“We need this two-layer structure where there’s one class of node called a relayer,” Buterin mused during an ethereum 2.0 implementers call Thursday. “The unknown is analyzing the economics of that design more deeply.”

Indeed, the exact mechanics of the newly proposed design of the beacon chain are in the process of further research and discussion amongst ethereum 2.0 developers and enthusiasts.

Nevertheless, as noted by Villanueva, the elements of the proposal by Buterin are promising.

Villaneuva writes:

“This approach is a general paradigm shift and may take a bit to really grasp and digest. However, its strength lies in the fact that it provides a high degree of flexibility. It should make it simpler to introduce changes in the future as research continues.”

Vitalik Buterin image via Ethereum Foundation blog

Disclosure

Please note that our privacy policy, terms of use, cookies, and do not sell my personal information has been updated.

CoinDesk is an award-winning media outlet that covers the cryptocurrency industry. Its journalists abide by a strict set of editorial policies. In November 2023, CoinDesk was acquired by the Bullish group, owner of Bullish, a regulated, digital assets exchange. The Bullish group is majority-owned by Block.one; both companies have interests in a variety of blockchain and digital asset businesses and significant holdings of digital assets, including bitcoin. CoinDesk operates as an independent subsidiary with an editorial committee to protect journalistic independence. CoinDesk employees, including journalists, may receive options in the Bullish group as part of their compensation.


Learn more about Consensus 2024, CoinDesk's longest-running and most influential event that brings together all sides of crypto, blockchain and Web3. Head to consensus.coindesk.com to register and buy your pass now.