Few cosmetic tweaks

This commit is contained in:
Lennart Hansen 2022-04-21 02:14:29 +01:00
parent aa3ba28ea7
commit e44c7ac8ea
2 changed files with 19 additions and 7 deletions

View File

@ -52,6 +52,18 @@ Name: (KingZulo) is now registered to this address (dero1qy3dspltmkakl4gzpfvhc35
``` ```
(PS: If anyone want KingZulo I'm kinda willing to give it up) (PS: If anyone want KingZulo I'm kinda willing to give it up)
## Installation
Install dependencies and run the script with the following command
```
$ sudo apt install libwww-curl-perl libjson-perl -y
$ git clone https://git.mysrv.cloud/MySrv.Cloud/Dero_Name_Service_Cli_Tool.git
$ cd Dero_Name_Service_Cli_Tool
$ ./dero_ns_cli.pl --help
```
## More About Dero ## More About Dero

View File

@ -138,9 +138,9 @@ if ($options{'register'}) {
printf "\rName: (%s) is now registered to this address (%s) - Congratulations!\n", $reg_check->{'name'}, $reg_check->{'address'}; printf "\rName: (%s) is now registered to this address (%s) - Congratulations!\n", $reg_check->{'name'}, $reg_check->{'address'};
last; last;
} else { } else {
printf "\rWaiting for registered to complete [%d/%d]... ", $count, $max_wait; printf "\rWaiting for registration to complete [%d/%d]... ", $count, $max_wait;
} }
die "Something went wrong, it took too long to register.." if $count > $max_wait; die "Something went wrong, it took too long to register!..\n" if $count > $max_wait;
sleep 1; sleep 1;
$count++; $count++;
} }