Post
Topic
Board Bitcoin Discussion
Re: Bitcoin puzzle transaction ~32 BTC prize to who solves it
by
fantom06
on 18/04/2025, 12:09:21 UTC
how to run on linux

Code:
sudo apt update
Code:
sudo apt install build-essential g++ git make ibgmp-dev libmpfr-dev libmpc-dev libisl-dev

Code:
git clone https://github.com/NoMachine1/WIFHunter.git WIF
Cloning into 'WIF'...
remote: Enumerating objects: 17, done.
remote: Counting objects: 100% (17/17), done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 17 (delta 2), reused 0 (delta 0), pack-reused 0 (from 0)
Receiving objects: 100% (17/17), 5.74 MiB | 6.41 MiB/s, done.
Resolving deltas: 100% (2/2), done.

Code:
cd WIF
Code:
make

g++   -m64 -std=c++17 -mssse3 -msse4.1 -Ofast -Wall -Wextra -funroll-loops -ftree-vectorize -fstrict-aliasing -fno-semantic-interposition -fno-exceptions -fno-rtti -flto -pthread -mavx2 -mbmi2 -madx -fPIC -MMD -MP -c WIFHunter.cpp -o WIFHunter.o
g++   -m64 -std=c++17 -mssse3 -msse4.1 -Ofast -Wall -Wextra -funroll-loops -ftree-vectorize -fstrict-aliasing -fno-semantic-interposition -fno-exceptions -fno-rtti -flto -pthread -mavx2 -mbmi2 -madx -fPIC -MMD -MP -c sha256_avx2.cpp -o sha256_avx2.o
g++   -m64 -std=c++17 -mssse3 -msse4.1 -Ofast -Wall -Wextra -funroll-loops -ftree-vectorize -fstrict-aliasing -fno-semantic-interposition -fno-exceptions -fno-rtti -flto -pthread -mavx2 -mbmi2 -madx -fPIC WIFHunter.o sha256_avx2.o -o WIFHunter -mavx2 -mbmi2 -madx -pthread
make[1]: Entering directory 'WIF'
rm -f WIFHunter.o sha256_avx2.o WIFHunter.d sha256_avx2.d
make[1]: Leaving directory 'WIF'

Code:
python3 WIFHunter.py
[2025-04-18 13:09:13]  Starting scan for prefix: KyNuLW
[2025-04-18 13:09:13]  WIF Hunter
[2025-04-18 13:09:13]  CHECKING WIF PREFIX KwDiBf:
[2025-04-18 13:09:19]  Progress = 0.34 % [24.08 Mkeys/sec]
[2025-04-18 13:09:24]  Progress = 0.69 % [23.93 Mkeys/sec]
[2025-04-18 13:09:30]  Progress = 1.03 % [23.66 Mkeys/sec]
[2025-04-18 13:09:36]  Progress = 1.38 % [23.57 Mkeys/sec]
[2025-04-18 13:09:40] [W] KwDiBfA5gyPhjEhKnhXJuH7LrciVrZi3qYjgd9M7rFU73sVHnoWn
[2025-04-18 13:09:42]  Progress = 1.72 % [23.81 Mkeys/sec]
[2025-04-18 13:09:47]  Progress = 2.07 % [23.60 Mkeys/sec]
[2025-04-18 13:09:53]  Progress = 2.41 % [23.87 Mkeys/sec]
[2025-04-18 13:09:59]  Progress = 2.76 % [23.62 Mkeys/sec]
[2025-04-18 13:10:05]  Progress = 3.10 % [23.40 Mkeys/sec]
[2025-04-18 13:10:10]  Progress = 3.45 % [23.58 Mkeys/sec]
[2025-04-18 13:10:16]  Progress = 3.79 % [23.07 Mkeys/sec]

-----

Also,  entire script relies on AVX2 instructions (it is hardcoded for AVX2), then you cannot run it on a CPU without AVX2 support.

how to edit for adress 19vkiEajfhuZ8bs8Zu2jgmC6oqZbWqhxhG in WIFHunter.py