Quick and (very) dirty code to express and understand some fundamental ideas from Haseeb's exellent Cryptocurrency primer.
Most of the code here was written in minutes, for when I had some free time. Dont' use this in production. For anything. Ever. No warranties. This exercise is for my own amusement.