Cosmetic changes

This commit is contained in:
Lennart Hansen 2022-04-21 03:52:44 +01:00
parent 59ce292f90
commit b1ea9ab418
2 changed files with 11 additions and 24 deletions

View File

@ -5,7 +5,7 @@ This tool allows you to easily, check one or more names if they are free to be r
## Usage
Please example usage below
Please see example usage below
### Check if name is already registered
@ -18,10 +18,8 @@ $ ./dero_ns_cli.pl --name KingZulo
Dero Name Service Cli Tool - register name to wallet
Name: (KingZulo) is FREE to register
```
### Check if list of names are already registered
```
$ cat list
@ -41,17 +39,18 @@ Name: (Hansen33) is taken by this address (dero1qy3dspltmkakl4gzpfvhc35kxxqpp2yp
### Register name to your wallet
```
./dero_ns_cli.pl --name KingZulo --register
$ ./dero_ns_cli.pl --name KingZulo --register
Dero Name Service Cli Tool - register name to wallet
Name: (KingZulo) is FREE - and will be registered in a little while
Checking wallet RPC (127.0.0.1:10103)
Wallet connected (127.0.0.1:10103)
Name: (KingZulo) registered on the DERO Stargate with TXT ID (5f0abf21b897dc432a52633cdcbb47d68fde749a18b58764f39a696bd6eabb88)
Name: (KingZulo) registered on the DERO Stargate with TX ID (5f0abf21b897dc432a52633cdcbb47d68fde749a18b58764f39a696bd6eabb88)
Name: (KingZulo) is now registered to this address (dero1qy3dspltmkakl4gzpfvhc35kxxqpp2ypd9ehz72puyxhgs0sqglj6qgqt28kd) - Congratulations!
```
(PS: If anyone want KingZulo I'm kinda willing to give it up)
## Installation
Install dependencies and run the script with the following command
@ -64,28 +63,16 @@ $ ./dero_ns_cli.pl --help
```
## More About Dero
Dero - Stargate
[https://dero.io/](https://dero.io/)
[https://github.com/deroproject/derohe/](https://github.com/deroproject/derohe/)
Dero Stargate
* [https://dero.io/](https://dero.io/)
* [https://github.com/deroproject/derohe/](https://github.com/deroproject/derohe/)
## More Dero Smart Contracts Used Here
[Nameservice](https://docs.dero.io/rtd_pages/dev_dvm.html#nameservice)
[DVM Example](https://github.com/deroproject/documentation/tree/master/DVMDOCS/examples/nameservice)
# Donations
I do this for fun, but I'm also skint trying to make a living in crypto, I know I will get there on day with enough hard work and dedication,
but in the meantime, if you wish to send a few coins my way to help me along then please do it, it would be much appreciated!
Dero: dero1qy3dspltmkakl4gzpfvhc35kxxqpp2ypd9ehz72puyxhgs0sqglj6qgqt28kd
XMR: 43nN39bc4MvLNSpoLDQV6edZ3V6QoHH7GbKRVDcGZH7hJNsMSrtDgBkdJWo8GTVx84a7QRkFEh9M1iYjv55YrPDWAmRZj9u
WOW WW4MfTxTyi81GGEFi3KYY4HuhjAJsY59idRDWqsHexFKdVmP5NoQKEthP5WAsG7rypDLcKVaVdkKtYvUgrDZF5up1wPc3VjEk
* [Nameservice](https://docs.dero.io/rtd_pages/dev_dvm.html#nameservice)
* [DVM Example](https://github.com/deroproject/documentation/tree/master/DVMDOCS/examples/nameservice)

View File

@ -122,7 +122,7 @@ if ($options{'register'}) {
my $reg = register($name);
if (defined $reg and $reg->{'result'}) {
printf "Name: (%s) registered on the DERO Stargate with TXT ID (%s)\n", $name, $reg->{'result'}->{'txid'};
printf "Name: (%s) registered on the DERO Stargate with TX ID (%s)\n", $name, $reg->{'result'}->{'txid'};
} else {
print "Error, something went wrong!\n";
print Dumper($reg);