【文件属性】:
文件名称:mythos:MythX API的CLI客户端
文件大小:134KB
文件格式:ZIP
更新时间:2021-05-02 09:23:42
security ethereum api-client symbolic-execution TypeScript
神话
MythX的CLI客户端
安装
使用以下命令进行全局安装:
$ npm -g install @cleanunicorn/mythos
用法
使用它来扫描Solidity源代码。
您需要提供MythX地址和密码。
作为环境变量:
$ export MYTHX_ETH_ADDRESS= ' mythxEthAddress '
$ export MYTHX_PASSWORD= ' mythxPassword '
$ mythos analyze ./contract.sol Contract
或作为标志:
$ mythos analyze ./contract.sol Contract \
--mythxEthAddress=mythxEthAddress \
--mythxPassword=mythxPassword
例子:
$ mythos analyze n
【文件预览】:
mythos-master
----.github()
--------ISSUE_TEMPLATE()
----src()
--------index.ts(35B)
--------commands()
--------compiler.ts(4KB)
--------sourcemap.ts(3KB)
--------solc.d.ts(669B)
--------scanner.js(2KB)
----.vscode()
--------settings.json(470B)
----.circleci()
--------config.yml(1KB)
----tsconfig.json(347B)
----test()
--------contracts()
--------tsconfig.json(120B)
--------golden()
--------solidity.test.ts(2KB)
--------mocha.opts(92B)
----tslint.json(33B)
----README.md(10KB)
----.editorconfig(171B)
----.gitignore(1KB)
----bin()
--------run(132B)
--------run.cmd(31B)
----package-lock.json(331KB)
----package.json(2KB)
----.nvmrc(4B)