当前位置:网站首页>(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边栏推荐
- ACL 2022 | 序列标注的小样本NER:融合标签语义的双塔BERT模型
- Is "applet container technology" a gimmick or a new outlet?
- #DAYU200体验官# 在DAYU200运行基于ArkUI-eTS的智能晾晒系统页面
- Children's pajamas (Australia) as/nzs 1249:2014 handling process
- Enterprises do not want to replace the old system that has been used for ten years
- The statement that allows full table scanning does not seem to take effect set odps sql. allow. fullscan=true; I
- Redis persistence mechanism
- Matlab tips (27) grey prediction
- What does security capability mean? What are the protection capabilities of different levels of ISO?
- (1)长安链学习笔记-启动长安链
猜你喜欢

视图(view)

What can be done for traffic safety?

Aardio - does not declare the method of directly passing float values

mysql连接vscode成功了,但是报这个错

为了交通安全,可以做些什么?

云原生(三十二) | Kubernetes篇之平台存储系统介绍

#DAYU200体验官# 首页aito视频&Canvas绘制仪表盘(ets)

Balanced Multimodal Learning via On-the-fly Gradient Modulation(CVPR2022 oral)

Flutter life cycle

Method of canceling automatic watermarking of uploaded pictures by CSDN
随机推荐
Windows auzre background operation interface of Microsoft's cloud computing products
How to confirm the storage mode of the current system by program?
Matlab tips (27) grey prediction
Enterprises do not want to replace the old system that has been used for ten years
MySQL实现字段分割一行转多行的示例代码
OpenSSL: a full-featured toolkit for TLS and SSL protocols, and a general encryption library
华为云GaussDB(for Redis)揭秘第21期:使用高斯Redis实现二级索引
动作捕捉用于蛇运动分析及蛇形机器人开发
Les entreprises ne veulent pas remplacer un système vieux de dix ans
CSDN 上传图片取消自动加水印的方法
AcWing 4300. Two operations (minimum number of BFS searches)
Slide the uniapp to a certain height and fix an element to the top effect demo (organize)
Uniapp setting background image effect demo (sorting)
Dockermysql modifies the root account password and grants permissions
The difference between enumeration and define macro
docker启动mysql及-eMYSQL_ROOT_PASSWORD=my-secret-pw问题解决
How to achieve text animation effect
View
spark调优(二):UDF减少JOIN和判断
食品里的添加剂品种越多,越不安全吗?