October 27, 2022
Универсальный Auto Restake Script для космофорков
После установки космофорка выполняем следующие команды, предварительно исправив значения в <...> (<> тоже убираем)
echo 'export WALLET='<WALLET_NAME> >> $HOME/.bash_profile echo 'export NODE_NAME='<NODE_SCRIPT_NAME> >> $HOME/.bash_profile echo 'export TIKER='<TIKER> >> $HOME/.bash_profile echo 'export ACC_NAME='<MONIKER> >> $HOME/.bash_profile echo 'export PASWD='<YOURPASS> >> $HOME/.bash_profile echo 'export CHAIN_ID='<YOUR_CHAIN_ID> >> $HOME/.bash_profile echo 'export NODE='http://localhost:26657 >> $HOME/.bash_profile echo 'export DELEGATOR='$($NODE_NAME keys show $WALLET -a) >> $HOME/.bash_profile echo 'export VALIDATOR='$($NODE_NAME keys show $WALLET --bech val -a) >> $HOME/.bash_profile echo 'export DELAY='3600 >> $HOME/.bash_profile source $HOME/.bash_profile
Скачиваем универсальный скрипт:
wget https://raw.githubusercontent.com/MrN1x0n/cosmos-restake/main/restake.sh && \ chmod +x restake.sh
sudo apt install screen screen -S scriptRestake
bash restake.sh