2022年Coinlist冬季种子项目Exorde今天开始了激励测试网
官方给的机子最低配置如下:
1 GB SSD/HDD
RAM: 2-4Gb
CPU: 2-4 cores is recommended
要求很低,基本是台电脑就能跑
sudo apt-get update
sudo apt-get install \
ca-certificates \
curl \
gnupg \
lsb-release \
screen \
git
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
git clone https://github.com/exorde-labs/ExordeModuleCLI.git
cd ExordeModuleCLI
docker build -t exorde-cli .
创建后台:screen -S exorde
运行程序:
docker run -it exorde-cli -m YOUR_MAIN_ADDRESS -l LOGGING
YOUR_MAIN_ADDRESS: 你的以太钱包地址,用于获得奖励和后面的交互
LOGGING: 选择日志 0 = no logs,1 = general logs2 = validation logs3 = validation + scraping logs4 = detailed validation + scraping logs (e.g. for troubleshooting)
比如我的地址是: 0x5241aa99a776866296D1d695C02bB2E31B3Ff998,只想显示验证的日志,我可以输入以下命令运行程序
docker run -it exorde-cli -m 0x5241aa99a776866296D1d695C02bB2E31B3Ff998 -l 2
退出screen:CTRL + A + D
下回要想回到程序,使用以下命令:screen -r exorde
好了,成功跑起来了,等奖励吧。还挺省心的
除了查看日志检查程序是否运行外,还可以用浏览器查看worker的地址, 看打工人是否有在干活。
输入worker的地址到 https://light-vast-diphda.explorer.mainnet.skalenodes.com/ 查看
如果你想用windows跑程序,可以参考这篇文章: https://medium.com/@nfterrax/guide-to-exorde-testnet-v1-3-0-for-windows-caaecb55ca1b