crytic-compile-master-0.2.4
توضیحات
Util to facilitate smart contracts compilation.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | crytic-compile-master-0.2.4 |
| نام | crytic-compile-master |
| نسخه کتابخانه | 0.2.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Trail of Bits |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/crytic/crytic-compile |
| آدرس اینترنتی | https://pypi.org/project/crytic-compile-master/ |
| مجوز | AGPL-3.0 |
# Crytic-compile
[](https://github.com/crytic/crytic-compile/actions?query=workflow%3ACI)
[](https://empireslacking.herokuapp.com)
[](https://badge.fury.io/py/crytic-compile)
Library to help smart contract compilation. It includes support for:
- Direct solc compilation
- [Brownie](https://github.com/iamdefinitelyahuman/brownie)
- [Buidler](https://github.com/nomiclabs/buidler)
- [Dapp](https://dapp.tools/dapp/)
- [Embark](https://embark.status.im/)
- [Etherlime](https://github.com/LimeChain/etherlime)
- [Etherscan](https://etherscan.io/) (including several alt-chain explorers and testnets)
- [Foundry](https://github.com/foundry-rs/foundry/)
- [Hardhat](https://github.com/nomiclabs/hardhat)
- [Truffle](https://truffleframework.com/)
- [Waffle](https://github.com/EthWorks/Waffle)
See the [Configuration](https://github.com/crytic/crytic-compile/wiki/Configuration) documentation for advanced usages.
The plugin is used in Trail of Bits tools, including:
- [Slither](https://github.com/crytic/slither)
- [Echidna](https://github.com/crytic/echidna)
- [Manticore](https://github.com/trailofbits/manticore/)
- [evm-cfg-builder](https://github.com/crytic/evm_cfg_builder)
## Installation
```bash
pip3 install crytic-compile
```
## Usage
### Standalone
```bash
crytic-compile .
```
Crytic-compile will generate `crytic-export/contracts.json` containing the AST/ABI and bytecodes of the contracts.
Run `crytic-compile --help` for more options.
### As a library
See the [library documentation](https://github.com/crytic/crytic-compile/wiki/Library-Documentation).
نیازمندی
| مقدار | نام |
|---|---|
| >=3.4.6 | pycryptodome |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl crytic-compile-master-0.2.4:
pip install crytic-compile-master-0.2.4.whl
نصب پکیج tar.gz crytic-compile-master-0.2.4:
pip install crytic-compile-master-0.2.4.tar.gz