# 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).
Metadata
Release files for crytic-compile-master 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| crytic-compile-master-0.2.4.tar.gz | 64.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| crytic_compile_master-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 153.4 kB
Release files / crytic-compile-master-0.2.4.tar.gz
| Download URL | crytic-compile-master-0.2.4.tar.gz |
|---|---|
| Size | 64.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
684f679e5f31c34e16f2f24fe3f3dfe1edbc989298f283bb758e52e1875f7990
|
|
BLAKE2b-256 checksum How to use checksums |
e0513cee924beaa1fbdc383f32c546dea636a1c85ae2fe45b07e4f818cee940e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.9
|
Release files / crytic_compile_master-0.2.4-py3-none-any.whl
| Download URL | crytic_compile_master-0.2.4-py3-none-any.whl |
|---|---|
| Size | 88.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
309d5f573fcce848867fe34a2c16d9a6ed31fb80acd9f9e0abea84ea3c29bc6e
|
|
BLAKE2b-256 checksum How to use checksums |
fb6381cadbc1fc99119c7c9a838a2c1351d508752d410f9f97c7391fbb2166ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.9
|