solcjs
A set of JavaScript bindings for the Solidity compiler. More information: https://github.com/argotorg/solc-js.
- Compile a specific contract to hex:
solcjs --bin
- Compile the ABI of a specific contract:
solcjs --abi
- Specify a base path to resolve imports from:
solcjs --bin --base-path
- Specify one or more paths to include containing external code:
solcjs --bin --include-path
- Optimize the generated bytecode:
solcjs --bin --optimize
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
