I came across a similar question that was asked but the answer didn't seem quite complete. Coding is completely foreign to me and I have spent some time trying to solve with no success. I am trying to increase the difficulty by getting 8 leading 0s and the corresponding nonce for the initial hash (no previous blocks) in python. Any direction here is appreciated
import hashlib
m = hashlib.sha256()
m.update(b'Your Name')
m.digest()
m.hexdigest()
'9cd26bee4d76694cb03cfee8c2355a83339157f2e9234fd1352c12597da72474'