d6c2035b54
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. |
||
---|---|---|
lib | ||
.eslintrc.json | ||
.gitignore | ||
README.md | ||
index.js | ||
package-lock.json | ||
package.json |
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 isfalse
.
Requirements
- Embark 3.0.0 or higher
- Solc installed and available globally on your machine (h)