Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Solidity smart contract
pragma solidity 0.5.4;
contract Register {
string private info;
function getInfo() public view returns (string memory) {
return info;
function setInfo(string memory _info) public {
info = _info;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment