Skip to main content

Python implementation of the Ethereum Virtual Machine

Project description

Join the chat at https://gitter.im/ethereum/py-evm Documentation Status

Documentation hosted by ReadTheDocs

Introducing Py-EVM

Py-EVM is a new implementation of the Ethereum Virtual Machine written in python. It is currently in active development but is quickly progressing through the test suite provided by ethereum/tests. I have Vitalik, and the existing PyEthereum code to thank for the quick progress I’ve made as many design decisions were inspired, or even directly ported from the PyEthereum codebase.

Py-EVM aims to eventually become the defacto python implementation of the EVM, enabling a wide array of use cases for both public and private chains. Development will focus on creating an EVM with a well defined API, friendly and easy to digest documentation which can be run as a fully functional mainnet node.

Step 1: Alpha Release

The plan is to begin with an MVP, alpha-level release that is suitable for testing purposes. We’ll be looking for early adopters to provide feedback on our architecture and API choices as well as general feedback and bug finding.

Blog posts:

Development

Py-EVM depends on a submodule of the common tests across all clients, so you need to clone the repo with the --recursive flag. Example:

git clone --recursive git@github.com:ethereum/py-evm.git

Then install the required python packages via:

pip install -e . -r requirements-dev.txt

Running the tests

You can run the tests with:

py.test tests

Or you can install tox to run the full test suite.

Releasing

Pandoc is required for transforming the markdown README to the proper format to render correctly on pypi.

For Debian-like systems:

apt install pandoc

Or on OSX:

brew install pandoc

To release a new version:

bumpversion $$VERSION_PART_TO_BUMP$$
git push && git push --tags
make release

How to bumpversion

The version format for this repo is {major}.{minor}.{patch} for stable, and {major}.{minor}.{patch}-{stage}.{devnum} for unstable (stage can be alpha or beta).

To issue the next version in line, use bumpversion and specify which part to bump, like bumpversion minor or bumpversion devnum.

If you are in a beta version, bumpversion stage will switch to a stable.

To issue an unstable version when the current version is stable, specify the new version explicitly, like bumpversion --new-version 4.0.0-alpha.1 devnum

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

py-evm-0.2.0a8.tar.gz (129.0 kB view details)

Uploaded Source

Built Distribution

py_evm-0.2.0a8-py3-none-any.whl (176.1 kB view details)

Uploaded Python 3

File details

Details for the file py-evm-0.2.0a8.tar.gz.

File metadata

  • Download URL: py-evm-0.2.0a8.tar.gz
  • Upload date:
  • Size: 129.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for py-evm-0.2.0a8.tar.gz
Algorithm Hash digest
SHA256 80bd33d396daf3a26d3bb58ff4cd5d821769e8a9de29ff82480e639a4265e1da
MD5 b836213f88dad1977c65324489b8807d
BLAKE2b-256 74e6b7642ebaf081905df484662e312e595a05dfbb3716fe5e95671c4e5aff52

See more details on using hashes here.

File details

Details for the file py_evm-0.2.0a8-py3-none-any.whl.

File metadata

File hashes

Hashes for py_evm-0.2.0a8-py3-none-any.whl
Algorithm Hash digest
SHA256 20107949cdd47215ba1a6c3be9d139279258f2d3f76e5f1289f2a4806de90782
MD5 4884d5216faed51d8591e3f5779de0c8
BLAKE2b-256 d84750db66d22c2fd039d5fb35e1cae185207117de99d4a39cfbf3979dcbe727

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