【问题标题】:GoError: Error: the method personal_newAccount does not exist/is not available at web3.jsGoError:错误:方法personal_newAccount 不存在/在web3.js 中不可用
【发布时间】:2022-06-16 20:09:05
【问题描述】:

我是那个领域的新手,我刚刚安装了 geth 和 我用这个命令启动一个 geth 实例:geth --rinkeby --syncmode=light --http 然后我用这个命令附加到那个实例:geth attach http://127.0.0.1:8545 它似乎运作良好......

personal 命令返回给我:

但是在命令personal.newAccount() 上我得到这个错误:

从我在旧帖子中找到的内容:https://ethereum.stackexchange.com/questions/51772/account-created-using-web3-is-not-showing-in-geth-console 我应该在启动命令时允许个人 api,但现在 --rpcapi personal 选项不可用。

你知道我做错了什么吗?

谢谢!

【问题讨论】:

    标签: ethereum web3js go-ethereum


    【解决方案1】:

    我遇到了同样的错误 我正在创建我的私有区块链并遇到同样的错误。

    【讨论】:

      猜你喜欢
      • 2021-06-24
      • 2019-08-04
      • 2020-09-30
      • 2022-07-14
      • 2022-01-14
      • 1970-01-01
      • 2018-12-11
      • 1970-01-01
      • 2022-07-08
      相关资源
      最近更新 更多