0.0.2 • Published 7 years ago
solcvm v0.0.2
solcvm
A solc version manager
About
solcvm is a solc version manager that lets you install and manage different versions of solc.
Instalation
This tool depends on node and npm. Ensure both are installed in the system.
npm install -g solcvm to install it.
Usage
- Installing a
solcversionsolcvm install x.y.z. It will install thex.y.zversion of thesolccompiler, if it is not already installed. - Uninstalling a
solcversionsolcvm uninstall x.y.z. It will uninstall thex.y.zversion of thesolccompiler, if it is already installed. - Running a contract
There are two ways of running a contract.
solcvm using x.y.z contract.solwould run the contract using thex.y.zversion ofsolc.solcvm contract.solwould try to grab the solidity version from the file, if no version of the compiler is specified in thepragmadirective, it will use the latest version of the solidity installed. It supports pragma directive of the form of^x.y.zas well asx.y.z.
For developers
Use npm install or yarn to install the dependencies.
Run npm run test to run the tests and npm run test:coverage to view the test coverage.