Click here for important information about Computing.net.

Access GekkoScience ASIC with python

Clone / X
December 20, 2020 at 04:38:43
Specs: w7 64bit, i3 8G
This works but hashlib is too slow

===================================

import bitcoin, time
from hashlib import sha256

def genaddr (w) :
  x = ( sha256 ( w.encode ('utf-8') ) .hexdigest() )
  p = bitcoin.privtopub( x )
  privkey = bitcoin.encode_privkey( x , 'wif_compressed' )
  pubkey = bitcoin.privtopub ( privkey )
  ca = ( bitcoin.pubtoaddr ( pubkey ) )
  print ( ca,'\n' )
  print ( privkey,'\n' )

n = 0
for i in range ( 1 ) :
  n += 1
  w = str ( n )
  genaddr ( w )


=====================

M2


See More: Access GekkoScience ASIC with python


#1
December 22, 2020 at 20:33:33
I guess the python helpers have left the building


=====================

M2


Reply ↓  Report •
Related Solutions


Ask Question