Files
hush3/contrib/gen-zaddrs.pl
2024-02-27 23:59:59 +01:00

18 lines
348 B
Perl
Executable File

#!/usr/bin/env perl
# Copyright 2019-2024 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++;
}