# 🚀 Nockchain 矿池挖矿完整指南

By [pangdong](https://paragraph.com/@pangdong) · 2025-08-24

---

* * *

什么是 Nockchain？
--------------

Nockchain 是一个面向重计算的轻量级 ZK L1，采用 **zkPoW**（解 ZKP 谜题来获得 $NOCK）。主网已经上线，支持个人矿工参与，CPU 也能挖。

> 参考：[Nockchain GitHub](https://github.com/zorp-corp/nockchain)
> 
> [https://mirror.xyz/pangdong.eth/4Sgzv7BIrKWfWRF\_uidM3s92XlKy3iyihWJA8CFKx2Y](https://mirror.xyz/pangdong.eth/4Sgzv7BIrKWfWRF_uidM3s92XlKy3iyihWJA8CFKx2Y)

* * *

第 1 步：生成钱包地址
------------

1.  下载或编译 `nockchain-wallet`
    
2.  运行以下命令生成密钥对：
    
        nockchain-wallet keygen
        
    
3.  你会得到：
    
    *   **New Private Key** → 私钥（只能自己保存，千万不要泄露）
        
    *   **New Public Key** → 公钥（Base58，大约 132 个字符）
        

👉 在 Nockchain 生态中，这个 **Base58 公钥就是钱包地址**，用于绑定矿池。

* * *

第 2 步：创建账户令牌 (Account Token)
----------------------------

1.  打开矿池后台页面 [https://nockpool.com/signup](https://nockpool.com/signup)
    
2.  输入你的 **132 字符 Base58 公钥地址**
    
3.  点击 **创建账户令牌**
    
4.  保存 `YOUR_ACCOUNT_TOKEN`（启动矿机要用）
    
5.  要提取到你的帐户上需要进行KYC
    

* * *

第 3 步：安装并运行矿机
-------------

### 方式 A：Linux 启动器

    curl -L -o miner-launcher \
    https://github.com/SWPSCO/nockpool-miner-launcher/releases/latest/download/miner-launcher_linux_x64
    chmod +x miner-launcher
    ./miner-launcher --account-token YOUR_ACCOUNT_TOKEN
    

### 方式 B：Docker（最省心）

    docker run --rm swpsco/nockpool-miner:latest \
      --account-token YOUR_ACCOUNT_TOKEN
    

### 方式 C：源码编译（Rust nightly）

    # 安装 Rust nightly
    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    rustup toolchain install nightly
    rustup default nightly
    
    # 克隆并编译
    git clone https://github.com/SWPSCO/nockpool-miner
    cd nockpool-miner
    cargo build --release
    sudo cp target/release/nockpool-miner /usr/local/bin/nockpool-miner
    
    # 运行
    nockpool-miner --account-token YOUR_ACCOUNT_TOKEN
    

* * *

第 4 步：监控算力
----------

*   日志里看到 `share accepted` → 表示份额被矿池接受
    
*   想查看出块与地址分布，可用社区页面：
    
        https://nockpool.com/miners
        
    

![](https://storage.googleapis.com/papyrus_images/7df7430c78cffe9032c4a7659fcfc5f6ff4c73943900e16a82909e245ac03c45.png)

* * *

* * *

关键链接
----

*   官网：[https://www.nockchain.org/](https://www.nockchain.org/)
    
*   钱包与节点源码：[https://github.com/zorp-corp/nockchain](https://github.com/zorp-corp/nockchain)
    
*   矿机启动器：[https://github.com/SWPSCO/nockpool-miner-launcher](https://github.com/SWPSCO/nockpool-miner-launcher)
    
*   出块与地址分布查询：[https://doge.monster/lab/nock](https://doge.monster/lab/nock)
    

* * *

🔥 早期加入 Nockchain 挖矿，不仅能学习 zkPoW 的机制，还可能收获更多生态奖励。

* * *

要不要我帮你把这个再改成 **推文分帖格式 (thread)**，这样你 Mirror 发一篇长文，X 上发一串短帖，可以双平台联动？

---

*Originally published on [pangdong](https://paragraph.com/@pangdong/nockchain)*
