I can generate the .bin of a contract with solc as follows:

solcjs --bin -o output contract.sol

However running the following command:

solcjs --bin-runtime -o output contract.sol

Generates the following:

Invalid option selected, must specify either --bin or --abi

Is bin-runtime still a valid command in solc?


1 Answer 1


bin-runtime is an option for solc, but you're using solcjs. Here are instructions for installing solc.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.