💲Log your node balance every 1 hour

This script will check your QUIL balance every 1 hour and log it in a CSV file that you can view or download. The CSV file will look like this:

"time","balance"
"26/06/2024 14:00","13,45367"
"26/06/2024 15:00","14,34256"

You can then import it on a Google sheet, divide the data in columns, and run all kind of formulas to calculate daily rewards, averages, growth in % etc.

Your node need to be running for at least 30 minutes before you can check and log the balance, and you need to have already Set up the gRPC calls

Step 1 - install the script

Follow the Safety checks before running this script in your server

wget -O - https://raw.githubusercontent.com/lamat1111/QuilibriumScripts/main/tools/qnode_balance_checker_installer.sh | sh

Step 2 - see or download the balance log

After installing the script, you can view your balance log by running:

cat ~/scripts/balance_log.csv

Or you can download the CSV file directly via this script:

mkdir -p ~/scripts && wget -O ~/scripts/qnode_balance_log_download.sh https://raw.githubusercontent.com/lamat1111/QuilibriumScripts/main/tools/qnode_balance_log_download.sh && chmod +x ~/scripts/qnode_balance_log_download.sh && ~/scripts/qnode_balance_log_download.sh

The second time you want to download it, you just need to run :

 ~/scripts/qnode_balance_log_download.sh

Last updated