Blockchain 使用积云将基质区块链连接到Polkadot时出错
我正在尝试将我的自定义基板区块链连接到具有Cumulus的Polkadot,通过参考,我已成功安装基板、中继链节点和Collator模板 然后,按照参考,使用内置的洛可可loca创建我自己的链规范文件。当我移动到下一部分Launch Relay Chain时,我遇到了一些问题,按照参考,我将启动Alice的节点,在节点启动后,我想会看到几个日志消息,但它没有 我怎样才能解决这个问题,或者我是否错过了一些可以做的事情?谢谢~ 它应该是这样的:Blockchain 使用积云将基质区块链连接到Polkadot时出错,blockchain,substrate,polkadot,Blockchain,Substrate,Polkadot,我正在尝试将我的自定义基板区块链连接到具有Cumulus的Polkadot,通过参考,我已成功安装基板、中继链节点和Collator模板 然后,按照参考,使用内置的洛可可loca创建我自己的链规范文件。当我移动到下一部分Launch Relay Chain时,我遇到了一些问题,按照参考,我将启动Alice的节点,在节点启动后,我想会看到几个日志消息,但它没有 我怎样才能解决这个问题,或者我是否错过了一些可以做的事情?谢谢~ 它应该是这样的: polkadot \ --chain spec.j
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
输出:
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
但是我得到了这个错误:
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
看来你不熟悉Linux。我建议您先学习一些Linux 在这种情况下,您应该运行
/polakatt
,而不是polkadt
./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 \
--alice