Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tintinweb/solcwrapper

Easily run any version of solc with solcwrapper. Automatically downloads/compiles/installs and transparently invokes officially released solc versions.
https://github.com/tintinweb/solcwrapper

ethereum solidity

Last synced: 22 days ago
JSON representation

Easily run any version of solc with solcwrapper. Automatically downloads/compiles/installs and transparently invokes officially released solc versions.

Awesome Lists containing this project

README

        

# solcwrapper

A wrapper for solc that allows to specify a released version of solc as a commandline option (`--x-version=0.5.1`)
* automatically installs the specified version if *not yet* installed
* downloads either the specified static (`--x-from-static`) binary of solc, or the source-code archive (`--x-from-source`) and compiles it
* installs the binary to `/usr/local/bin/solc-`
* transparently invokes the specified version of solc passing all parameters to it

# examples

```
SOLCWrapper

Options:
--x-list=
--x-version=
--x-from-source
--x-from-static

Usage:
#> python3 -m solcwrapper --x-list
#> python3 -m solcwrapper --x-list=0.5.0
#> python3 -m solcwrapper --x-version=0.5.1

(env) ~/w/p/solcwrapper ❯❯❯ python -m solcwrapper --x-version=0.5.1 --version
solc, the solidity compiler commandline interface
Version: 0.5.1+commit.c8a2cb62.Darwin.appleclang

```