首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >HyperLedger锯齿赛斯入门错误2

HyperLedger锯齿赛斯入门错误2
EN

Stack Overflow用户
提问于 2018-09-30 18:30:20
回答 1查看 154关注 0票数 1

我正在学习锯齿赛斯(https://sawtooth.hyperledger.org/docs/seth/releases/latest/getting_started.html)的入门教程,但我无法在网络上设置帐户。网络在另一个shell中运行正常。(为简单起见,我删除了-aes128标志)

代码语言:javascript
复制
 lorenzo@MacBook-Air-di-Lorenzo ~ $ cd gitHubRepo/sawtooth-seth/
 lorenzo@MacBook-Air-di-Lorenzo ~/gitHubRepo/sawtooth-seth $ docker exec -it seth-cli bash
 root@a6caea38a1a8:/project/sawtooth-seth# openssl ecparam -genkey -name secp256k1 | openssl ec -out key-file.pem      

 read EC key
 writing EC key

 root@a6caea38a1a8:/project/sawtooth-seth# seth account import key-file.pem myalias

 error: Found argument 'myalias' which wasn't expected, or isn't valid in this context
USAGE:
seth account import <key-file> --pass-file <pass-file>
For more information try --help

root@a6caea38a1a8:/project/sawtooth-seth# seth account import key-file.pem --pass-file myalias

Error: No such file or directory (os error 2)

root@a6caea38a1a8:/project/sawtooth-seth# ls

bin  cli  common  contracts  key-file.pem  protos  tests
EN

回答 1

Stack Overflow用户

发布于 2018-10-02 02:11:53

您在seth-cli Docker容器中运行了seth命令。您需要在seth-cli-go容器中运行它,直到PR https://github.com/hyperledger/sawtooth-seth/pull/72被合并。编辑:这是2018年11月13日合并的。

对于这样的问题,一个很好的资源也是https://chat.hyperledger.org/channel/sawtooth-seth的赛斯聊天频道

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/52577048

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档