A PythX-driven CLI for MythX¶
This package aims to provide a simple to use command line interface for the MythX smart contract security analysis API. It’s main purpose is to demonstrate how advanced features can be implemented using the PythX Python language bindings for MythX to simplify API interaction.
What is MythX?¶
MythX is a security analysis API that allows anyone to create purpose-built security tools for smart contract developers. Tools built on MythX integrate seamlessly into the development environments and continuous integration pipelines used throughout the Ethereum ecosystem.
Usage¶
$ mythx
Usage: mythx [OPTIONS] COMMAND [ARGS]...
Console script for mythx_cli.
Options:
--debug / --no-debug Provide additional debug output
--access-token TEXT Your access token generated from the MythX
dashboard
--format [simple|json|json-pretty]
The format to display the results in
--help Show this message and exit.
Commands:
analyze
list
report
status
version
Installation¶
The MythX CLI runs on Python 3.5+.
To get started, simply run
$ pip3 install mythx-cli
Alternatively, clone the repository and run
$ pip3 install .
Or directly through Python’s setuptools
:
$ python3 setup.py install
- Free software: MIT license
- Documentation: https://mythx-cli.readthedocs.io.