Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Util to facilitate smart contracts compilation.

Project description

# Crytic-compile [![Build Status](https://travis-ci.com/crytic/crytic-compile.svg?branch=master)](https://travis-ci.com/crytic/crytic-compile) [![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)

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

` pip 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. The file structure is:

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for crytic-compile, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size crytic_compile-0.1.4-py3-none-any.whl (48.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page