Authentication

Truffle Security is being deprecated and will not be maintained after July 15 2020. You should now use the MythX CLI, which also has full support for Truffle projects. Learn more at: https://github.com/dmuhs/mythx-cli.

First generate a new API key on the MythX dashboard.

This key can be passed to MythX as an environment variable MYTHX_API_KEY.

  • Linux / macOS:

export MYTHX_API_KEY='put your API key here!'
  • Windows:

set MYTHX_API_KEY='put your API key here!'

The API key can also be passed as a command line argument using --apiKey flag:

--apiKey {'put your API key here'}

Last updated