# IRON FISH 测试网三期节点教程

By [飞猪 one_snowball](https://paragraph.com/@one-snowball) · 2023-02-08

---

铁鱼项目目前明确发币，且已经进入到第三阶段的激励网测试期。总共会分发210,000个代币，首先来看下官方的说明：

![三期规则](https://storage.googleapis.com/papyrus_images/87001912385ed5bc2fbd1ac6341da3bfde87beba133bbeb058f7b7dd8647ee8c.png)

三期规则

可以看到，我们主要积分来源是：1、运行节点；2、交互操作：Mint/Burn/Send Asset；

**规则如下：**

1）每周一次mint\\burn\\send各200积分，节点每12小时10积分；

2）即：每周最多200+200+200+10\*14=740积分

### 节点准备：

1、铁鱼账户注册；

2、4核8G，100G以上的服务器；

### 账号注册：

注册链接：[https://testnet.ironfish.network/signup](https://testnet.ironfish.network/signup)

**_注意点_**：Graffiti也就是涂鸦号，一定要设置的唯一，提前可在排名版搜索，避免重复。

积分板查询链接：[https://testnet.ironfish.network/leaderboard](https://testnet.ironfish.network/leaderboard)

### 服务器：

服务器实测：根据官方4核8G，100G硬盘要求即可。购买渠道可自行处理，不做推荐。

一、运行节点
------

1、首先链接服务器，后安装tmux和docker；如果出现报错，可以先更新apt，指令为：_sudo apt update_

    apt install build-essential tmux
    apt-get install -y docker.io
    systemctl start docker
    

![](https://storage.googleapis.com/papyrus_images/8d43d8edc6a8cacbf726ef7075d7464f9d9b113ced201e8f685281b0952dde67.png)

![](https://storage.googleapis.com/papyrus_images/88f462c51c5fe5b857cad72b7e36fd85217c26b0153e3f3175d4adb7dbfb00b1.png)

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

2、tmux相关使用方法可以参考这个链接： [https://www.ruanyifeng.com/blog/2019/10/tmux.html](https://www.ruanyifeng.com/blog/2019/10/tmux.html)

3、输入tmux，开启一个新的线程页面：会看到一个新的页面，左下角会有编号0的线程提示；

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

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

4、运行更新版本指令后，开始运行铁鱼指令：

    更新版本：
    docker pull ghcr.io/iron-fish/ironfish:latest
    运行节点：
    docker run --rm --tty --interactive --network host --volume ~/.ironfish:/root/.ironfish ghcr.io/iron-fish/ironfish:latest
    

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

![](https://storage.googleapis.com/papyrus_images/254d6f1e25d7bc2636b38abb4063617875d2429ea4aa97211cb01c4283ebeaab.png)

5、节点正常运行后，会看到节点加载的数据；

6、关联自己的涂鸦号（Graffiti）；用tmux进行分屏，ctrl + b + “ (需要按住shift)，分屏后输入关联涂鸦指令：看到提示(User Graffiti or URL)，输入自己的涂鸦号，即可

    关联涂鸦
    docker run --rm --tty --interactive --network host --volume ~/.ironfish:/root/.ironfish ghcr.io/iron-fish/ironfish:latest testnet
    

![](https://storage.googleapis.com/papyrus_images/37bfa6ed1b2de4b7d6cf5653a924cc6532eb9417f9155983bb22da08faf9a6ed.png)

7、关联后，可以输入查看状态指令，可以看到自己的节点运行状态，以及同步区块等数据；

\*\*注意点：\*\*_正常状态，Node状态显示 STARTED；有时候会断连，显示Disconnect，则需要重新执行运行节点命令。_

    查看节点状态：
    docker run --rm --tty --interactive --network host --volume ~/.ironfish:/root/.ironfish ghcr.io/iron-fish/ironfish:latest status -f
    

![](https://storage.googleapis.com/papyrus_images/03f1b9ecf8042c487da83c479db69d444976ca9ba4d1f33e5fcd87abdca7ef85.png)

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

二、节点交互
------

1、第一步骤运行节点后，按住 ctrl +b ，快速松手后，快速按下d键，即可回到主页面，输入tmux，开启第二个线程页面，会看到左下角页面编号为1；

2、开始领水：输入领水指令后，按提示输入邮箱后按回车键，会提示在队列中。

注意：1）领水指令可执行两遍，每周领水两次，总共会有0.00000010测试币；

2）第二周及以后领水指令看到提示后可不输入邮箱，直接按回车即可；

    领水指令：
    docker run --rm --tty --interactive --network host --volume ~/.ironfish:/root/.ironfish ghcr.io/iron-fish/ironfish:latest faucet
    

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

![](https://storage.googleapis.com/papyrus_images/08167aafbe15b50006cf8722d54b4aba66551de172ff068b7f8eec95b48e6ce6.png)

3、等待5分钟所有，执行查询指令，查看我们领水是否成功；

注意：1）有时候等待时间会较长，会有未到账的可能，可以多等一会；一般都会到账；

2）等待半天都查不到的话，可加入官方DC群，去中文区找人给你转第一点水；

    查询领水
    docker run --rm --tty --interactive --network host --volume ~/.ironfish:/root/.ironfish ghcr.io/iron-fish/ironfish:latest wallet:balance
    

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

4、执行Mint指令：

注意：1）有时候因为节点运行时间太短，所以会提示，Your node must be synced with the Iron Fish network to send a transaction. Please try again later。需要多等待一会，一般节点运行2小时左右即可；

2）第一个问题，输入y，创建asset账户，name/metadata，可都设置为涂鸦号；

     3）mint的数量，是第三步骤查询到的数量，gas费(深色的low)直接按默认的回车即可； 
    

4）执行执行后，会有个进度条，最终会有个哈希地址，表示成功执行；

    mint指令
    docker run --rm --tty --interactive --network host --volume ~/.ironfish:/root/.ironfish ghcr.io/iron-fish/ironfish:latest wallet:mint
    

![](https://storage.googleapis.com/papyrus_images/3c665669d4a31aae03126cbe312593c377efad5a41f95caf19f3e235d6db98cf.png)

5、执行Burn指令；burn数量，只需要最小数量即可：0.00000001

注意点：1）mint、burn、send三步骤，之间需要间隔5-10分钟，不然会提示无资产或者其他；

2）burn，和send步骤执行的数量，只需最小数量即可：0.00000001；

3）选择那块，是自己涂鸦号的资产地址，直接回车；

    Burn指令
    docker run --rm --tty --interactive --network host --volume ~/.ironfish:/root/.ironfish ghcr.io/iron-fish/ironfish:latest wallet:burn
    

![](https://storage.googleapis.com/papyrus_images/119cb6776f251c8336cd97a3dac7e7a4503e2c99b93d00caac3feb8a3ea8a1d5.png)

6、执行send指令：

注意：1）直接执行指令即可，指令最后那个地址是官方地址，send必须到官方地址，才算成功；

2）send—asset选择，自己涂鸦号的那个地址，上下箭头选择，然后回车；

    send指令
    docker run --rm --tty --interactive --network host --volume ~/.ironfish:/root/.ironfish ghcr.io/iron-fish/ironfish:latest wallet:send --amount 0.00000001 --fee 0.00000001 --to dfc2679369551e64e3950e06a88e68466e813c63b100283520045925adbe59ca
    

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

7、至此，三步骤已经全部执行完，每步骤都会有白色进度条，和哈希。如果Mint执行完后，其它步骤提示错误，一般是链上处理较慢，等待十分钟左右即可。

三、查询积分
------

1、登陆积分板页面，输入自己的涂鸦号，点击进去，会看到，节点运行的积分，以及交互的积分；[https://testnet.ironfish.network/leaderboard](https://testnet.ironfish.network/leaderboard)

2、交互积分send步骤，有时候会上分会比较慢，如果2小时未查询到，可以重新执行send步骤，一般都会上分；如下图：

![](https://storage.googleapis.com/papyrus_images/1c68fdaa4a6e384c251c2f6652ab5e9d5c902a4db123f0eb6aa9f2c8068a1bcd.png)

3、补充：节点的钱包信息，可以保存下，以防万一后面用到(也可不执行/非必要)；

    查询节点钱包信息
    docker run --rm --tty --interactive --network host --volume ~/.ironfish:/root/.ironfish ghcr.io/iron-fish/ironfish:latest wallet:export
    

### 至此，教程结束。记得每周去执行一遍交互，且定期查看节点运行是否断联。

* * *

**_官方推特：_**[**_https://twitter.com/one\_snowball_**](https://twitter.com/one_snowball)

**_Discord：_**https://discord.gg/vJGTS2AU2N

![](https://storage.googleapis.com/papyrus_images/94e421577e964210923f0290f9cc08b405d6963bb3f54551f24c3973a27fc8b9.jpg)

---

*Originally published on [飞猪 one_snowball](https://paragraph.com/@one-snowball/iron-fish)*
