当前位置:网站首页>(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
边栏推荐
- 借助这个宝藏神器,我成为全栈了
- 食品里的添加剂品种越多,越不安全吗?
- docker启动mysql及-eMYSQL_ROOT_PASSWORD=my-secret-pw问题解决
- Dayu200 experience officer homepage AITO video & Canvas drawing dashboard (ETS)
- Const keyword
- 石墨文档:4大对策解决企业文件信息安全问题
- 案例推荐丨安擎携手伙伴,保障“智慧法院”更加高效
- 允许全表扫描 那个语句好像不生效set odps.sql.allow.fullscan=true;我
- Pytest unit test series [v1.0.0] [pytest execute unittest test case]
- Unified Focal loss: Generalising Dice and cross entropy-based losses to handle class imbalanced medi
猜你喜欢
Unified Focal loss: Generalising Dice and cross entropy-based losses to handle class imbalanced medi
Cocoscreator+typescripts write an object pool by themselves
Let's see through the network i/o model from beginning to end
Aardio - integrate variable values into a string of text through variable names
为了交通安全,可以做些什么?
【Unity】升级版·Excel数据解析,自动创建对应C#类,自动创建ScriptableObject生成类,自动序列化Asset文件
Case recommendation: An Qing works with partners to ensure that the "smart court" is more efficient
Docker starts MySQL and -emysql_ ROOT_ Password = my secret PW problem solving
借助这个宝藏神器,我成为全栈了
Designed for decision tree, the National University of Singapore and Tsinghua University jointly proposed a fast and safe federal learning system
随机推荐
mysql查看表结构的三种方法总结
UVa 11732 – strcmp() Anyone?
DR-Net: dual-rotation network with feature map enhancement for medical image segmentation
DockerMySQL无法被宿主机访问的问题解决
每人每年最高500万经费!选人不选项目,专注基础科研,科学家主导腾讯出资的「新基石」启动申报...
How to achieve text animation effect
Custom swap function
Dayu200 experience officer runs the intelligent drying system page based on arkui ETS on dayu200
Balanced Multimodal Learning via On-the-fly Gradient Modulation(CVPR2022 oral)
What does security capability mean? What are the protection capabilities of different levels of ISO?
让 Rust 库更优美的几个建议!你学会了吗?
Windows auzre background operation interface of Microsoft's cloud computing products
C three ways to realize socket data reception
How to choose indoor LED display? These five considerations must be taken into account
memcached
Improving Multimodal Accuracy Through Modality Pre-training and Attention
DR-Net: dual-rotation network with feature map enhancement for medical image segmentation
Mysql 身份认证绕过漏洞(CVE-2012-2122)
Is the more additives in food, the less safe it is?
How to use flexible arrays?