Evmos Olympus测试网提交gentx

in hive-180932 •  3 years ago 

image.png

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

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Excellent post

看村长高技术驰骋

  ·  3 years ago 

like!!shop
看不懂 哈哈

  ·  3 years ago (edited)

你好鸭,村长!

@zhangyan-123给您叫了一份外卖!

奶黄包

吃饱了吗?跟我猜拳吧! 石头,剪刀,布~

如果您对我的服务满意,请不要吝啬您的点赞~