2018-06-15 20:37:20 +00:00
|
|
|
Embark-Solc
|
2018-05-26 16:31:46 +00:00
|
|
|
======
|
|
|
|
|
|
|
|
Plugin for [Embark](https://github.com/embark-framework/embark) to compile contracts using solc
|
|
|
|
|
2018-11-15 17:02:19 +00:00
|
|
|
## Installation
|
|
|
|
|
2018-05-26 16:31:46 +00:00
|
|
|
|
|
|
|
In your embark dapp directory:
|
2018-11-15 17:02:19 +00:00
|
|
|
|
2018-05-26 16:31:46 +00:00
|
|
|
```npm install embark-solc --save```
|
|
|
|
|
2018-11-15 17:02:19 +00:00
|
|
|
then add embark-solc to the plugins section in `embark.json`:
|
2018-05-26 16:31:46 +00:00
|
|
|
|
|
|
|
```Json
|
|
|
|
"plugins": {
|
2018-07-23 16:40:54 +00:00
|
|
|
"embark-solc": {
|
|
|
|
"outputBinary": false
|
|
|
|
}
|
2018-05-26 16:31:46 +00:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2018-07-23 16:40:54 +00: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 17:02:19 +00:00
|
|
|
## Requirements
|
2018-05-26 16:31:46 +00:00
|
|
|
|
2019-04-08 18:24:14 +00:00
|
|
|
- [Embark](https://www.npmjs.com/package/embark) 4.0.0 or higher
|
2018-11-15 17:02:19 +00:00
|
|
|
- [Solc](https://github.com/ethereum/solidity/releases) installed and available globally on your machine (h)
|
2018-05-26 16:31:46 +00:00
|
|
|
|