【问题标题】:Generating address and private key using web3js in ethereum在以太坊中使用 web3js 生成地址和私钥
【发布时间】:2018-07-01 20:26:36
【问题描述】:

我们如何在以太坊中使用 web3js 生成地址和私钥?

请人帮忙。

【问题讨论】:

    标签: node.js ethereum web3js


    【解决方案1】:

    如果您使用的是 web3.js 1.0.0,请参阅web3.eth.accounts.create

    如果您使用的是 0.2x.x,我认为 web3.js 不包含执行此操作的方法,但您可以使用 ethereumjs-wallet

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-04-06
      • 1970-01-01
      • 2023-04-07
      • 1970-01-01
      • 2020-10-17
      • 1970-01-01
      • 2019-04-20
      相关资源
      最近更新 更多