Following along with https://medium.com/geekculture/blockchain-explained-in-50-lines-of-code-1dbf4eda0201