This code illustrates building a simple blockchain. Here is the original colab.
- hashlib
- datetime
Dependencies can be installed using pip. However, you can run this directly in colab so there is no requirement to install anything.
You can download the juypter notebook and run it locally. Also, here is the colab link to run it in the browser (recommended).
The credits for the original code go to howcodeORG.