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 153 forks source link

{"error":"cannot found account in storage"} #109

Open lin493369 opened 6 years ago

lin493369 commented 6 years ago
curl -i -H 'Accept: application/json' -X POST http://localhost:8685/v1/admin/transactionWithPassphrase -H 'Content-Type: application/json' -d '{"transaction":{"from":"n1H4MYms9F55ehcvygwWE71J8tJC4CRr2so","to":"n1rVLTRxQEXscTgThmbTnn2NqdWFEKwpYUM", "value":"100","nonce":1,"gasPrice":"1000000","gasLimit":"2000000","contract":{"function":"check","args":"[0]"}}, "passphrase": "passphrase"}'
HTTP/1.1 400 Bad Request
Content-Type: application/json
Date: Tue, 08 May 2018 08:57:53 GMT
Content-Length: 44

{"error":"cannot found account in storage"}
Dearkano commented 6 years ago

遇到了同样的问题,发现是合约部署没有成功 所以地址不对

xfarmer commented 6 years ago

@Dearkano 请教一个问题,测试网和主网合约要怎么部署啊,签名了本地签名要启动对应的节点吗?还是不用?

Dearkano commented 6 years ago

@farmerljx 只是签名交易的话不用 详见官方的钱包

xfarmer commented 6 years ago

@Dearkano OK ,明白了,多谢~~

weiht12 commented 5 years ago

你好,此版本为星云旧版wiki,欢迎将您的问题提交星云新版wiki,以便于及时与星云开发人员及其他社区开发者进行交流。同时,参与wiki的编辑维护工作还会有奖励哦。新版wiki链接:https://wiki.nebulas.io/en/latest/ (英文);https://wiki.nebulas.io/zh_CN/latest/ (中文) Hello, this version is the nebulas old wiki (later stop maintenance), welcome to submit your question to the new nebulas wiki, in order to get timely answers. At the same time, there will be rewards for editing and maintaining the wiki. New wiki link: https://wiki.nebulas.io/en/latest/ (English); https://wiki.nebulas.io/zh_CN/latest/ (Chinese)