BitcoinBruteForcer icon indicating copy to clipboard operation
BitcoinBruteForcer copied to clipboard

how to compile

Open MAITHI19 opened this issue 3 years ago • 7 comments

hello sir please upload script with make file to compile

MAITHI19 avatar Jul 20 '22 07:07 MAITHI19

Here you can find the compiled program for Windows: https://github.com/ViktYusk/BitcoinBruteForcer/releases/tag/220604

ViktYusk avatar Jul 20 '22 08:07 ViktYusk

please send command to run this file and cyzwin or cmd i must use this please help

MAITHI19 avatar Jul 20 '22 08:07 MAITHI19

Just download bitcoin_brute_forcer_windows.rar, unzip it, and run bitcoin_brute_forcer.exe.

ViktYusk avatar Jul 20 '22 09:07 ViktYusk

I'm getting error when I open in cmd or cycling [E] There are two required parameters

MAITHI19 avatar Jul 20 '22 09:07 MAITHI19

Oh, I see. Run the command in cmd (for example): bitcoin_brute_forcer 000000000000000000000000000000000000000000000000FC9602C 3EE4133D

000000000000000000000000000000000000000000000000FC9602C is the prefix of a hex private key, 3EE4133D is the prefix of a decoded address. Read the project description for details.

ViktYusk avatar Jul 20 '22 10:07 ViktYusk

hello sir please share me download link with make file I will compile freshly and try to run

MAITHI19 avatar Jul 20 '22 10:07 MAITHI19

Makefile for AMD Ryzen 9 7950X3D (Debian 11)

CXX = g++
CXXFLAGS = -std=c++11 -m64 -march=native -mtune=native  -msse2 -msse3 -msse4 -msse4.1 -msse4.2 -msse4a -mavx  -pthread -O2 -I.

SRCS = sha256.cpp ripemd160.cpp key.cpp point.cpp main.cpp test.cpp
OBJS = $(SRCS:.cpp=.o)
EXEC = bitcoin_brute_forcer

all: $(EXEC)

$(EXEC): $(OBJS)
	$(CXX) $(CXXFLAGS) $^ -o $@

%.o: %.cpp
	$(CXX) $(CXXFLAGS) -c $< -o $@

clean:
	rm -f $(OBJS) $(EXEC)


The presence of SSE4.1 and SSE4.2 instruction sets can be particularly beneficial for cryptographic operations, as they include instructions that can accelerate certain mathematical operations required for SECPK1 calculations. You can experiment with these flags for cryptographic workloads.

Effectiveness of this flag depends on the specific algorithms and code you are working with. It's a good practice to benchmark code with and without the flag

mikorist avatar Dec 29 '23 12:12 mikorist