HelloWeb3 Smart Contract

PHOTO EMBED

Sun Jun 19 2022 14:24:29 GMT+0000 (Coordinated Universal Time)

Saved by @alefl10 #solidity

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

contract HelloWeb3 {
    string public getName;

    constructor() {
      getName = "Unknown";
    }

    function setName(string memory newName) public{
		  getName = newName;
    }
}
content_copyCOPY