Skip to main content

Eth2 spec, provided as Python package for tooling and testing

Project description

Ethereum 2.0 Specifications

Join the chat at https://discord.gg/qGpsxSA Join the chat at https://gitter.im/ethereum/sharding

To learn more about sharding and Ethereum 2.0 (Serenity), see the sharding FAQ and the research compendium.

This repository hosts the current Eth2 specifications. Discussions about design rationale and proposed changes can be brought up and discussed as issues. Solidified, agreed-upon changes to the spec can be made through pull requests.

Specs

GitHub release PyPI version

Core specifications for Eth2 clients be found in specs. These are divided into features. Features are researched and developed in parallel, and then consolidated into sequential upgrades when ready.

The current features are:

Phase 0

Altair

Merge

The merge is still actively in R&D. The specifications outline a general direction for engineering work, while the details are in review and may change.

Sharding

Sharding follows the merge, and is divided into three parts:

Accompanying documents can be found in specs and include:

Additional specifications for client implementers

Additional specifications and standards outside of requisite client functionality can be found in the following repos:

Design goals

The following are the broad design goals for Ethereum 2.0:

  • to minimize complexity, even at the cost of some losses in efficiency
  • to remain live through major network partitions and when very large portions of nodes go offline
  • to select all components such that they are either quantum secure or can be easily swapped out for quantum secure counterparts when available
  • to utilize crypto and design techniques that allow for a large participation of validators in total and per unit time
  • to allow for a typical consumer laptop with O(C) resources to process/validate O(1) shards (including any system level validation such as the beacon chain)

Useful external resources

For spec contributors

Documentation on the different components used during spec writing can be found here:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eth2spec-1.1.0a7.tar.gz (342.3 kB view details)

Uploaded Source

Built Distribution

eth2spec-1.1.0a7-py3-none-any.whl (400.3 kB view details)

Uploaded Python 3

File details

Details for the file eth2spec-1.1.0a7.tar.gz.

File metadata

  • Download URL: eth2spec-1.1.0a7.tar.gz
  • Upload date:
  • Size: 342.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for eth2spec-1.1.0a7.tar.gz
Algorithm Hash digest
SHA256 4c4225db8f4c5b2c2edcfd8d26ecb9dfec7d82b9df18991867397392a2e21507
MD5 c149bf5afa8ebb293c7ab119f6f2ea1b
BLAKE2b-256 2d961a5520e1b4e2ed5f87bf4c17628d18da72353e8b2ade62f14fb2806fe346

See more details on using hashes here.

File details

Details for the file eth2spec-1.1.0a7-py3-none-any.whl.

File metadata

  • Download URL: eth2spec-1.1.0a7-py3-none-any.whl
  • Upload date:
  • Size: 400.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for eth2spec-1.1.0a7-py3-none-any.whl
Algorithm Hash digest
SHA256 d222d1098110f8377083cce3e22005be56b7bb3fc1ae253473c018374c114b11
MD5 1473365e1d7c8774c9e88756a1f646dd
BLAKE2b-256 41bebc1414a60dc7179d25bea66e147678133f80278956c256d61e4f22cb5d37

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page