Skip to content
/ ray Public

An open-source Ethereum Beacon Node implementation crafted for educational purposes.

License

Notifications You must be signed in to change notification settings

ackintosh/ray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray

Ray is an open-source Ethereum Beacon Node implementation crafted for educational purposes. It offers a hands-on learning experience for those looking to understand the intricacies of Beacon Node implementation.

CI

banner image

Photo by Marc-Olivier Jodoin on Unsplash

Overview

This project Ray provides developers with an opportunity to learn how to implement Beacon Node via running the node or reading the source codes. We're focusing to networking, so some components needed to implement a BeaconNode (e.g. BeaconChain) are borrowed from lighthouse, which is an Ethereum consensus client in Rust.

Ray is never production ready but should be enough to learn from.

NOTE: Ray is under active development.

We aim for a simple implementation, by narrowing down the functions.

Current status

Getting started

Running ray

You need a recent Rust toolchain to get started. If you don't have one already, check out Install Rust. Once you do that, you can just use cargo as specified below.

git clone https://github.com/ackintosh/ray.git
cd ray
RUST_LOG=ray=info cargo run

Architecture

The following diagram shows the modules and how they work. This should help you get a brief understanding of Ray and assist with code reading.

Architecture

References for Beacon Node implementers

Here are the specifications / documentations that Consensus Layer Implementers should refer to.

Specs

Documents

Videos

YouTube channels

  • Infinite Jungle by Galaxy is a podcast about the evolution of Ethereum. Hosted weekly by Galaxy Research’s Christine Kim, the show dives into the ways Ethereum as an ecosystem is changing, covering broad trends and narratives that are shaping the way people use Ethereum and think about the value of Ethereum.

Author

Authored and maintained by ackintosh.

GitHub @ackintosh / Twitter @NAKANO_Akihito

About

An open-source Ethereum Beacon Node implementation crafted for educational purposes.

Resources

License

Stars

Watchers

Forks

Languages