# Nockchain一键脚本挖矿指南 **Published by:** [K2 节点教程分享 @BtcK241918](https://paragraph.com/@k2-btck241918/) **Published on:** 2025-05-13 **URL:** https://paragraph.com/@k2-btck241918/nockchain ## Content 博主推特:https://twitter.com/BtcK241918 在搭建节点之前,首先需要购买VPS来运行节点。节点需要保持24小时不间断运行。我选择了Contabo的主机,价格相对较为经济实惠。您可以通过使用我的推荐链接来购买: 购买链接:https://www.kqzyfj.com/click-101115358-13484374 官方建议配置 至少64G内存 200GB硬盘 推荐contabo的VPS 505.21日启动正式挖矿,要挖的小伙伴 可以使用一键脚本命令提前编译,我编译了一下,耗费挺长时间的,建议提前编译一下 我用的 VPS50编译的 一键脚本命令 开源wget -O nockchain.sh "https://raw.githubusercontent.com/ttkklei001/nock/refs/heads/main/nockchain.sh" && \ sed -i 's/\r$//' nockchain.sh && \ chmod +x nockchain.sh && \ ./nockchain.sh 之前安装过旧版本的使用下面命令删除,逐个命令运行rm -rf ~/nockchain rm -f /usr/local/bin/nockchain /usr/local/bin/nockchain-wallet /usr/local/bin/hoonc screen -S leader -X quit screen -S follower -X quit 使用菜单1 进行编译项目 需要编译很长时间使用菜单2创建钱包 官方更新了命令,日志会展示全部内容启动节点的时候 输入你自己的挖矿公钥 ## Publication Information - [K2 节点教程分享 @BtcK241918](https://paragraph.com/@k2-btck241918/): Publication homepage - [All Posts](https://paragraph.com/@k2-btck241918/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@k2-btck241918): Subscribe to updates - [Twitter](https://twitter.com/BtcK241918): Follow on Twitter