James Ray
James Ray
Sep 2, 2017 · 1 min read

Unfortunately I don’t see any of this.

I think it has something to do with this error:

browser/deploying-your-first-lll-contract-part-2-910d9eff497e.sol:1:1: ParserError: Expected pragma, import directive or contract/interface/library definition.

All good, I had the wrong code, was meant to use this:

pragma solidity ^0.4.0;
contract IdentityFunction {
function identity (uint256 input) constant returns (uint256);

Rather than this:

var Web3 = require(‘web3’);
var web3 = new Web3(new Web3.providers.HttpProvider(“http://localhose:8545"));

    James Ray

    James Ray

    https://about.me/james.ray. The plant in the foreground of my gravatar is a pineapple plant, planted from the top of a pineapple at my Grandma’s house.

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade