trufflesuite / truffle-compile

Compiler helper and artifact manager
22 stars 46 forks source link

Allow compile with native built solc & dockerized solc #59

Closed cgewecke closed 6 years ago

cgewecke commented 6 years ago

Config API

// Native
compiler: {
  solc: "native"
}
// Docker 
compiler: {
  solc: "0.4.22",   // Any published image name
  docker: true
}

Solc docker images are listed here and can be installed locally by running:

docker pull ethereum/solc:0.4.22  // Example image

Instructions for installing solc binaries vary by OS and are detailed in the Solidity docs here. CI uses the linux distribution which also seems like the simplest.

cgewecke commented 6 years ago

@gnidan Thanks!