Util to facilitate smart contracts compilation.
Project description
# Crytic-compile [![Build Status](https://img.shields.io/github/workflow/status/crytic/crytic-compile/CI/master)](https://github.com/crytic/crytic-compile/actions?query=workflow%3ACI) [![Slack Status](https://empireslacking.herokuapp.com/badge.svg)](https://empireslacking.herokuapp.com) [![PyPI version](https://badge.fury.io/py/crytic-compile.svg)](https://badge.fury.io/py/crytic-compile)
Library to help smart contract compilation. It includes support for: - Direct solc compilation - [Truffle](https://truffleframework.com/) - [Embark](https://embark.status.im/) - [Dapp](https://dapp.tools/dapp/) - [Etherlime](https://github.com/LimeChain/etherlime) - [Etherscan](https://etherscan.io/) - [Brownie](https://github.com/iamdefinitelyahuman/brownie) - [Waffle](https://github.com/EthWorks/Waffle) - [Buidler](https://github.com/nomiclabs/buidler) - [Hardhat](https://github.com/nomiclabs/hardhat)
See the [Configuration](https://github.com/crytic/crytic-compile/wiki/Configuration) documentation for advanced usages.
The plugin is used in Crytic 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).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file crytic_compile-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: crytic_compile-0.2.3-py3-none-any.whl
- Upload date:
- Size: 87.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e22b1d6398d20fefbe64209744bd9b2877ae82c0204f682f499df4f78e6842d |
|
MD5 | 5911c6f46bd33e81aa3eac6af2928fd8 |
|
BLAKE2b-256 | 144c300923da9632a1e7cd96174026619b05f18ddc8b88db8e6634f505afa356 |