【问题标题】:How to Create a tron wallet with nodejs如何使用 nodejs 创建一个 tron 钱包
【发布时间】:2021-03-16 08:49:20
【问题描述】:

我想创建一个 TRON 网络钱包,但我完全是个菜鸟。 我的第一个问题是如何离线生成地址并使用私钥或助记词种子 第二个问题是,如何通过一次对 TronGrid 的请求查询我生成的所有地址的余额?

【问题讨论】:

标签: node.js blockchain cryptocurrency tron


【解决方案1】:

假设您已安装 TronWeb

您可以使用TronWeb.createAccount() 来生成地址并保存输出,example from docs

您可能需要通过发帖到 TronGrid、https://api.trongrid.io/wallet/getaccountexample from docs 来一一查看地址余额

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2022-07-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-01-04
    • 2018-02-20
    相关资源
    最近更新 更多