wiki
wiki copied to clipboard
{"error":"cannot found account in storage"}
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 请教一个问题,测试网和主网合约要怎么部署啊,签名了本地签名要启动对应的节点吗?还是不用?
@farmerljx 只是签名交易的话不用 详见官方的钱包
@Dearkano OK ,明白了,多谢~~
你好,此版本为星云旧版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)