当前位置:网站首页>(1) Chang'an chain learning notes - start Chang'an chain
(1) Chang'an chain learning notes - start Chang'an chain
2022-07-06 23:12:00 【InfoQ】
# Create a learning directory
mkdir chainmaker-learn
# Entry directory
cd chainmaker-learn# Download project source
git clone https://git.chainmaker.org.cn/chainmaker/chainmaker-go.git
# Download the source code of certificate tool
git clone -b v2.2.0 https://git.chainmaker.org.cn/chainmaker/chainmaker-cryptogen.git

# Enter the certificate tool source code directory , structure
cd chainmaker-cryptogen
make

# Enter the tool directory of the main source code
cd chainmaker-go/tools
# Soft connection chainmaker-cryptogen To tools Under the table of contents
ln -s ../../chainmaker-cryptogen/ .

chainmaker-go/scriptsprepare_pk.shchainmaker-go/build# Go to the script Directory
cd scripts/
# Generate 4 Nodes , Configuration of a chain
./prepare_pk.sh 4 1
When executing a script , Press all the way enter Default is good
The generated certificate directory is in /root/chainmaker-learn/chainmaker-go/build Under the table of contents 
# stay scripts Execute the script in the directory :
./build_release.sh
# Start Chang'an chain
$ ./cluster_quick_start.sh normal
# Close Chang'an chain
./cluster_quick_stop.sh
# Check whether the port number is activated
netstat -lptn | grep 1230
p2pp2p11301rpcrpc12301p2p11301、11302、11303、11304rpc12301、12302、12303、12304边栏推荐
- Aardio - Method of batch processing attributes and callback functions when encapsulating Libraries
- Hard core observation 545 50 years ago, Apollo 15 made a feather landing experiment on the moon
- Puppeter connects to the existing Chrome browser
- Use ECs to set up an agent
- Cocoscreator+typescripts write an object pool by themselves
- Docker starts MySQL and -emysql_ ROOT_ Password = my secret PW problem solving
- Rust knowledge mind map XMIND
- Two week selection of tdengine community issues | phase II
- 前置机是什么意思?主要作用是什么?与堡垒机有什么区别?
- docker mysql5.7如何设置不区分大小写
猜你喜欢

浅谈网络安全之文件上传

Why are some people still poor and living at the bottom of society even though they have been working hard?

Children's pajamas (Australia) as/nzs 1249:2014 handling process

同构+跨端,懂得小程序+kbone+finclip就够了!

借助这个宝藏神器,我成为全栈了
Docker starts MySQL and -emysql_ ROOT_ Password = my secret PW problem solving

【Unity】升级版·Excel数据解析,自动创建对应C#类,自动创建ScriptableObject生成类,自动序列化Asset文件

Flutter life cycle

Unified Focal loss: Generalising Dice and cross entropy-based losses to handle class imbalanced medi

Efficient ETL Testing
随机推荐
ACL 2022 | small sample ner of sequence annotation: dual tower Bert model integrating tag semantics
Typescript get function parameter type
What does security capability mean? What are the protection capabilities of different levels of ISO?
金融人士必读书籍系列之六:权益投资(基于cfa考试内容大纲和框架)
mysql查看表结构的三种方法总结
云原生(三十二) | Kubernetes篇之平台存储系统介绍
GPT-3当一作自己研究自己,已投稿,在线蹲一个同行评议
docker启动mysql及-eMYSQL_ROOT_PASSWORD=my-secret-pw问题解决
Is the more additives in food, the less safe it is?
【全网首发】Redis系列3:高可用之主从架构的
Is "applet container technology" a gimmick or a new outlet?
Cocoscreator+typescripts write an object pool by themselves
(shuttle) navigation return interception: willpopscope
Improving Multimodal Accuracy Through Modality Pre-training and Attention
AcWing 4299. Delete point
MATLAB小技巧(27)灰色预测
Interview question: AOF rewriting mechanism, redis interview must ask!!!
How to choose indoor LED display? These five considerations must be taken into account
ACL 2022 | 序列标注的小样本NER:融合标签语义的双塔BERT模型
专为决策树打造,新加坡国立大学&清华大学联合提出快速安全的联邦学习新系统