Archway前几天宣布将在4月11日开始有激励的测试网测试并为期30天: https://blog.archway.io/announcing-archways-incentivized-testnet-augusta-8152d2d8f773
用户可以通过以下方式获得激励:
- 节点测试(Torii)
- 功能测试
- 创建dApps和工具
- 写文推广
目前有激励的测试网Torii还没上线,但是无激励的测试网Augusta目前正在进行中。我们可以先开始熟悉一下Augusta的节点搭建,方便后面的测试
官方的文档:https://docs.archway.io/docs/validator/overview
说实在的,按照文档来坑挺多的,而且不知道为什么把链的github库隐藏了,所以不能直接从源代码里面编译,只能用官方编译好的docker运行
安装Docker
如果有了,就跳过这一步
sudo apt install docker.io
下载archwayd Docker镜像
docker pull archwaynetwork/archwayd:augusta
设置archwayd快捷方式
echo "alias archwayd='docker run --net=host --rm -it -v ~/.archway:/root/.archway archwaynetwork/archwayd:augusta'" >> ~/.bashrc
source ~/.bashrc
初始节点
archwayd init <moniker>
*<moniker>
改成你要设置的验证人名字
创建Key
archwayd keys add <your key name>
下载genesis.json
export RPC_URL="https://rpc.augusta-1.archway.tech"
curl -s "${RPC_URL}/genesis" | jq '.result.genesis' > ~/.archway/config/genesis.json
添加Seeds
export SEEDS="[email protected]:31076,[email protected]:26656"
sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/" ~/.archway/config/config.toml
运行节点
docker run --net=host -d -it -p 1317:1317 -p 26656:26656 -p 26657:26657 \
--name archway \
-v ~/.archway:/root/.archway archwaynetwork/archwayd:augusta \
start \
--x-crisis-skip-assert-invariants
查看日志
docker logs archway -f
查看节点状态
curl localhost:26657/status
水龙头
官方的水龙头坏了,到discord找人要水
上线验证人
等你的节点同步好后,可以运行下面命令上线你的验证人:
export AMOUNT=100000uaugust
export VALIDATOR_MONIKER=<your validator name>
export KEY_NAME=<your wallet name>
export CHAIN_ID=augusta-1
export PUB_KEY=`docker exec -it archway archwayd tendermint show-validator`
docker exec -it archway \
archwayd tx staking create-validator \
--amount $AMOUNT \
--from $KEY_NAME \
-s 1 \
--commission-max-change-rate "0.01" \
--commission-max-rate "0.20" \
--commission-rate "0.01" \
--min-self-delegation "1" \
--pubkey $PUB_KEY \
--moniker $VALIDATOR_MONIKER \
--chain-id $CHAIN_ID \
--gas auto \
--fees 1uaugust
一些命令
- 查看账号余额
archwayd q bank balances <wallet address>
或者
docker exec -it archway archwayd q bank balances <wallet address>
- 查看节点状态
curl localhost:26657/status
或者archwayd status
Hello friend! Get double cashback every day! Vote for the witnesses @steemit-market and @alexmove.witness and enjoy life! Good luck!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit