Skip to content

moffa13/WalletMiner

Repository files navigation

WalletMiner

This is a random multithread wallet miner for Bitcoin.

It generates a random 32 bytes bitcoin address and uses ECDSA followed by SHA256 and ripemd160 to generate the public address. The address is then checked against a balance file containing all non-null bitcoin addresses and writes the private key followed by the balance if there is a match.

Note that there is 2^256 or 16^64 possibilities which is equal to ~1 x 10^77 This is very unlikely to work.

How to run it

Download the database dump containing the balances of all the used addresses. This can be found here: https://gz.blockchair.com/bitcoin/addresses/

The file needs to be sorted. Run the python tool

python latest_balances_sort.py blockchair_bitcoin_addresses_latest.tsv

Finally run the program with the balance file as argument:

WalletMiner.exe M:\blockchair_bitcoin_addresses_latest_sorted.tsv

Build for Linux

sudo apt-get install -Y g++ libssl-dev libsecp256k1-dev

./make.sh

Finally run the program with the balance file as argument:

./WMiner /home/blockchair_bitcoin_addresses_latest_sorted.tsv

Build for macOS

brew tap cuber/homebrew-libsecp256k1
brew install libsecp256k1
brew install openssl
g++ -I"./third-party/openssl/include" -I"./third-party/secp256k1/include" -L"/opt/homebrew/lib" -L"/opt/homebrew/opt/openssl/lib" -pthread --std="c++17" "./WalletMiner/WalletMiner.cpp" -lsecp256k1 -lcrypto -lssl -o ./WMiner

Finally run the program with the balance file as argument:

./WMiner /Users/x/Desktop/blockchair_bitcoin_addresses_latest_sorted.tsv

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published