蝉本无知,只因好学,故称知了。
前提:节点前置部署
通过data-export准实时监控StrngGetSet合约
1.在webase-front中部署StringGetSet合约
合约完整代码:
pragma solidity ^0.4.24;
contract StringGetSet {
string myValue;
function StringGetSet(){
myValue = "demo";
}
function get()constant returns(string) {
return myValue;
}
function set(string input) {
myValue = input;
}
}
2.获取启动脚本和配置文件
curl -#LO https://gitee.