Skip to content
Easily run any version of solc with solcwrapper. Automatically downloads/compiles/installs and transparently invokes officially released solc versions.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
solcwrapper
.gitignore
README.md

README.md

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-<version>
  • transparently invokes the specified version of solc passing all parameters to it

examples

SOLCWrapper

Options:
    --x-list=<version>
    --x-version=<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 <solc options and args>


(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

You can’t perform that action at this time.