2019-04-22 19:15:40 +00:00
Status Embark plugin for MythX.
# QuickStart
Run `verify` in the Embark console. When the call returns, it will look something like this:
```
Embark (development) > verify
embark-mythx: Running MythX analysis in background.
embark-mythx: Submitting 'ERC20' for analysis...
embark-mythx: Submitting 'SafeMath' for analysis...
embark-mythx: Submitting 'Ownable' for analysis...
embark-mythx:
/home/flex/mythx-plugin/testToken/.embark/contracts/ERC20.sol
1:0 warning A floating pragma is set SWC-103
✖ 1 problem (0 errors, 1 warning)
embark-mythx: MythX analysis found vulnerabilities.
```
2019-04-22 21:22:15 +00:00
# Installation
Add `embark-mythx` to the `plugins` section in your `embark.json` . To have the plugin permanently ignore one or multiple contracts, add them as array `ignore` to the configuration:
```
"plugins": {
"embark-mythx": {
"ignore": ["Ownable", "Migrations"]
}
}
```
2019-04-22 19:15:40 +00:00
# Options
2019-04-22 21:22:15 +00:00
`--full` , `-f` -- run full analysis instead of quick.
`--debug` , `-d` -- print additional output.