/lodestar_chain

an alternative implementation of the beacon chain in javascript

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Overview

The goal of this repository is to provide an alternative implementation of the beacon chain that was recently announced by the Ethereum Core dev team. As even the Ethereum Core dev team don't know how the finalized beacon chain will be implemented, this is our contribution to the effort to transitioning Ethereum from a PoW blockchain to a PoS blockchain.

This is currently a work in progress and you can ask questions and contribute in our gitter.

What you need

You will need to go over the specification. You will also need to have a basic understanding of sharding. Note that that the specification is an ongoing document and will get outdated. The reference implementation by the Ethereum development team is written in Python and can be found here.

TODO

  1. Complete implementation of bls.js
  2. Complete implementation of block.js
  3. Complete implementation of stateTransition.js

Goals

  1. Have well-documented tests
  2. Have a UI demonstrating how a beacon chain can work.
  3. Optimized code
  4. Have clean and consistent code base
  5. Be a reference implementation of the beacon chain in Javascript