Sei 测试网提交gentx

in hive-180932 •  2 years ago 

image.png

Sei的测试网将在7月11日开启,这次的测试网将拿出$SEI代币总量的1%分给参与测试网测试的用户
https://twitter.com/SeiNetwork/status/1545170362605993985?s=20&t=cy9Nr8DH0wRPXCu_OQgm-g

要参与激励网的测试,需要填写: https://docs.google.com/forms/d/e/1FAIpQLSfD-FWT3VrxtYAAmUiwwX5Zbw3mzkZoT6pV0ZAXYqu1yUNtEw/viewform

如果你要参与测试网创世验证人,需要填写: https://docs.google.com/forms/d/e/1FAIpQLSfFm2ATsspXI7Vv915TwoApbFICBjEwW1VXFvK8NyXxCsup_w/viewform

获得测试网创世验证人的好处是,链一上线就是活跃验证人,不需要水水龙头让节点活跃

参与测试网创世验证人,除了需要填写上面的表格,还需要提交gentx

这里写一下生成gentx的过程

安装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;

下载源代码并编译

cd $HOME
git clone https://github.com/sei-protocol/sei-chain.git
cd sei-chain && git checkout 1.0.6beta
make install

安装完成后可以运行 seid version 检查是否安装成功

seid version 

初始节点

seid init <moniker> --chain-id=atlantic-1



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

创建key

seid keys add <your key name> 



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

添加账号到gentx

seid add-genesis-account $(seid keys show <yourKeyName> -a) 10000000usei



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

创建gentx

seid gentx <yourKeyName> 10000000usei \
--chain-id atlantic-1\
--moniker=<moniker>\
--commission-max-change-rate=0.01 \
--commission-max-rate=0.20 \
--commission-rate=0.05 \
--details="<your_validator_description>" \
--website="<your_website>"



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

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

提交gentx

fork一下https://github.com/sei-protocol/testnet
然后把上面生成的gentx文件命名gentx-{VALIDATOR_NAME}.json并上传到testnet/sei-incentivized-testnet/gentx 目录下

提个Pull Request就完成了

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!