以太坊私链智能合约实践

环境说明 操作系统: macos.10.12.1 geth版本:1.5.9 solc版本:0.4.15 实践 1. 启动本地geth节点 1 Michaels-iMac:wallet eric$ geth --rpc --rpcaddr 127.0.0.1 --rpcport 8545 --dev --datadir myethchain 如上操作后,geth console输出如下: ...

August 24, 2017

以太坊开发环境问题记录

说明 主要记录以太坊开发环境过程出现的问题 getCompilers返回失败 问题描述 在搭建以太坊开发环境过程中,出现下面的错误信息: 1 2 3 4 5 6 7 8 9 10 11 Welcome to the Geth JavaScript console! instance: Geth/v1.6.7-stable-ab5646c5/darwin-amd64/go1.8.3 modules: admin:1.0 debug:1.0 eth:1.0 miner:1.0 net:1.0 personal:1.0 rpc:1.0 shh:1.0 txpool:1.0 web3:1.0 > web3.eth.getCompilers() Error: The method eth_getCompilers does not exist/is not available at web3.js:3104:20 at web3.js:6191:15 at web3.js:5004:36 at <anonymous>:1:1 问题原因 geth版本编译不在gopath目录下编译 ...

August 22, 2017