Created
January 10, 2022 22:20
-
-
Save Shih-Yu/3f5f4ceeff4e14cd047b9f591361b7f6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.6; | |
contract SimpleStorage { | |
string public word; | |
constructor() { | |
word = "Welcome!"; | |
} | |
function setWord(string memory _word) public { | |
word = _word; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment