方便智能合约的编译。
crytic-compile的Python项目详细描述
#crytic编译 [![生成状态](https://travis-ci.com/crytic/crytic-compile.svg?branch=master)](https://travis-ci.com/crytic/crytic-compile) [![松弛状态](https://empireslacking.herokuapp.com/badge.svg)](https://empireslacking.herokuapp.com) [![pypi版本](https://badge.fury.io/py/crytic-compile.svg)](https://badge.fury.io/py/crytic-compile)
帮助智能合约编译的库。它包括支持: -直接solc编译 -[松露](https://truffleframework.com/) -[上船](https://embark.status.im/) -[dapp](https://dapp.tools/dapp/) -[乙醚](https://github.com/LimeChain/etherlime) -[以太扫描](https://etherscan.io/)
有关高级用法,请参阅[配置](https://github.com/crytic/crytic-compile/wiki/Configuration)文档。
该插件用于Crytic工具,包括: -[滑动](https://github.com/crytic/slither) -[针鼹](https://github.com/crytic/echidna) -[曼蒂科尔](https://github.com/trailofbits/manticore/) -[evm cfg builder](https://github.com/crytic/evm_cfg_builder)
##安装
` pip install crytic-compile `
##用法
###独立的 `bash $ crytic-compile . `
crytic compile将生成包含合同的ast/abi和字节码的crytic export/contracts.json。 文件结构为:
运行crytic compile–help获取更多选项。
###作为库
请参阅[库文档](https://github.com/crytic/crytic-compile/wiki/Library-Documentation)。