Ia m newbie to smart contract world. Not able to execute smal smart contract written in solidity within Ethereum remix dev environment. I am simply using get set to return name, but while I supply name input no output is getting returned. Below is code.
Environment is: Javascript VM
pragma solidity ^0.4.0;
contract myHWSC
{
string private name;
uint private age;
function setName (string newName)
{
name=newName;
}
function getName() returns (string)
{
return name;
}
}
creation of myHWSC pending... [vm] from:0xca3...a733c, to:myHWSC.(constructor), value:0 wei, data:0x606...60029, 0 logs, hash:0x72b...d8978 Details Debug transact to myHWSC.setName pending ... – Munish Mar 31 '18 at 23:00