Plugin to make Embark use the command line solidity compiler (much faster)
Go to file
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
lib feat(@embark/embark-solc): Support recursively remapping imports 2019-02-01 16:07:58 +11:00
.eslintrc.json chore(embark-solc): add eslintrc and fix linting errors 2018-11-07 14:48:52 -05:00
.gitignore chore(embark-solc): add eslintrc and fix linting errors 2018-11-07 14:48:52 -05:00
README.md chore(readme): improve readme 2018-11-15 12:03:17 -05:00
index.js feat(@embark/embark-solc): Support recursively remapping imports 2019-02-01 16:07:58 +11:00
package-lock.json fix: fix race condition by using the new compiler api 2019-01-18 09:01:41 -05:00
package.json fix: fix race condition by using the new compiler api 2019-01-18 09:01:41 -05:00

README.md

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)