0

ironfish | 节点搭建

 1 year ago
source link: https://benpaodewoniu.github.io/2022/10/24/ironfish0/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

2022-5-10 号,ironfish 开启测试网节点搭建,直到主网上线。

说简单点,就是参与一定有空投,节点运行每 12 个小时可以获得 10 分,pow根据算力来获得测试网代币,然后刷交易获取积分。最后上线根据积分转化成主网代币。

要特别记住,Graffiti* 就是绑定的用户名,节点的区分就看用户名了。

  • ubuntu 18.04

说实话成本还是非常高的。

第一步获取root权限,下载脚本授权

sudo su 
cd ~ && wget https://github.com/8hfq/Daniel-onekey-install/releases/download/1.1.0/ironfish-daniel.sh && chmod +x ironfish-daniel.sh

第一次执行脚本安装docker 输入

./ironfish-daniel.sh

输入 1 执行,等待一会。出现 docker 安装完成就好了。

再次执行脚本安装Ironfish

./ironfish-daniel.sh

输入数字 2 ,之后手动输入官方注册的 ID ,然后输入 Y 确认,等待出现启动成功!

再次执行脚本输入3

./ironfish-daniel.sh

检查 blockGraffiti 是否为你的节点名字,enableTelemetrytrue

Syncer 显示 SYNCINGTelemetry显示STARTED

  • 节点如果正常运行每 12 小时可以获得 10 积分
    • 在官网查看
  • 参与 pow 挖矿,需要 cpu 算力,小白玩家不建议参与!

启动 node 会默认创建钱包,以下是对钱包的操作命令,默认钱包名字是 default,也就是如果你要导出钱包私钥就输入下面命令。建议导出备用。

# 查看钱包
docker exec -it node bash -c "ironfish accounts:list"
# 创建新钱包
docker exec -it node bash -c "ironfish accounts:create"
# 设置为默认钱包
docker exec -it node bash -c "ironfish accounts:use 钱包名称"
# 导出钱包密钥
docker exec -it node bash -c "ironfish accounts:export 钱包名称"
# 导入钱包密钥
docker exec -it node bash -c "ironfish accounts:import"

ps: 我搭建了两个,发现同步区块非常慢,慢到啥程度,这辈子都不可能同步好。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK