Skip to content

Instantly share code, notes, and snippets.

@atsiarenia
atsiarenia / auto_stake_rizon.sh
Created July 23, 2021 10:55
Claiming, getting reward from delegation and delegating rewards for Rizon
#!/bin/bash
GREEN_COLOR='\033[0;32m'
RED_COLOR='\033[0;31m'
WITHOU_COLOR='\033[0m'
DELEGATOR_ADDRESS='rizon1_BLA_BLA'
VALIDATOR_ADDRESS='rizonvaloper1_BLA_BLA'
PWD='YOUR_PASSWORD'
DELAY=3600 #in secs - how often restart the script
ACC_NAME=YOU_WALLET_WITHOUT_QUOTES #example: = ACC_NAME=wallet_qwwq_54
NODE=http://localhost:26657 #change it only if you use another rpc port of your node