Skip to content

rkharris12/fpga_bitcoin_miner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fpga_bitcoin_miner

Stratum Bitcoin mining client with support for CPU and FPGA mining. FPGA implementation of Sha256d for the Pynq-Z2 board. https://www.youtube.com/watch?v=M_AocgfvTIs

Requirements

Standard Python modules

Pynq-Z2 board - http://www.pynq.io/board.html

Tool versions

Xilinx Vivado 2019.1

Python 3.6.5

Instructions

Copy the overlays folder to the same directory as fpgaminer.py to match line 115 of fpgaminer.py

Copy the pynq module located in /usr/local/lib/python3.6/dist-packages/pynq to the same directory as fpgaminer.py

run python3 fpgaminer.py -h for command line arguments

To regenerate the Vivado project, open Vivado, cd to the FPGA directory, and run source sha256d.tcl in the TCL command prompt

Results

FPGA Sha256d: 40 Mhashes/sec

Hashlib Sha256d: 17 khashes/sec

Python Sha256d: 67 hashes/sec

Credits

I used these repositories as reference for this project.

https://github.com/progranism/Open-Source-FPGA-Bitcoin-Miner

https://github.com/ricmoo/nightminer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published