Post
Topic
Board Bitcoin Discussion
Re: Bitcoin puzzle transaction ~32 BTC prize to who solves it
by
Nodemath
on 22/05/2025, 15:47:23 UTC

Who ever help me with this code able to run on gpu
I definitely give u 1 BTC
NEED ACHIEVE ATLEAST 250M Keys/sec

#include <stdio.h>
#include <cuda.h>
#include "secp256k1.h"
#include "sha256.h"
#include "ripemd160.h"

__global__ void hash(stuff) {

    secp(stuff);
    sha256(stuff);
    ripemd160(stuff);
}

int main() {
     allocate host memory array
     allocate cuda memory
     open file and put in host array

     cuda memcpy host to device

    hash<<<1,1>>>(stuff);

    cuda memcpy device to host

   printf("%X\n", stuff);
}

now just add incremental threading and actual code.

I tried it's showing me a lot errors on it