Skip to content

InsidersByte/solc-cli

Repository files navigation

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

About

solc command line interface

Resources

License

Stars

Watchers

Forks

Packages

No packages published