macor161 / quantal

Fast and lightweight build tool for Solidity.
MIT License
23 stars 1 forks source link
ethereum solidity

Quantal

Quantal is a fast and lightweight build tool for Solidity.

Build Status Coverage Status

Fast, lightweight

output

Open Zeppelin compilation with no cache

By using multiple binary compilers in parallel, V8 caching and other optimizations, Quantal is on average 2-3x faster than truffle-compile. It follows the Unix principle of doing one thing but do it well, focusing exclusively on compilation related tasks.

Pretty errors and warnings

compile 2

Watch mode

Launch a new build each time a smart contract is modified.

Install

yarn global add quantal

or

npm install -g quantal

Usage

quantal [options]

-w, --watch     Watch for changes
-V, --version   Display version
-h, --help      Display help

Truffle config compatibility

The following truffle config options are currently supported:

{
    contracts_build_directory,
    contracts_directory,
    compilers: {
        solc: {
            version, // See supported versions below
            evmVersion,
            optimizer: {
                enabled,
                runs            
            }
        }
    }
}

Important notes

Supported solc versions

MacOS

Mojave (10.14) and High Sierra (10.13) currently supported for the following solc versions:

Linux

Windows