Add gen-zaddrs.pl and improve docs
This commit is contained in:
17
contrib/gen-zaddrs.pl
Executable file
17
contrib/gen-zaddrs.pl
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env perl
|
||||
# Copyright 2019-2022 The Hush developers
|
||||
# Released under the GPLv3
|
||||
use warnings;
|
||||
use strict;
|
||||
|
||||
my $hush = "./src/hush-cli";
|
||||
my $znew = "$hush z_getnewaddress";
|
||||
my $count = 1;
|
||||
my $howmany = shift || 50;
|
||||
|
||||
while ($count < $howmany) {
|
||||
my $zaddr = qx{$znew};
|
||||
chomp($zaddr);
|
||||
print qq{$zaddr\n};
|
||||
$count++;
|
||||
}
|
||||
Reference in New Issue
Block a user