启动继电器链错误“基板:命令尚未找到”。
我正在尝试进行一个基板教程,“启动您的继电器链”。 ( https://docs.substrate.io/tutorials/tutorials/tutorials/v3/cumulus/ start-relay/)
在这里,我复制了代码并运行它以启动Alice验证器。
./target/release/polkadot \
--alice \
--validator \
--base-path /tmp/relay/alice \
--chain <path to spec json> \
--port 30333 \
--ws-port 9944
“通往Spec JSON的路径” - 我应该替换什么? 我试图构建这样的链条规格文件。
substrate build-spec > myCustomSpec.json
错误在这里,“ 基板:命令否找到” 有什么问题?有人可以帮我吗?
谢谢。
I am trying to do a substrate tutorial, "Start your relay chain".
(https://docs.substrate.io/tutorials/v3/cumulus/start-relay/)
Here, I copied the code and run it to start the alice validator.
./target/release/polkadot \
--alice \
--validator \
--base-path /tmp/relay/alice \
--chain <path to spec json> \
--port 30333 \
--ws-port 9944
"path to spec json" - What should I replace this?
I tried to build a chain spec file like this.
substrate build-spec > myCustomSpec.json
Error is here, "substrate : command no found"
What's the problem? Anyone can help me?
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如教程中所述,Polkadot用于创建链规范。您没有安装底物,无论如何使用这是不正确的。
请参阅原始链条规格生成的部分。
Polkadot is used to create the chain spec as described in the tutorial. You don't have substrate installed, and that would be incorrect to use anyway.
See the sections on raw and plain chain spec generation.