如何在 hedera 测试网上创建帐户?

问题描述 投票:0回答:1

我在 Hedera 测试网上创建帐户时遇到问题。下面是错误信息

C:\Users\OJI\Documents\Hedera-test ode_modules@hashgraph\sdk\lib\Executable.cjs:666 抛出新错误(

max attempts of ${maxAttempts.toString()} was reached for request with last error being: ${persistentError != null ? persistentError.toString() : ""}
); ^

错误:请求的最大尝试次数已达到 10 次,最后一个错误为:BUSY 在 AccountCreateTransaction.execute (C:\Users\OJI\Documents\Hedera-test ode_modules@hashgraph\sdk\lib\Executable.cjs:666:11) 在异步环境设置 (C:\Users\OJI\Documents\Hedera-test\index.js:37:24)

我尝试运行“npm start”,但出现错误。我期待这样的输出...

新帐户 ID:[newly_created_account_id] 新账户余额:1000 个tinybars。

account hedera-hashgraph
1个回答
0
投票

我认为你应该运行像“node index.js”或“node [namdeOfFile.js]”这样的脚本而不是npm

尝试像这样在终端中运行脚本

node index.js
© www.soinside.com 2019 - 2024. All rights reserved.