The compiler from Solidity to zkEVM bytecode.
- Get the access to the private LLVM repository.
- Remove all the existing LLVM artifacts from your system.
- Build the
main
branch of LLVM by running./build.sh release
at its root. - Perform a clean build of this repository:
cargo clean && ./run.sh
.
zksolc ERC20.sol --asm --bin --optimize --output-dir './build/'
The latest patch of the solc v0.8 must be available through PATH
.
Do not use the former patches of solc, as each version introduces important bug fixes!