Hello world on solidity Ethereum

Wagner Nicolas
May 31, 2017 · 1 min read

Go to http://remix.ethereum.org. This is an IDE to write and execute the smart contract.

Then, write this code :

pragma solidity ^0.4.22;contract helloWorld {
function renderHelloWorld () public pure returns (string) {
return 'helloWorld';
}
}

In remix IDE switch the execution environment to the JavaScript VM. Now, you can press the button execute to deploy the smart contract. After this, run the function renderHelloWorld() with the button renderHelloWorld.

You must see this :

call to helloWorld.renderHelloWorld[call] from:0xca35b7d915458ef540ade6068dfe2f44e8fa733c, to:helloWorld.renderHelloWorld(), data:942ae...ae0a7, return:{  "0": "string: helloWorld" }

That’s all !

Wagner Nicolas

Written by

dev & Kleros cofounder #blockchain #ethereum

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