/awesome-ethereum-virtual-machine

Ethereum Virtual Machine Awesome List

Creative Commons Zero v1.0 UniversalCC0-1.0

Awesome Ethereum Virtual Machine

A curated list of resources on the Ethereum Virtual Machine (EVM), which is the virtual machine executed on the Ethereum network.

Not listed there yet, but in the spirit of Awesome

Here is how to contribute.

Table of Contents generated with DocToc

Specification

  • Yellow Paper
    • A terse specification of EVM and Ethereum blocks

Illustration

Tutorials

Tests

EVM Implementations

Live on Main Network

  • go-ethereum
    • A popular Ethereum client with its own EVM implementation (core/vm directory)
  • Parity in Rust
    • Another popular Ethereum client with its own EVM implementation (ethcore directory)
  • cpp-ethereum
    • An Ethereum client that generates the consensus test suite (libevm/VM.cpp)
  • Pyethereum in Python
  • Py-EVM in Python
    • A Python implementation designed to be highly configurable and modular and compliant with the Ethereum test suite, work is in progress on it to run a full node and develop sharding.
  • EthereumJ in Java
    • A client with its own EVM implementation
  • For more, see here.

Other Implementations

Programming Languages that Compile into EVM

  • Solidity
    • The most popular programming language for Ethereum contracts
    • Awesome Solidity
    • The LLL compiler is also in the same repository
  • Vyper
    • A language with overflow-checking, numeric units but without unlimited loops
  • Pyramid Scheme (experimental)
  • Flint
    • A language with several security features: e.g. asset types with a restricted set of atomic operations
  • LLLL
    • An LLL-like compiler being implemented in Isabelle/HOL
  • HAseembly-evm
    • An EVM assembly implemented as a Haskell DSL
  • Bamboo (experimental)    - A language without loops but with explicit constructor invocation at the end of every call

Programming Languages that Compile zk-SNARK Circuits and Proofs

  • Zokrates
  • snarky
    • An OCaml front-end for writing R1CS SNARKs (parametrized over the backend SNARK libraries)
    • Shallowly embedded DSL that can be compiled into SNARK circuits
    • The verifier is an OCaml function, so some more work is necessary before using it on Ethereum
  • jsnark
    • A Java front-end for writing R1CS SNARKs

Debuggers

Code Analyzers

  • Echidna
    • A fuzzer on EVM that also takes Solidity input
    • Able to fuzz a program with sequences of multiple transactions
  • MAIAN
    • An automatic tool that detects trace vulnerabilities (Greedy, Prodigal and Suicidal) with depth-first search of symbolic execution of multiple invocations
  • Mythril
    • A blockchain exploration tool that indexes all contracts on the network, containing a disassembler, an ABI function detector and a control flow analyzer
    • Comes with a --fire-laser option
    • Powered by laser-ethereum
  • porosity
    • A reverse enginering tool, a disassembler, an ABI function detector and a decompiler that also highlights vulnerabilities
  • Manticore
    • A symtolic execution engine that can generate inputs to cover codepaths (asciicast), which also comes with a Python API
  • evmdis
    • A disassembler for EVM code
  • ethersplay
  • Securify
    • A tool that strives to achieve no false-negatives
    • The implementation seems not public as of now
  • Oyente
    • An automatic EVM code analyzer based on symbolic execution and Z3 SMT solver
  • Dr. Y's Ethereum Contract Analyzer
    • A symbolic executor for EVM code

Improvement Proposals

  • Ethereum Improvement Proposals
    • A portal for EVM & Ethereum improvements
    • The soonest changes are listed in the README
  • EVM 1.5
    • A proposal to tame jumps so that a linear-time scan can determine stack layouts
  • eWASM
    • A proposal to use a WebAssembly for Ethereum contract execution

Related Resources

License of This List

Awesome Ethereum Virtual Machine

Written in 2017 by Yoichi Hirai i@yoichihirai.com

[other author/contributor lines as appropriate]

To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.

You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see http://creativecommons.org/publicdomain/zero/1.0/.