emizzle d6c2035b54 feat(@embark/embark-solc): Support recursively remapping imports
Changes include:
- Before compilation, for each contract file being compiled, recursively remaps the contract's imports.
- Allowed directories for compilation updated based on the remapped import paths for the contract file.
- Support for code coverage flag.
- Fix for unhandled promise rejection when attempting to use an insufficient version of solc.
2019-02-01 16:07:58 +11:00
2018-11-15 12:03:17 -05:00

Embark-Solc

Plugin for Embark to compile contracts using solc

Installation

In your embark dapp directory:

npm install embark-solc --save

then add embark-solc to the plugins section in embark.json:

  "plugins": {
    "embark-solc": {
      "outputBinary": false
    }
  }
  • outputBinary can be specified to generate a .bin file that contains the binary of the contracts in hex. Default value is false.

Requirements

  • Embark 3.0.0 or higher
  • Solc installed and available globally on your machine (h)
Description
Plugin to make Embark use the command line solidity compiler (much faster)
Readme
Languages
JavaScript 100%