2 min read - Posted 17 Feb 19

Ethereum 2.0 Beacon Chain Simulation

Project Name

Beacon Thugs n Harmony

Project Tagline/Description

Ethereum 2.0 Beacon Chain Simulation.

Team Members. First and Last Names

Richard Ma, Nathan Frenette, Poming Lee, Derek Alia

Status.im ID for Each Team Member


Detailed Project Description

Implements a simulation for the sharded pos ethereum 2.0.

The Eth 2.0 Spec is very difficult to understand and we thought making it easier to visualize is one of the most impactful things we could do to drive scalability development forward for the community, and make it easier for people to use Dapps

The challenging research task involved pulling together incomplete outlines and disparate sources, including ethresear.ch, presentations from Justin Drake, as well as papers from Vitalik.

The React web app at www.beacon-chain.com created using the simulator allows a developer to step forwards and backwards through 2.0 ETH Beacon Chain randomness generation, and see how it feeds into the shard validator selection at each epoch.

Beacon Chain Web App Image

Describe your tech stack (e.g., protocols, languages, API’s, etc.)

Python, Apache Server, Javascript, React, pycrypto, RSA library

Track for which you’re submitting (Open or Impact)



This is a pure ETH 2.0 research project, so it didn't fit the project bounties



Web Application: http://www.beacon-chain.com/

Important note

We found a potential attack vector to the beacon chain while we were building the simulation - a malicious actor can DDoS the validator during their RANDAO slot, between the hash submission and the reveal - and cause them to lose money via the penalty. This shows the value of having a simulation

Created with Sketch.Content is"CC-BY-SA 4.0" licensed
Article On-chain
Article Author

Richard Ma

CEO at Quantstamp




Related Articles
SPITL - Tipping multiple users with a single step

Project Name SPITL Project Tagline/Description (140 Characters Max. Will be used on table card for judging) The splitter smart contract allows a user to send a tip and split it to multiple people on a single transaction. Team Members. First and Last Names Cristian Espinoza, Dan Shields, Oscar Presidente, Robert Mudgett Status.im ID for Each Team Member (we will use this to contact you and your team) Cristian: 0x0445b62b27ebb3647cb201f84c1cde180b0378e90b68359f17f9c61a97f1754109e77af796a93d3d89a8b

Stash (IPFS Browser Integration)

Project Name IPFS Stash . Project Tagline/Description (140 Characters Max. Will be used on table card for judging)Local IPFS for everyone. Manage files in your browser with a single click. #massadoption . Team Members. First and Last Names Katy Jeremko, Nico Valencia . Status.im ID for Each Team Member (we will use this to contact you and your team) Nico: 0x0484643bd0284e69a539d02a0b2c04eca30f7ae49e3d85549a2b1392ea9c98a28dfa8a5aa32f32bb0525b85aee152fcc7b424004391296ee1cf35672e3d75a03ac Katy: 0x0

Nico Valencia

17 Feb 19