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 Aug 18, 2021 at 11:28 p.m. UTC

Presented By Icon

Election 2024 coverage presented by

Stand with crypto

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.

  • Bitcoin Mining in the U.S. Will Become 'a Lot More Decentralized': Core Scientific CEO
    13:18
    Bitcoin Mining in the U.S. Will Become 'a Lot More Decentralized': Core Scientific CEO
  • Binance to Discontinue Its Nigerian Naira Services After Government Scrutiny
    05:10
    Binance to Discontinue Its Nigerian Naira Services After Government Scrutiny
  • The first video of the year 2024
    04:07
    The first video of the year 2024
  • The last regression video of the year 3.67.0
    40:07
    The last regression video of the year 3.67.0
  • “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 have been updated.

    CoinDesk is an award-winning media outlet that covers the cryptocurrency industry. Its journalists abide by a strict set of editorial policies. CoinDesk has adopted a set of principles aimed at ensuring the integrity, editorial independence and freedom from bias of its publications. CoinDesk is part of the Bullish group, which owns and invests in digital asset businesses and digital assets. CoinDesk employees, including journalists, may receive Bullish group equity-based compensation. Bullish was incubated by technology investor Block.one.


    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.