2018-06-15 16:37:20 -04:00
|
|
|
Embark-Solc
|
2018-05-26 12:31:46 -04:00
|
|
|
======
|
|
|
|
|
|
|
|
Plugin for [Embark](https://github.com/embark-framework/embark) to compile contracts using solc
|
|
|
|
|
2018-11-15 12:02:19 -05:00
|
|
|
## Installation
|
|
|
|
|
2018-05-26 12:31:46 -04:00
|
|
|
|
|
|
|
In your embark dapp directory:
|
2018-11-15 12:02:19 -05:00
|
|
|
|
2018-05-26 12:31:46 -04:00
|
|
|
```npm install embark-solc --save```
|
|
|
|
|
2018-11-15 12:02:19 -05:00
|
|
|
then add embark-solc to the plugins section in `embark.json`:
|
2018-05-26 12:31:46 -04:00
|
|
|
|
|
|
|
```Json
|
|
|
|
"plugins": {
|
2018-07-23 12:40:54 -04:00
|
|
|
"embark-solc": {
|
|
|
|
"outputBinary": false
|
|
|
|
}
|
2018-05-26 12:31:46 -04:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2018-07-23 12:40:54 -04:00
|
|
|
- `outputBinary` can be specified to generate a .bin file that contains the binary of the contracts in hex. Default value is `false`.
|
|
|
|
|
2018-11-15 12:02:19 -05:00
|
|
|
## Requirements
|
2018-05-26 12:31:46 -04:00
|
|
|
|
|
|
|
- Embark 3.0.0 or higher
|
2018-11-15 12:02:19 -05:00
|
|
|
- [Solc](https://github.com/ethereum/solidity/releases) installed and available globally on your machine (h)
|
2018-05-26 12:31:46 -04:00
|
|
|
|