This script uses CUDA to mine a specific SHA256 hash prefix using a nonce in the tIME PNG chunk
- Python 43.6%
- Cuda 39.6%
- C 16.8%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .gitignore | ||
| cuda_code.cu | ||
| miner.py | ||
| README.md | ||
| requirements.txt | ||
| sha256_cuda.h | ||
PNG Image SHA256 Hash Miner (CUDA)
Description
This script uses CUDA to mine a specific SHA256 hash prefix using a nonce in the tIME PNG chunk
Installation
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
You'll also need to have the CUDA packages installed for you system of course
Usage
# This took about 10 minutes on a RTX4090, 4 character prefix finishes almost instantly
python miner.py --image cow.png --prefix deadbeef