当前位置:网站首页>(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/scripts
prepare_pk.sh
chainmaker-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

p2p
p2p
11301
rpc
rpc
12301
p2p
11301、11302、11303、11304
rpc
12301、12302、12303、12304
边栏推荐
- Modules that can be used by both the electron main process and the rendering process
- dockermysql修改root账号密码并赋予权限
- docker启动mysql及-eMYSQL_ROOT_PASSWORD=my-secret-pw问题解决
- ICLR 2022 | 基于对抗自注意力机制的预训练语言模型
- Motion capture for snake motion analysis and snake robot development
- Windows auzre background operation interface of Microsoft's cloud computing products
- 实现多彩线条摆出心形
- 基于PaddlePaddle平台(EasyDL)设计的人脸识别课堂考勤系统
- [untitled]
- DR-Net: dual-rotation network with feature map enhancement for medical image segmentation
猜你喜欢
DR-Net: dual-rotation network with feature map enhancement for medical image segmentation
Hard core observation 545 50 years ago, Apollo 15 made a feather landing experiment on the moon
mysql拆分字符串作为查询条件的示例代码
Custom swap function
MySQL authentication bypass vulnerability (cve-2012-2122)
What can be done for traffic safety?
None of the strongest kings in the monitoring industry!
Improving Multimodal Accuracy Through Modality Pre-training and Attention
mysql连接vscode成功了,但是报这个错
Machine test question 1
随机推荐
Redis 持久化机制
Devsecops software R & D security practice - release
TDengine 社区问题双周精选 | 第二期
DockerMySQL无法被宿主机访问的问题解决
three. JS gorgeous bubble effect
MySQL数据库之JDBC编程
AcWing 4300. Two operations (minimum number of BFS searches)
前置机是什么意思?主要作用是什么?与堡垒机有什么区别?
docker启动mysql及-eMYSQL_ROOT_PASSWORD=my-secret-pw问题解决
视图(view)
Project duplicate template
BasicVSR_ Plusplus master test videos and pictures
让 Rust 库更优美的几个建议!你学会了吗?
Efficient ETL Testing
CUDA exploration
云原生(三十二) | Kubernetes篇之平台存储系统介绍
Matlab tips (27) grey prediction
Face recognition class attendance system based on paddlepaddle platform (easydl)
Designed for decision tree, the National University of Singapore and Tsinghua University jointly proposed a fast and safe federal learning system
NPM cannot install sharp