https://www.cnblogs.com/fengzhiwu/p/5629468.html
在geth上部署和调用智能合约完整教程
在geth客户端部署智能合约
1、编写智能合约源代码
source=
"contract test { function multiply(uint a) returns(uint d) { return a * 7; } }";
2、编译智能合约
contract = eth.compile.solidity(source).test;
这种方式需要在geth客户端安装solidity编译器solc,这个我暂时还没有找到解决办法,以后研究。

最低0.47元/天 解锁文章
855

被折叠的 条评论
为什么被折叠?



