启动继电器链错误“基板:命令尚未找到”。

发布于 2025-01-26 19:51:16 字数 646 浏览 3 评论 0原文

我正在尝试进行一个基板教程,“启动您的继电器链”。 ( 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

思念满溢 2025-02-02 19:51:16

如教程中所述,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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文