常见问题

问题1

问题描述: callback contain no result Error: authentication needed: password or unlock
Ethereum部署私有合约常见问题汇总

这里的问题是当前所用的账户没有被unlock, 故需要解锁。
切换到geth的控制台:
Ethereum部署私有合约常见问题汇总

Ethereum部署私有合约常见问题汇总

在geth的常用命令:

查看当下的账户列表:

eth.accounts
Ethereum部署私有合约常见问题汇总

查看eth支持的命令:
Ethereum部署私有合约常见问题汇总
感兴趣的各位,可以详细查阅文档

新创建Account

personal.newAccount()

挖矿/停止挖矿

miner.start()

调用命令完毕之后,会返回null

miner.stop()

调用命令成功之后,会返回true

————————- 万恶的分割线,怎么这么快就到底了————————-

相关文章:

  • 2021-10-17
  • 2021-11-19
  • 2022-12-23
  • 2021-10-25
  • 2021-06-10
猜你喜欢
  • 2021-12-27
  • 2022-12-23
  • 2021-09-11
  • 2022-12-23
  • 2021-07-13
  • 2021-06-15
相关资源
相似解决方案