Ошибка начала работы HyperLedger Sawtooth Seth 2
Я следую руководству по началу работы с Sawtooth Seth ( https://sawtooth.hyperledger.org/docs/seth/releases/latest/getting_started.html), но не могу настроить учетную запись в сети. Сеть работает нормально в другой оболочке. (Я убрал флаг -aes128 для простоты)
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
1 ответ
Вы управляли seth
команда в seth-cli
Докер контейнер. Вам нужно запустить его в seth-cli-go
контейнер до PR https://github.com/hyperledger/sawtooth-seth/pull/72 будет объединен.
Хорошим ресурсом для подобных вопросов является также чат-канал seth по адресу https://chat.hyperledger.org/channel/sawtooth-seth