Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何初始化本地测试网 #188

Open
snsin09 opened this issue Mar 8, 2022 · 7 comments
Open

如何初始化本地测试网 #188

snsin09 opened this issue Mar 8, 2022 · 7 comments
Labels
good first issue Good for newcomers

Comments

@snsin09
Copy link

snsin09 commented Mar 8, 2022

P9H9HSB$)CVR 3 8WVQQ2 F
这是什么错误
@chengwenxi

@chengwenxi
Copy link
Contributor

@snsin09 You need to add the key node0

@snsin09
Copy link
Author

snsin09 commented Mar 8, 2022 via email

@zhangyelong
Copy link
Member

@snsin09

  1. 可以参考官方文档:https://irita.bianjie.ai/docs/installation/deployment.html
  2. 或者可以直接使用 docker,项目根目录里有现成的 Dockerfile,不需要你自己搭建基础依赖的环境
  3. 可以描述一下你的需求吗

@snsin09
Copy link
Author

snsin09 commented Mar 9, 2022

@zhangyelong 单节点部署,IRITA企业根证书怎么申请,node0怎么创建key

@zhangyelong
Copy link
Member

@zhangyelong 单节点部署,IRITA企业根证书怎么申请,node0怎么创建key

初始化:

irita testnet --v 1 --chain-id test --keyring-backend test

启动:

irita start --home mytestnet/node0/irita

查看根助记词:

cat mytestnet/node0/iritacli/key_seed.json

使用助记词恢复私钥:

irita keys add validator --recover

根据提示把助记词填入

以上流程在文档里都有,其它具体的命令行操作,也可以参考文档:https://irita.bianjie.ai/docs/console/overview.html

@zhangyelong zhangyelong added the good first issue Good for newcomers label Mar 9, 2022
@zhangyelong zhangyelong changed the title 这是什么错误 如何初始化本地测试网 Mar 9, 2022
@bianjieai bianjieai deleted a comment from snsin09 Jun 19, 2022
@bianjieai bianjieai deleted a comment from chengwenxi Jun 19, 2022
@hercule24
Copy link

@zhangyelong , @snsin09 , 你好我碰到了同样的问题,我理解正确的话,这一步是创建node0的key?
irita genkey --home=testnet --out-file priv_validator.pem,如果是这样的话,我该如何添加这个key呢?

@gustavofgs
Copy link

Hi, I am having the exactly same error described by @snsin09 when following the documentation for a single node (https://irita.bianjie.ai/docs/installation/deployment.html), anyone knows how to solve that? I already have the certificate files but there is no node0.info file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

5 participants