# 运行Sei激励测试网节点 **Published by:** [Ericet](https://paragraph.com/@ericet/) **Published on:** 2022-07-12 **URL:** https://paragraph.com/@ericet/sei ## Content image.png昨天Sei激励测试网上线了,选的创世节点基本是之前跑过他们测试网的验证人,所以不知道让其他人填表格提交gentx的意义何在 和其他Cosmos生态的节点稍微有点不同,活跃节点的数量在50个,并且采用轮流制。每几天换一批活跃节点,所以没被选上创世节点也没事,先运行好节点,等被选上活跃节点(具体官方怎么操作不清楚,关注discord吧) 要进入活跃节点的名单,需要填https://docs.google.com/forms/d/e/1FAIpQLSfD-FWT3VrxtYAAmUiwwX5Zbw3mzkZoT6pV0ZAXYqu1yUNtEw/viewform运行节点如果你之前按照我的教程创建了gentx,那可以跳过步骤1-5,从第6步开始1.安装GO 1.17sudo 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 2.安装其他必要的环境sudo apt-get update -y && sudo apt-get upgrade -y; sudo apt-get install build-essential -y; 3.下载源代码并编译cd $HOME git clone https://github.com/sei-protocol/sei-chain.git cd sei-chain && git checkout 1.0.6beta make install 安装完成后可以运行 seid version 检查是否安装成功4.初始节点seid init <moniker> --chain-id=atlantic-1 *改成你要设置的名字5.创建keyseid keys add <your key name> *改成你要设置的钱包名6.下载genesis.json 和addrbook.jsoncurl https://raw.githubusercontent.com/sei-protocol/testnet/master/sei-incentivized-testnet/genesis.json > ~/.sei/config/genesis.json curl https://raw.githubusercontent.com/sei-protocol/testnet/master/sei-incentivized-testnet/addrbook.json > ~/.sei/config/addrbook.json 7.创建后台运行服务sudo tee /etc/systemd/system/seid.service > /dev/null <<EOF [Unit] Description=Sei Testnet After=network-online.target [Service] User=root ExecStart=/root/go/bin/seid start Restart=always RestartSec=3 LimitNOFILE=4096 [Install] WantedBy=multi-user.target EOF 创建好后,更新,开启节点服务sudo -S systemctl daemon-reload sudo -S systemctl enable seid.service sudo -S systemctl start seid.service 上面的命令运行好后,你的节点就开启了 用下面命令查看服务: 查看服务状态systemctl status seid 查看服务日志journalctl -u seid -f 查看节点同步状态seid status 如果catching_up = false 代表节点同步完成8.获得测试币Sei Discord #altantic-1-faucet 里面发!faucet 地址要测试币9.上线验证人等你的节点同步好并且获得测试币后,可以运行下面命令上线你的验证人:seid tx staking create-validator \ --amount=1000000usei \ --pubkey=$(seid tendermint show-validator)\ --moniker=<moniker>\ --chain-id=atlantic-1\ --from=<yourKeyName> \ --commission-rate="0.10" \ --commission-max-rate="0.20" \ --commission-max-change-rate="0.01" \ --min-self-delegation="1" \ --fees="2000usei" *改成你要设置的名字*改成你要设置的钱包名 节点运行好了,等着官方代理一些注意事项测试网的出块速度比较快(0.7秒一块), 所以推荐用SSD,不然读写速度太慢影响出块官方推荐1TB的存储有点过大,因为测试网基本没多少交易,估计500GB就足够了一些链接测试网任务:https://3pgv.notion.site/All-Testnet-Missions-16c0a40320244c24b0bc3f663c0cf00b?v=545d9a9850334d618c59cb5de3e33bbb测试网浏览器:https://sei.explorers.guru/官方节点部署指南: https://docs.seinetwork.io/nodes-and-validators/seinami-incentivized-testnet/joining-incentivized-testnet ## Publication Information - [Ericet](https://paragraph.com/@ericet/): Publication homepage - [All Posts](https://paragraph.com/@ericet/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@ericet): Subscribe to updates - [Twitter](https://twitter.com/ericet369): Follow on Twitter