xxxxxxxxxx
pragma solidity ^0.7.5; //Verison Used
// contact name
contract HelloWorld {
// public keyword shows this function can be called anywhere
// pure is keyword which can not interact, read and modify other variables in the code
// memory keyword shows we store data temporary not in blockchain
function hello() public pure returns(string memory) {
return "Welocome to softhunt.net website";
}
}
xxxxxxxxxx
pragma solidity ^0.7.5; //Verison Used
// contact name
contract HelloWorld {
// public keyword shows this function can be called anywhere
// pure is keyword which can not interact, read and modify other variables in the code
// memory keyword shows we store data temporary not in blockchain
function hello() public pure returns(string memory) {
return "Welocome to softhunt.net website";
}
}