当前位置:网站首页>(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
边栏推荐
- Balanced Multimodal Learning via On-the-fly Gradient Modulation(CVPR2022 oral)
- ICLR 2022 | 基于对抗自注意力机制的预训练语言模型
- 基于PaddlePaddle平台(EasyDL)设计的人脸识别课堂考勤系统
- mysql连接vscode成功了,但是报这个错
- Unified Focal loss: Generalising Dice and cross entropy-based losses to handle class imbalanced medi
- 同构+跨端,懂得小程序+kbone+finclip就够了!
- The problem that dockermysql cannot be accessed by the host machine is solved
- HDU 5077 NAND (violent tabulation)
- [compilation principle] LR (0) analyzer half done
- ACL 2022 | 序列标注的小样本NER:融合标签语义的双塔BERT模型
猜你喜欢
云原生(三十二) | Kubernetes篇之平台存储系统介绍
dockermysql修改root账号密码并赋予权限
Dockermysql modifies the root account password and grants permissions
Bipartite graph determination
专为决策树打造,新加坡国立大学&清华大学联合提出快速安全的联邦学习新系统
同构+跨端,懂得小程序+kbone+finclip就够了!
CSDN 上传图片取消自动加水印的方法
How to choose indoor LED display? These five considerations must be taken into account
What can be done for traffic safety?
Modules that can be used by both the electron main process and the rendering process
随机推荐
借助这个宝藏神器,我成为全栈了
QT信号和槽
Dockermysql modifies the root account password and grants permissions
The statement that allows full table scanning does not seem to take effect set odps sql. allow. fullscan=true; I
Cloud native technology container knowledge points
Let's see through the network i/o model from beginning to end
[step on pit collection] attempting to deserialize object on CUDA device+buff/cache occupy too much +pad_ sequence
前置机是什么意思?主要作用是什么?与堡垒机有什么区别?
Traversal of a tree in first order, middle order, and then order
On the problems of born charge and non analytical correction in phonon and heat transport calculations
Graphite document: four countermeasures to solve the problem of enterprise document information security
B站大佬用我的世界搞出卷积神经网络,LeCun转发!爆肝6个月,播放破百万
ICLR 2022 | pre training language model based on anti self attention mechanism
自动更新Selenium驱动chromedriver
Nftscan Developer Platform launches Pro API commercial services
Efficient ETL Testing
Is the more additives in food, the less safe it is?
Redis 持久化机制
None of the strongest kings in the monitoring industry!
#DAYU200体验官# 首页aito视频&Canvas绘制仪表盘(ets)