solc-cli

v0.2.0
solc command line interface
solc solc-cli

solc-cli

npm
Build Status
Dependency Status peerDependency Status devDependency Status

NPM

Command line interface for https://github.com/ethereum/solc-js

Installation

$ npm install --save-dev solc solc-cli

Solc is a peer dependency so needs to be installed alongside this cli

Usage

$ solc [options] [files]

Examples

Single File

solc example.sol

Multiple Files

solc example.sol anotherExample.sol

Glob

solc *.sol

Uses https://github.com/isaacs/node-glob

Options

$ solc --name=value
Option Default Description
out-dir ./contracts Output directory for the compiled contracts
optimise null If present activates the solc optimiser
debug null If present shows the debug messages

Metadata

  • MIT
  • Whatever
  • Jonathon Kelly
  • released 6/13/2016

Downloads

Maintainers