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 phases. Each subsequent phase depends upon the prior. The current phases specified are:

Phase 0

Phase 1

Phase 2

Phase 2 is still actively in R&D and does not yet have any formal specifications.

See the Eth2 Phase 2 Wiki for current progress, discussions, and definitions regarding this work.

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.0.0.tar.gz (208.7 kB view details)

Uploaded Source

Built Distribution

eth2spec-1.0.0-py3-none-any.whl (244.1 kB view details)

Uploaded Python 3

File details

Details for the file eth2spec-1.0.0.tar.gz.

File metadata

  • Download URL: eth2spec-1.0.0.tar.gz
  • Upload date:
  • Size: 208.7 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.0.0.tar.gz
Algorithm Hash digest
SHA256 c5630362b1248ae912e691ee537d9ec316b9173db28c7188ffdf4d4ded30aa50
MD5 2152a1a254b9433cce79da41c05c2815
BLAKE2b-256 bb06b40581a625569b9521a27fe2d417b954519a06eca14200c1a9335d9f04bb

See more details on using hashes here.

File details

Details for the file eth2spec-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: eth2spec-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 244.1 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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 622cc6794f58905766fd1b573865ff15e3776741b9c985c077920e7b2e50cc63
MD5 1a0766394798dfb1ecb42bd13ce8de6a
BLAKE2b-256 0068dedfc19f606f4355b88f2c426f3124913ae17981302fdf1d31d096f6a0c1

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