blackhox / scriptsCosmoSDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ReStaking script - auto claiming and delegating rewards

1. Download the script from my repository:

wget https://raw.githubusercontent.com/blackhox/scriptsCosmoSDK/main/restakingXXX.sh

2. Give the permissions to this file:

chmod +x restakingXXX.sh

3. Edit this script with your credentials -> change these parameters:

nano restakingXXX.sh

DELEGATOR='Your delegator address' ;

VALIDATOR='Your validator address' ;

PASWD='pass phrase from cli' ;

DELAY=3600 #in secs - how often restart the script ;

ACC_NAME=YourWalleName

Don't forget to change:

--chain-id

--fees XXX{token designation}

4. Open the screen or tmux session:

 sudo apt install screen

 screen -S Autoscript
# tmux new-session -s Autoscript

5. Run auto claiming and delegating rewards:

bash restakingXXX.sh
  1. Enjoy it :)

Auto UNJAIL script

1. Download the script from my repository:

wget https://github.com/blackhox/scriptsCosmoSDK/blob/main/UNjail.sh

2. Give the permissions to this file:

chmod +x UNjail.sh

3. Edit this script with your credentials -> change these parameters:

nano UNjail.sh

PASWD='pass phrase from cli' ;

DELAY=3600 #in secs - how often restart the script ;

ACC_NAME=YourWalleName

CHAIN=Name Chain

PROJECT=Binary file name (umeed, evmosd, etc)

TOKEN_NAME=Name ticker (uumee, aphoton, etc)

--fees XXX{token designation}

4. Open the screen or tmux session:

 sudo apt install screen

 screen -S Autoscript
# tmux new-session -s Autoscript

5. Run auto claiming and delegating rewards:

bash UNjail.sh
  1. Enjoy it :)

Autoping script - auto ping pool Near testnet

1. Download the script from my repository:

wget https://raw.githubusercontent.com/blackhox/scriptsCosmoSDK/main/pingnNear.sh

2. Give the permissions to this file:

chmod +x pingnNear.sh

3. Edit this script with your credentials -> change these parameters:

nano pingnNear.sh

pool='NAME.pool.f863973.m0' ;

account='Your accountId' ;

DELAY=3600 #in secs - how often restart the script ;

4. Open the screen or tmux session:

 sudo apt install screen

 screen -S Autoscript
# tmux new-session -s Autoscript

5. Run auto ping

bash pingnNear.sh
  1. Enjoy it :)

About


Languages

Language:Shell 100.0%