DEV Community

Cover image for ◼️21/100 Block-by-Block: "Hello, World!" in Solidity
András Novoszáth
András Novoszáth

Posted on

◼️21/100 Block-by-Block: "Hello, World!" in Solidity

One thing I learned about: "Hello, World!" in Solidity

contract ExampleContract {
    function helloWorld(string memory name)
        public
        pure
        returns (string memory) {
            return string.concat("Hello, ", name, "!");
        }
}
Enter fullscreen mode Exit fullscreen mode

🔽🛠️Resources🔽

Top comments (0)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.