Examples (5)
Compile a specific contract to hex
solcjs --bin path/to/file.solCompile the ABI of a specific contract
solcjs --abi path/to/file.solSpecify a base path to resolve imports from
solcjs --bin --base-path path/to/directory path/to/file.solSpecify one or more paths to include containing external code
solcjs --bin --include-path path/to/directory path/to/file.solOptimise the generated bytecode
solcjs --bin --optimize path/to/file.solmade by @shridhargupta | data from tldr-pages