我试图连接我的自定义基板区块链到波尔卡多与积木,通过遵循参考https://substrate.dev/cumulus-workshop/#/,我已经成功地安装了基板,中继链节点,并整理模板。
然后,按照引用,使用内置的rococo-loca创建我自己的链规范文件。当我转到下一部分启动中继链时,我遇到了一些问题,通过遵循引用https://substrate.dev/cumulus-workshop/#/2-relay-chain/2-launch,我将启动Alice's Node,在节点启动后,我应该看到几条日志消息,但它没有。
我怎样才能解决这个问题,或者我错过了一些事情?谢谢~
它假设如下所示:
polkadot \
--chain spec.json \
--tmp \
--ws-port 9944 \
--port 30333 \
--alice输出:
Local node identity is: 12D3KooWLRPJAA6CrXP14FRJztzCh4JmgtRzKWpiBjL3BtseEfyv,但我得到了一个错误:
user1215@ubuntu:~/substrate-node-template/polkadot/target/release$ polkadot \
> chain spec.json \
> tmp \
> ws-port 9944 \
> port 30333 \
> alice
polkadot: command not found发布于 2020-12-27 12:19:34
看来你对Linux不熟悉。我建议您先学习一些Linux。
在这种情况下,您应该运行./polakadot而不是polkadot。
./polkadot \
--chain spec.json \
--tmp \
--ws-port 9944 \
--port 30333 \
--alice
# or this will work for you
~/substrate-node-template/polkadot/target/release/polkadot \
--chain spec.json \
--tmp \
--ws-port 9944 \
--port 30333 \
--alicehttps://stackoverflow.com/questions/65435128
复制相似问题