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

Altair

Sharding

The sharding spec is still actively in R&D; see the most recent available pull request here and some technical details here.

Merge

The merge is still actively in R&D; see an ethresear.ch post describing the proposed basic mechanism here and the section of ethereum.org describing the merge at a high level here.

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.0a2.tar.gz (268.0 kB view details)

Uploaded Source

Built Distribution

eth2spec-1.1.0a2-py3-none-any.whl (313.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eth2spec-1.1.0a2.tar.gz
  • Upload date:
  • Size: 268.0 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.0a2.tar.gz
Algorithm Hash digest
SHA256 cd607bfa3ffb9e40d2e0cc57c4c9790079121909f59f0e20b5d101fb6879da02
MD5 0b4cf16e98241fb4484fa8d21597958b
BLAKE2b-256 2790d2597c570a2598e04d02f53a460ff05ab09618e0ab995f5f4fc1c535fa40

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eth2spec-1.1.0a2-py3-none-any.whl
  • Upload date:
  • Size: 313.9 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.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 03346bd920184ba40a0caa22afee55238b7658d6039c411aa44613b46289db68
MD5 16577c7eb66bb0470eac835f04dc633d
BLAKE2b-256 0a42a439dc0665c82ef4dba0c9a3dffebc0f4cd31d319ed123592378dee3686c

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