# Nockchain挖矿教程 **Published by:** [AKAKAY](https://paragraph.com/@akakay04/) **Published on:** 2025-05-20 **URL:** https://paragraph.com/@akakay04/nockchain ## Content 官方github https://github.com/zorp-corp/nockchain 官推 https://x.com/nockchain 腾讯云租服务器 建议64G运行内存以上 硬盘500G SSD https://buy.cloud.tencent.com/cvm?tab=custom&step=1&devPayMode=monthly®ionId=9&zoneId=900002&instanceType=SA5.MEDIUM2&platform=TencentOS&systemDiskType=CLOUD_BSSD&systemDiskSize=50&systemDiskBackupQuota=0&wanIp=0&templateCreateMode=createLt&isBackup=false&backupDiskType=ALL&backupDiskCustomizeValue=&backupQuotaSegment=1&backupQuota=1 共享镜像之后命令 sudo -i cd nockchain ./target/release/nockchain-wallet keygen (生成钱包 备份好公钥私钥 上边的是公钥) nano Makefile (用键盘把第四行很长的一串地址改成自己的公钥 其他地方不要动 然后ctrl+x 之后按Y 保存退出) ----------------------------------- 启动 leader 节点 screen -S leader (创建leader窗口) make run-nockchain-leader (启动leader挖矿) Ctrl+A 再按 D 返回主页 ----------------------------------- 启动 follower 节点 screen -S follower (创建follower窗口) make run-nockchain-follower (启动follower挖矿) Ctrl+A 再按 D 返回主页 两个窗口都启动之后 查看日志方法 在主页执行: screen -r leader # 查看 leader 窗口 Ctrl+A 再按 D 返回主页 screen -r follower # 查看 follower 窗口 Ctrl+A 再按 D 返回主页 ## Publication Information - [AKAKAY](https://paragraph.com/@akakay04/): Publication homepage - [All Posts](https://paragraph.com/@akakay04/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@akakay04): Subscribe to updates