Skip to content

Instantly share code, notes, and snippets.

@Shih-Yu
Created January 10, 2022 22:20
Show Gist options
  • Save Shih-Yu/3f5f4ceeff4e14cd047b9f591361b7f6 to your computer and use it in GitHub Desktop.
Save Shih-Yu/3f5f4ceeff4e14cd047b9f591361b7f6 to your computer and use it in GitHub Desktop.
// 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