Simulator of the Ethereum Virtual Machine. The intention of this simulator is to help contract coders develop and test their work using test driven best practises and in full isolation, without the need to connect to the Ethereum Test Net. It currently support the Serpent, LLL and Mutan languages.
Name | Contract file | Test |
---|---|---|
Namecoin | namecoin.se | test_namecoin.py |
Subcurrency | subcurrency.se | test_subcurrency.py |
ReturnTen | returnten.se | test_returnten.py |
Datafeed | datafeed.se | test_datafeed.py |
Install the required Python libraries with pip
, it is suggested to do this within a virtualenv.
pip install -r requirements.txt
Serpent support is available by default.
To use LLL, the lllc
compiler binary needs to be installed and available on the PATH; install it from https://github.com/ethereum/cpp-ethereum/
To use Mutan, the mutan
compiler binary needs to be installed and available on the PATH; install it from https://github.com/obscuren/mutan/
py.test tests/test_namecoin.py
Continious testing (will rerun as soon as a file is changed)
py.test -f tests/test_namecoin.py
Released under the MIT License.