//导入solc 编译器 let solc = require('solc') let fs = require('fs') //读取合约 let sourceCode = fs.readFileSync('./contracts/SimpleStorage.sol','utf-8') //var input = 'contract x { function g() {} }' // Setting 1 as second paramateractivates the optimiser //编