nebulasio / wiki

This repository is out of date, please check the new wiki:
http://wiki.nebulas.io/en/latest/
GNU General Public License v3.0
421 stars 154 forks source link

发送交易失败 account is not found #162

Closed flute closed 6 years ago

flute commented 6 years ago

发送交易三种方式:

使用第1、2种方式发送交易失败。原因:调用接口创建了账号,但未将keystore存在指定路径。

问题一: 第2、3种方式文档明确指出,需要上传keystore文件至节点目录,第一种没有说明,那么第一种是否需要?

问题二: 将keytore存在其他路径,或以字符串形式存在数据库时。如何实现交易?

xfarmer commented 6 years ago

我遇到同样的问题,keystroe存在本地的了,通过测试网的接口能够看到测试网账户的余额,但是本地启动的测试节点查余额为0,边切签名时提示 account is not found.

xfarmer commented 6 years ago

在本地签名要怎么做,加入testnet和mainnet的文档看不是很懂,需要本地起一个节点吗?还是怎么样?

flute commented 6 years ago

1、第一种不需要在节点目录存储keystore. 2、参考neb.js文档