mirror of https://github.com/embarklabs/embark.git
34 lines
775 B
Markdown
34 lines
775 B
Markdown
# `embark-solc`
|
|
|
|
> Solc plugin for Embark
|
|
|
|
Compiles contracts using solc in an Embark DApp.
|
|
|
|
## 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](https://www.npmjs.com/package/embark) 4.0.0 or higher
|
|
- [Solc](https://github.com/ethereum/solidity/releases) installed and available globally on your machine (h)
|
|
|
|
Visit [embark.status.im](https://embark.status.im/) to get started with
|
|
[Embark](https://github.com/embark-framework/embark).
|