# 如何进行 Shaicoin $SHA 挖矿？

By [arden](https://paragraph.com/@aptosui) · 2024-10-27

---

**Shaicoin $SHA**

Shaicoin 是一种可通过 CPU 挖掘的加密货币，作为比特币的分叉运行，专注于一种称为 ShaiHive 的独特挖掘算法。以下指南适用于熟悉运行 Linux 的人。

免责声明：这不是财务建议。挖矿可能会损坏您的硬件。

**立即开始**

本指南专为那些想要尝试使用 Linux 机器挖掘$SHA 的人而设。没有 Linux 计算机或备用 CPU 来挖矿？在这里租一台：[https://cloud.vast.ai/?ref\_id=88060](https://cloud.vast.ai/?ref_id=88060)

**所涉及的步骤包括：**

*   设置 Shaicoin 核心钱包
    
*   生成$SHA地址
    
*   构建$SHA矿工
    
*   连接到采矿池
    

**设置核心钱包**

在终端上，运行以下命令：

**安装依赖项**

    sudo apt install build-essential libtool autotools-dev automake pkg-config bsdmainutils python3 libevent-dev libboost-dev libsqlite3-dev -y
    

**克隆仓库**

    git clone https://github.com/shaicoin/shaicoin.git
    cd shaicoin
    

**构建钱包**

    ./autogen.sh
    ./configure
    

根据您机器的 CPU 核心数，下一个命令将要求您指定该数字。构建过程可能需要一段时间。请耐心等待。

    example make -j 8
    make -j [# CPU cores]
    

**运行核心钱包并同步**

运行钱包 导航到该/src文件夹​​，然后运行以下命令在后台启动核心钱包。

    ./shaicoind -daemon
    

**检查日志**

要查看日志，请导航到该.shaicoin文件夹​​。

    cd
    cd .shaicoin
    

接下来，运行此命令。

    tail -f debug.log
    

等待您的核心钱包完全同步，然后再继续下一步。

要检查当前区块，请访问：[https://blocks.shaicoin.com](https://blocks.shaicoin.com) 将日志上显示的“高度”值与 Shaicoin 区块浏览器上的最新区块进行比较。

**生成钱包**

导航至 /shaicoin/src 文件夹：

    cd
    cd shaicoin
    cd src
    

**然后运行命令生成钱包：**

    ./shaicoin-cli createwallet "yourwalletname"
    

您可以输入您喜欢的钱包名称。

**接下来，生成一个 $SHA 地址：**

    ./shaicoin-cli getnewaddress
    

记下该地址，因为它将用于你的矿工。

**备份钱包**

请务必备份您的钱包。操作方法如下。

返回 .shaicoin 文件夹查看您的钱包备份。

    cd
    cd ~/.shaicoin
    cd wallets
    

保存文件夹的内容，以便在您需要移动到其他机器时恢复您的钱包。

**构建 $SHA 矿工** **安装依赖项**

    apt install libssl-dev
    

**安装 Rust**

运行以下命令：

    curl https://sh.rustup.rs -sSf | sh
    

然后选择选项“1”。完成后，设置PATH：

    source "$HOME/.cargo/env"
    

**克隆 Shaipot 矿工**

    cd
    git clone https://github.com/shaicoin/shaipot.git
    cd shaipot
    

**建造矿工**

运行以下命令：

    cargo rustc --release -- -C opt-level=3 -C target-cpu=native -C codegen-units=1 -C debuginfo=0
    

**运行 SHA 矿工**

获取您生成的 $SHA 地址，并将其用作运行矿工的命令。您可以遵循以下格式：

    ./target/release/shaipot --address sh1qp36s6xxxxxxxxxxxxxxxxxxxfdsfij --pool wss://pool.shaicoin.fun >> stdout.log &
    

一定要更改地址，否则你的挖矿奖励将归我所有。

运行命令就完成了。你现在正在挖掘$SHA。

在这里检查你的进度： [https://www.shaicoin.fun](https://www.shaicoin.fun)

**矿池地址：** [https://blocks.shaicoin.com/address/sh1qp36s6e3pmq838a8vjpum2mfedd2g5mpz4w7r98](https://blocks.shaicoin.com/address/sh1qp36s6e3pmq838a8vjpum2mfedd2g5mpz4w7r98)

一旦矿池收到的币达到 100 个区块的成熟度，奖励就会自动分配。

**感谢阅读！**

无耻的插件... 如果您不想挖掘 $SHA，您可以从交易所获取。这是我的 NonKYC 推荐链接：[https://nonkyc.io?ref=64d3d2864816b4909e48145e](https://nonkyc.io?ref=64d3d2864816b4909e48145e)

CoinGecko 已开始跟踪价格： [https://www.coingecko.com/en/coins/shaicoin](https://www.coingecko.com/en/coins/shaicoin)

在 X 上关注 [@tujiao](https://x.com/tujiao) [@shai\_pow](https://x.com/shai_pow) 并访问他们的 Discord：[https://discord.gg/vrfvbrDU](https://discord.gg/vrfvbrDU)

---

*Originally published on [arden](https://paragraph.com/@aptosui/shaicoin-sha)*
