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.
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.â
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