知乎专栏 | 多维度架构 |
目录
ERROR[02-10|16:12:45] Cannot start mining without etherbase err="etherbase address must be explicitly specified" Error: etherbase missing: etherbase address must be explicitly specified at web3.js:3143:20 at web3.js:6347:15 at web3.js:5081:36 at <anonymous>:1:1
原因是当前环境没有账户,需要建立一个账户
> personal.newAccount("chen") "0x1b94732fca6f62a4f74fb2f7c80bfc89d567fdfb"
现在启动挖矿就不会出现问题了