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:
pip3 install crytic-compile
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.
See the library documentation.