truffle-solc-select

0.1.6 • Public • Published

Truffle Solc Select

This plugin can be used to compile smart contracts that require multiple solidity compiler versions. It does this by installing various versions on install and automatically selects the right version based on the smart contract pragma version.

Note: This feature is new and still in a super experimental state. Not ready for production!!!!

Plugin installation / usage

  1. Install the plugin from NPM.

    npm install --save-dev truffle-solc-select
    
  2. Add a plugins section to your Truffle config.

    module.exports = {
      /* ... rest of truffle-config */
    
      plugins: [
        "truffle-solc-select"
      ]
    }
    
  3. Run the command

    $ truffle run multicompile
    

Package Sidebar

Install

npm i truffle-solc-select

Weekly Downloads

2

Version

0.1.6

License

MIT

Unpacked Size

5.71 kB

Total Files

10

Last publish

Collaborators

  • harishperfect