Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Document solcjs parser config (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
CruzMolina authored Dec 3, 2019
1 parent 3725b9b commit 9be85af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/docs/truffle/reference/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ You may specify...
+ a natively compiled solc binary (you'll need to install this yourself, links to help below).
+ a dockerized solc from one of images published [here](https://hub.docker.com/r/ethereum/solc/tags/).
+ a path to a locally available solc
+ a solc-js parser for faster docker and native compilations

Truffle config example:

Expand All @@ -235,6 +236,7 @@ module.exports = {
version: <string>, // A version or constraint - Ex. "^0.5.0"
// Can also be set to "native" to use a native solc
docker: <boolean>, // Use a version obtained through docker
parser: "solcjs", // Leverages solc-js purely for speedy parsing
settings: {
optimizer: {
enabled: <boolean>,
Expand Down

0 comments on commit 9be85af

Please sign in to comment.