create configuration

This commit is contained in:
urban
2023-08-28 06:20:31 +02:00
parent 98e229c3d9
commit 78740fc08e
3 changed files with 17 additions and 3 deletions

7
Messages/logo.txt Normal file
View File

@@ -0,0 +1,7 @@
.|'''.| '|| || '||
||.. ' || .. ... ... ... .. ... || .. .... .. ...
''|||. ||' || || || ||' '' || || .' .|...|| || ||
. '|| || || || || || || ||'|. || || ||
|'....|' .||. ||. '|..'|. .||. .||. .||. ||. '|...' .||. ||. \033[31mpi\033[0m (v 1.0)

View File

@@ -2,5 +2,7 @@
source ./global.sh
source ./utils.sh
p "create new config"
msg logo.txt
p "create a new configuration"
r "Your bitcoin address:" address
python3 ../Tools/address_validation.py $address

View File

@@ -1,5 +1,10 @@
#!/bin/bash
r(){
p $1
read -p " " $2
}
p() {
echo -e " » $1"
}
@@ -30,7 +35,7 @@ gum(){
msg() {
echo ""
echo -e "$(cat ../messages/$1)"
echo -e "$(cat ../Messages/$1)"
echo ""
}