Check local addresses using vanitygen?

First of all, I am aware of the huge vast space of Bitcoin keys. However, I was experimenting with Vanitygen these days, and I was wondering if all the generated addresses in it were directly ported to the local server that was running the compiled blockchain, instead of writing them to a file, there would be no possibly?

1. With the current vanitygen source, is it possible to directly delete chunks of addresses on the local server (say "discernment") and check for positive balance?

How would you start with this?

Thanks in advance.

Here is my PHP code (feel free to use it)

<?php    


$lines = file('in.csv', FILE_IGNORE_NEW_LINES);
$i=0;
foreach ($lines as $line_num => $line) {

$address = explode(',', $line);

$variablee = file_get_contents($address[0]);

$i++;


if($variablee!="0"){

$file = 'out.txt';

$current = file_get_contents($file);

$current .= $line;

file_put_contents($file, $current);



    }

echo "\n".$i;
}    
?>

      

Update. There is only one issue here: direct vanitygen generated addresses directly to the local server running the compiled blockchain, not writing to a file . The code shown above runs as fast as 1000 addresses / second, while I've heard people check as much as 50K addresses / second for a positive balance. I've tried using cwebsocket from here but can't find a way to implement it in vanitygen

Update: my code is currently checking about 1000 addresses / second

+3


source to share


1 answer


To import addresses, you want to format the private key to "Wallet Import Format" or "WIF".

See: https://en.bitcoin.it/wiki/Wallet_import_format



A native client will want to re-index the whole chain for each address if you are importing client-based key pairs.

Their own client also has a limit on the number of addresses that he will track.

0


source







All Articles