diff --git a/README.md b/README.md index 48ef2c7..a91a22e 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,8 @@ Directions: 3. Open up Nodejs console ```node``` 4. Compile the contract ``` + Web3 = require('web3') + web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545")); code = fs.readFileSync('Voting.sol').toString() solc = require('solc') compiledCode = solc.compile(code)