CmdID

CmdID / Commands

solcjs

A set of JavaScript bindings for the Solidity compiler. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Compile a specific contract to hex

solcjs --bin path/to/file.solIdentify

Compile the ABI of a specific contract

solcjs --abi path/to/file.solIdentify

Specify a base path to resolve imports from

solcjs --bin --base-path path/to/directory path/to/file.solIdentify

Specify one or more paths to include containing external code

solcjs --bin --include-path path/to/directory path/to/file.sol ...Identify

Optimize the generated bytecode

solcjs --bin --optimize path/to/file.solIdentify