ericet

Likecoin/Desmos/Evmos/Nomic/Cerberus 验证人。喜欢分享各类脚本。 网站: https://ericet.xyz

Evmos Olympus测试网提交gentx


Evmos公布了Olympus测试网的细节:

https://evmos.blog/evmos-incentivized-testnet-event-the-mars-meteor-missions-bbbb7ffa1b7c

Olympus测试网时间表:

  • November 17, 2021 14:00 PST: Submissions for gentx are open
  • November 19, 2021 12:00 PST: Submissions for gentx are closed
  • November 19, 2021 14:00 PST: Olympus Mons launches and the Mars Meteor Missions begin!
  • December 10, 2021 12:00 PST: Olympus Mons ends!

现阶段要做的是提交gentx为19号的测试网上线做准备

节点配置:

  • CPU 2GB+
  • 硬盘 200GB以上(节点很费硬盘)

安装GO 1.17

sudo rm -rf /usr/local/go;
curl https://dl.google.com/go/go1.17.linux-amd64.tar.gz | sudo tar -C/usr/local -zxvf - ;
cat <<'EOF' >>$HOME/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOF
source $HOME/.profile

#安装完成后运行以下命令查看版本

go version

安装其他必要的环境

sudo apt-get update -y && sudo apt-get upgrade -y;
sudo apt-get install build-essential -y;

下载源代码并编译

git clone https://github.com/tharsis/evmos
cd evmos && git checkout tags/v0.2.0 -b olympus
make install

安装完成后可以运行 evmosd version --long 检查是否安装成功

evmosd version --long

name: evmos
server_name: evmosd
version: 0.2.0
commit: 9beacf84db808d3f246d01f64ba4ec1c306a897d
build_tags: netgo,ledger
go: go version go1.17 linux/amd64

初始节点

evmosd init <moniker> --chain-id=evmos_9000-2

*<moniker>改成你要设置的名字

如果你用之前跑过测试网的服务器弄,需要先删除原来的gensis.json文件后才能创建新的gensis.json

创建key

evmosd keys add <your key name> 

*<yourKeyName>改成你要设置的钱包名

如果你的服务器跑过之前的测试网,可以跳过,不需要创建key

添加账号到gentx

evmosd add-genesis-account $(evmosd keys show <yourKeyName> -a) 1000000000000aphoton

*<your key name>改成你上面设置的钱包名

创建gentx

evmosd gentx <yourKeyName> 1000000000000aphoton --commission-rate=0.1 --commission-max-rate=1 --commission-max-change-rate=0.1 --pubkey $(evmosd tendermint show-validator) --chain-id=evmos_9000-2

*<your key name>改成你上面设置的钱包名

创建成功后,gentx文件会在 /root/.evmosd/config/gentx/目录下

提交gentx

fork一下https://github.com/tharsis/testnets

然后把上面生成的gentx文件命名yourValidatorMoniker.json并上传到/olympus_mons/gentxs 目录下

提个Pull Request就完成了

等待官方合并PR后,19号就可以跑节点了

记得提交gentx截止日期是November 19, 2021 12:00 PST

Like my work??
Don't forget to support or like, so I know you are with me..

CC BY-NC-ND 2.0
2

Want to read more ?

Login with one click and join the most diverse creator community.