Home | 简体中文 | 繁体中文 | 杂文 | 知乎专栏 | 51CTO学院 | CSDN程序员研修院 | Github | OSChina 博客 | 腾讯云社区 | 阿里云栖社区 | Facebook | Linkedin | Youtube | 打赏(Donations) | About
知乎专栏多维度架构

8.4. Helloworld Example

		
// SPDX-License-Identifier: MIT
// http://www.netkiller.cn/blockchain/
pragma solidity ^0.8.15;

contract HelloWorld
{
    string private tmp;

    constructor() {

    }

    function set(string memory _tmp) public 
    {
        tmp = _tmp;
    }

    function get() public view returns (string memory)
    {
        return tmp;
    }

}