我想创建一个TRON网络钱包,但我在其中完全是新手。我的第一个问题是如何使用私钥或助记符种子离线生成地址,第二个问题是如何通过对TronGrid的单个请求来查询由我生成的所有地址的余额?
发布于 2021-03-21 02:38:09
假设您已经安装了TronWeb。
您可以执行TronWeb.createAccount()来生成地址并保存输出example from docs。
您可能需要通过发布到TronGrid、https://api.trongrid.io/wallet/getaccount、example from docs逐一检查地址余额
https://stackoverflow.com/questions/66651807
复制相似问题