July 26, 2022
Stride Incentivized Testnet
Статус тестнета: можно участвовать
Validator setup instructions
https://stride.explorers.guru
Маленькое примечание. Нода на Cosmos'е, поэтому может не дружить с Defund, Aptos и космосоподобным тварям...
Требования к серверу
Minimum
- 4x CPUs; the faster clock speed the better
- 8GB RAM
- 100GB of storage (SSD or NVME)
- Permanent Internet connection (traffic will be minimal during mainnet; 10Mbps will be plenty - for production at least 100Mbps is expected)
Recommended
- 4x CPUs; the faster clock speed the better
- 32GB RAM
- 200GB of storage (SSD or NVME)
- Permanent Internet connection (traffic will be minimal during mainnet; 10Mbps will be plenty - for production at least 100Mbps is expected)
Установка
Скрипт установки
wget -O stride.sh https://raw.githubusercontent.com/MrN1x0n/stride/main/stride.sh && chmod +x stride.sh && ./stride.sh
p.s. если кошелек не создастся сразу, то необходимо ввести соответствующую команду из раздела "Полезные команды"
Запросить токены можно в кране в Discord сервере проекта
Полезные команды
Управление нодой
journalctl -fu strided -o cat
sudo systemctl start strided
sudo systemctl stop strided
sudo systemctl restart strided
Node info
strided status 2>&1 | jq .SyncInfo
strided status 2>&1 | jq .ValidatorInfo
strided status 2>&1 | jq .NodeInfo
strided tendermint show-node-id
Операции с кошельком
strided keys add wallet
strided keys list
strided keys add $WALLET --recover
strided keys delete $WALLET
strided query bank balances $STRIDE_WALLET_ADDRESS
strided tx bank send $STRIDE_WALLET_ADDRESS <TO_STRIDE_WALLET_ADDRESS> 10000000ustrd
Голосование
strided tx gov vote 1 yes --from $WALLET --chain-id=$STRIDE_CHAIN_ID
Стейкинг, делегирование, награды
strided tx staking delegate $STRIDE_VALOPER_ADDRESS 10000000ustrd --from=$WALLET --chain-id=$STRIDE_CHAIN_ID --gas=auto
Переделегировать ноды с одного валидатора на другого
strided tx staking redelegate <srcValidatorAddress> <destValidatorAddress> 10000000ustrd --from=$WALLET --chain-id=$STRIDE_CHAIN_ID --gas=auto
strided tx distribution withdraw-all-rewards --from=$WALLET --chain-id=$STRIDE_CHAIN_ID --gas=auto
Забрать все награды с комиссиями
strided tx distribution withdraw-rewards $STRIDE_VALOPER_ADDRESS --from=$WALLET --commission --chain-id=$STRIDE_CHAIN_ID
Управление валидатором
strided tx staking edit-validator \ --moniker=$NODENAME \ --identity=<your_keybase_id> \ --website="<your_website>" \ --details="<your_validator_description>" \ --chain-id=$STRIDE_CHAIN_ID \ --from=$WALLET
strided tx slashing unjail \ --broadcast-mode=block \ --from=$WALLET \ --chain-id=$STRIDE_CHAIN_ID \ --gas=auto
Удалить ноду
Удаляет ноду полностью. Не забудь сделать бекап!
sudo systemctl stop strided sudo systemctl disable strided sudo rm /etc/systemd/system/stride* -rf sudo rm $(which strided) -rf sudo rm $HOME/.stride* -rf sudo rm $HOME/stride -rf sed -i '/STRIDE_/d' ~/.bash_profile