March 2018
Beginner to intermediate
656 pages
20h 9m
English
var simplecontract = SimpleContract.at("0xd9d02a4974cbeb10406639ec9378a782bf7f4dd2");
console.log(simplecontract);
This line of code simply uses console.log to print the simple contract attributes. Once this call is successful, it means that the web3 object has been created correctly and HttpProvider is available. Any other call can be used to verify the availability, but as a simple example, printing simple contract attributes been used in the preceding example.