Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command not found.
- cd contracts
- npm install solc
- npm install ethereumjs-testrpc web3@0.20.1
- node
- Web3 = require('web3')
- web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545"));
- code = fs.readFileSync('MyContrat.sol').toString()
- solc = require('solc')
- compileCode = solc.compile(code)
Add Comment
Please, Sign In to add comment