Crytic-compile
Library to help smart contract compilation. It includes support for:
- Direct solc compilation
- Brownie
- Buidler
- Dapp
- Embark
- Etherlime
- Etherscan (including several alt-chain explorers and testnets)
- Foundry
- Hardhat
- Truffle
- Waffle
See the Configuration documentation for advanced usages.
The plugin is used in Trail of Bits tools, including:
Installation
pip3 install crytic-compile
Usage
Standalone
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.