/yulc

Compile YUL into EVM bytecode by invoking solc

Primary LanguageJavaScript

yulc: Compile Yul into EVM bytecode by invoking solc

# Install solc
$ pip install solc-select   # https://github.com/crytic/solc-select
$ solc-select install 0.8.9
$ solc-select use 0.8.9

# Use yulc
$ yulc MyContract.yul       # Output in MyContract.yul.out.json

This package implements a yulc command that helps you use solc as an YUL assembler/compiler in the way described in the "Yul: Stand-Alone Usage" section of the solc manual.

Todo

  • Support solcjs