mirror of
https://github.com/embarklabs/embark-solc.git
synced 2025-02-28 22:40:26 +00:00
30 lines
599 B
Markdown
30 lines
599 B
Markdown
Embark-Solc
|
|
======
|
|
|
|
Plugin for [Embark](https://github.com/embark-framework/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```:
|
|
|
|
```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
|
|
|