Files
shurikenpi.io/Scripts/create_configuration.sh
2023-08-29 23:27:01 +02:00

18 lines
477 B
Bash
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
source ./global.sh
source ./utils.sh
msg logo.txt
p "We will create a new configuration"
r "Your bitcoin address:" address
#python3 ../Tools/address_validation.py $address
echo -e " \033[33m?\033[0m Which mining pool would you like to use?"
mining_pool=$(gum choose --cursor=    public-pool.io solo.ckpool.org custom)
p_user $mining_pool
if [[ $mining_pool == "custom" ]]; then
r "Mining pool stratum URL:" $mining_pool
fi
echo "->" $mining_pool