
Crescent 测试网(无激励)
Crescent是Gravity DEX从cosmos hub上独立出去建立的新链(cosmos提案62)
官方说4月14日上主网,目前在测试网测试。没有激励,感兴趣的可以测试或者跑测试网验证人
跑测试网验证人的指南写的有点糟糕,所以这里整理一下搭建测试网验证人的指南,或者主网的时候可以用到
安装GO 1.17
1 | sudo rm -rf /usr/local/go; |
#安装完成后运行以下命令查看版本
1 | go version |
安装其他必要的环境
1 | sudo apt-get update -y && sudo apt-get upgrade -y; |
下载源代码并编译
1 | git clone https://github.com/crescent-network/crescent |
初始节点
1 | crescentd init <moniker> |
*<moniker>
改成你要设置的验证人名字
创建Key
1 | crescentd keys add <your key name> |
下载genesis.json
1 | cd $HOME |
添加Peer和Seed
1 | persistent_peers = [email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:20406,[email protected]:30535,[email protected]:26656,841f1cfa0174017813e2291cfa845001391a2cee@crescent-testnet.01no.de:26656,[email protected]:26656 |
优化硬盘使用(选做)
如果你的硬盘很大,就可以跳过这篇。硬盘少点的,可以参考这篇:https://evmos.dev/guides/validators/disk_optimization.html
创建背后运行服务
1 | sudo tee /etc/systemd/system/crescentd.service > /dev/null <<EOF |
创建好后,更新,开启节点服务
1 | sudo -S systemctl daemon-reload |
上面的命令运行好后,你的节点就开启了
用下面命令查看服务:
查看服务状态
1 | systemctl status crescentd |
查看服务日志
1 | journalctl -u crescentd -f |
升级到v1.0.0-rc3
同步回到60100区块停止,这时候需要升级到v1.0.0-rc3后才能继续同步
1 | cd $HOME/crescent |
水龙头拿币
https://testnet.crescent.network/ 右上角的Faucet拿测试币,一个地址只能请求一次
上线验证人
等你的节点同步好后,可以运行下面命令上线你的验证人:
1 | crescentd tx staking create-validator \ |
测试网目前有效的验证人只有20位,所以要挤入前20,目前最低需要6400 CRE
- Thanks for your appreciation. / 感谢您的赞赏
List of appreciation
Because of your support, I realize the value of writing articles. / 由于您的支持,我才能够实现写作的价值。
This piece of writing is an original article, utilizing theCC BY-NC-SA 4.0Agreement. For complete reproduction, please acknowledge the source as Courtesy ofERICET
Comment ()